MCPcopy Create free account
hub / github.com/Autodesk/Aurora / MaterialBase

Method MaterialBase

Libraries/Aurora/Source/MaterialBase.cpp:172–181  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

170 StandardSurfaceUniforms, StandardSurfaceDefaultProperties, StandardSurfaceDefaultTextures);
171
172MaterialBase::MaterialBase(
173 const string& name, MaterialShaderPtr pShader, MaterialDefinitionPtr pDef) :
174 _textures(pDef->defaults().textureNames),
175 _pDef(pDef),
176 _pShader(pShader),
177 _uniformBuffer(pDef->defaults().propertyDefinitions, pDef->defaults().properties),
178 _name(name)
179
180{
181}
182
183void MaterialBase::updateBuiltInMaterial(MaterialBase& mtl)
184{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected