|
API Documentation
|
|
|
582 virtual bool load ()
override ;
THREE_CHANNEL_PACK getEnvironmentTextureChannels() const
THREE_CHANNEL_PACK getSpecularTextureChannels() const
bool getMixMetalnessFactorAndTexture() const
nkGraphics::Texture * getMetalnessTexture() const
nkGraphics::Texture * getEmissiveTexture() const
void setLightColor(const nkMaths::Vector &value)
nkMemory::StringView getNormalAttributeName() const
bool getMixEmissiveColorAndTexture() const
ONE_CHANNEL_PACK getMetalnessTextureChannels() const
void setIrradianceTextureIsCubeByDefault(bool value)
Offers all controls to model a camera.
Definition: Camera.h:14
void setLightDirection(const nkMaths::Vector &value)
nkMaths::Vector getEmissiveColor() const
bool getIrradianceTextureIsCubeByDefault() const
THREE_CHANNEL_PACK getAlbedoTextureChannels() const
A texture used for rendering, hosted on GPU.
Definition: Texture.h:35
nkGraphics::Texture * getRoughnessGlossinessTexture() const
nkMaths::Vector getLightColor() const
void setMetalness(float value)
void setMixMetalnessFactorAndTexture(bool value)
nkGraphics::Texture * getNormalMapTexture() const
void setEmissiveColor(const nkMaths::Vector &value)
A Physically Based Shading material.
Definition: PbsMaterial.h:15
THREE_CHANNEL_PACK
Enumeration of texture channels, packed by three. The channel order is encoded in each value,...
Definition: ThreeChannelPack.h:13
ONE_CHANNEL_PACK getOcclusionTextureChannels() const
void setMixAlbedoColorAndTexture(bool value)
nkMaths::Vector getAlbedoColor() const
THREE_CHANNEL_PACK getNormalMapTextureChannels() const
Exposes parameters for the shadow map setup in materials and effects supporting it.
Definition: ShadowMapParameters.h:12
float getRoughnessGlossiness() const
nkGraphics::Texture * getAlbedoTexture() const
The main entry point for nkAstraeus engine.
Definition: System.h:15
nkGraphics::Camera * getShadowMapCamera() const
ONE_CHANNEL_PACK getRoughnessGlossinessTextureChannels() const
PbsMaterial(System *system) noexcept
virtual void exportClassToTree(nkExport::Node *rootNode) override
void setEnvironmentColor(const nkMaths::Vector &value)
nkMaths::Vector getLightDirection() const
THREE_CHANNEL_PACK getIrradianceTextureChannels() const
void setEmissiveTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
void setOcclusionTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)
bool getMixSpecularColorAndTexture() const
nkMemory::StringView getTexCoordAttributeName() const
nkGraphics::Texture * getEnvironmentTexture() const
void setRoughnessGlossinessTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)
nkMemory::StringView getBinormalAttributeName() const
void setMixSpecularColorAndTexture(bool value)
void setIrradianceTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
A node in the tree structure representing the data to export / import.
Definition: Node.h:42
nkGraphics::Texture * getAlphaTexture() const
void setTexCoordAttributeName(nkMemory::StringView value)
bool getMixEnvironmentColorAndTexture() const
PBS_MODEL getPbsModel() const
void setAlpha(float value)
void setEnvironmentTextureIsCubeByDefault(bool value)
static nkMemory::UniquePtr< PbsMaterial > create(System *system=nullptr)
bool getMixAlbedoColorAndTexture() const
PBS_MODEL
Lists the available PBS models available.
Definition: PbsModel.h:12
float getMetalness() const
Encompasses all API of component NilkinsAstraeus.
Definition: BlurComplexEffect.h:7
nkGraphics::Texture * getIrradianceTexture() const
Smart pointer owning the object instance it encapsulates.
Definition: UniquePtr.h:17
void setBinormalAttributeName(nkMemory::StringView value)
nkMaths::Vector getSpecularColor() const
void setMixEnvironmentColorAndTexture(bool value)
THREE_CHANNEL_PACK getEmissiveTextureChannels() const
nkMemory::StringView getPositionAttributeName() const
bool getMixRoughnessGlossinessFactorAndTexture() const
Class holding information about a string, with no ownership over the data.
Definition: StringView.h:22
void setAlbedoTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
void setMixAlphaFactorAndTexture(bool value)
void setRoughnessGlossiness(float value)
void setAlbedoColor(const nkMaths::Vector &value)
virtual void importClassFromTree(nkExport::Node *rootNode) override
nkGraphics::Texture * getShadowMapTexture() const
bool getMixAlphaFactorAndTexture() const
void setEnvironmentTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB, bool prefilteredEnv=false)
const ShadowMapParameters & getShadowMapParameters() const
nkGraphics::Texture * getSpecularTexture() const
ONE_CHANNEL_PACK
Enumeration of texture channels, one by one.
Definition: OneChannelPack.h:12
nkMemory::StringView getTangentAttributeName() const
nkGraphics::Texture * getOcclusionTexture() const
bool getEnvironmentTextureIsCubeByDefault() const
virtual bool load() override
void setPbsModel(PBS_MODEL value)
bool getReconstructBinormals() const
void setMixEmissiveColorAndTexture(bool value)
void setSpecularColor(const nkMaths::Vector &value)
Base class for all materials in the component.
Definition: Material.h:16
void setSpecularTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
virtual void unload() override
void setShadowMapTexture(nkGraphics::Texture *value, nkGraphics::Camera *shadowCamera, const ShadowMapParameters ¶meters=ShadowMapParameters())
@ RGB
Red, green, blue channels.
nkMaths::Vector getEnvironmentColor() const
void setNormalMapTexture(nkGraphics::Texture *value, THREE_CHANNEL_PACK channels=THREE_CHANNEL_PACK::RGB)
void setTangentAttributeName(nkMemory::StringView value)
void setReconstructBinormals(bool value)
A 4-component vector class, with floats.
Definition: Vector.h:12
void setMixRoughnessGlossinessFactorAndTexture(bool value)
ONE_CHANNEL_PACK getAlphaTextureChannels() const
void setMetalnessTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)
void setAlphaTexture(nkGraphics::Texture *value, ONE_CHANNEL_PACK channel=ONE_CHANNEL_PACK::A)
void setPositionAttributeName(nkMemory::StringView value)
void setNormalAttributeName(nkMemory::StringView value)