MCPcopy Create free account
hub / github.com/DiligentGraphics/DiligentFX / GetTextureShaderName

Function GetTextureShaderName

PBR/src/PBR_Renderer.cpp:120–123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

118}
119
120static std::string GetTextureShaderName(PBR_Renderer::TEXTURE_ATTRIB_ID Id)
121{
122 return std::string{"g_"} + GetTextureAttribString(Id) + "Map";
123}
124
125static std::string GetTextureAttribIdString(PBR_Renderer::TEXTURE_ATTRIB_ID Id)
126{

Callers 2

SetMaterialTextureMethod · 0.85
CreateSignatureMethod · 0.85

Calls 1

GetTextureAttribStringFunction · 0.85

Tested by

no test coverage detected