Diligent Engine
Loading...
Searching...
No Matches
Diligent::GLTF::MaterialLoadContext Struct Reference

Material loading context. More...

#include <GLTFLoader.hpp>

Public Member Functions

int GetTextureAttributeIndex (const char *Name) const

Detailed Description

Material loading context.

Member Function Documentation

◆ GetTextureAttributeIndex()

int Diligent::GLTF::MaterialLoadContext::GetTextureAttributeIndex ( const char * Name) const

Returns the material texture attribute index in Material.ShaderAttribs for the given texture attribute name, or -1 if the attribute is not defined.