Hydra material implementation in Hydrogent. More...
#include <HnMaterial.hpp>
Classes | |
struct | TextureCoordinateSetInfo |
Texture coordinate set info. More... | |
Public Types | |
using | ShaderTextureIndexingIdType = Uint32 |
Public Member Functions | |
ShaderTextureIndexingIdType | GetStaticShaderTextureIndexingId () const |
Static Public Member Functions | |
static RefCntAutoPtr< IObject > | CreateSRBCache () |
Creates an SRB cache that should be passed to UpdateSRB(). | |
static const PBR_Renderer::StaticShaderTextureIdsArrayType & | GetStaticShaderTextureIds (IObject *SRBCache, ShaderTextureIndexingIdType Id) |
Returns the static shader texture indexing for the given identifier. | |
Hydra material implementation in Hydrogent.
Static shader texture indexing identifier, for example: 0 -> {0, 0, 0, 1, 1, 2} 1 -> {0, 1, 0, 1, 2, 2}
|
inline |
Returns the static shader texture indexing identifier that can be passed to GetStaticShaderTextureIds() to get the shader texture indices for this material.