API Documentation
Public Attributes | List of all members
nkGraphics::DecodedMaterialData Struct Referencefinal

Holds data about a decoded material. More...

Public Attributes

nkMaths::Vector _ambientColor = nkMaths::Vector(1, 1, 1)
 The ambient color, if any.
 
TextureInformation _ambientTexture
 Information about the ambient texture, if any.
 
nkMaths::Vector _diffuseColor = nkMaths::Vector(1, 1, 1)
 The diffuse color, if any.
 
TextureInformation _diffuseTexture
 Information about the diffuse texture, if any.
 
nkMaths::Vector _specularColor = nkMaths::Vector(1, 1, 1)
 The specular color, if any.
 
TextureInformation _specularTexture
 Information about the specular texture, if any.
 
nkMaths::Vector _emissiveColor = nkMaths::Vector(0, 0, 0)
 The emissive color, if any.
 
TextureInformation _emissiveTexture
 Information about the emissive texture, if any.
 
float _roughnessFactor = 0.5f
 The roughness factor, if any.
 
TextureInformation _roughnessTexture
 Information about the roughness texture, if any.
 
float _metalnessFactor = 0.5f
 The metalness factor, if any.
 
TextureInformation _metalnessTexture
 Information about the metalness texture, if any.
 
float _glossinessFactor = 0.5f
 The glossiness factor, if any.
 
TextureInformation _glossinessTexture
 Information about the glossiness texture, if any.
 
float _occlusionFactor = 1.f
 The occlusion factor, if any.
 
TextureInformation _occlusionTexture
 Information about the occlusion texture, if any.
 
TextureInformation _normalTexture
 Information about the normal texture, if any.
 
float _alphaValue = 1.f
 The global alpha value, if any.
 
TextureInformation _alphaTexture
 Information about the alpha texture, if any.
 

Detailed Description

Holds data about a decoded material.


The documentation for this struct was generated from the following file: