Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::USD::HnMaterial Class Referencefinal

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< IObjectCreateSRBCache ()
 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.
 

Detailed Description

Hydra material implementation in Hydrogent.

Member Typedef Documentation

◆ ShaderTextureIndexingIdType

Static shader texture indexing identifier, for example: 0 -> {0, 0, 0, 1, 1, 2} 1 -> {0, 1, 0, 1, 2, 2}

Member Function Documentation

◆ GetStaticShaderTextureIndexingId()

ShaderTextureIndexingIdType Diligent::USD::HnMaterial::GetStaticShaderTextureIndexingId ( ) const
inline

Returns the static shader texture indexing identifier that can be passed to GetStaticShaderTextureIds() to get the shader texture indices for this material.