MCPcopy Create free account
hub / github.com/defold/defold / OutputTexture

Function OutputTexture

engine/modelc/src/modelimporter_debug.cpp:241–252  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

239}
240
241static void OutputTexture(Texture* texture, int indent)
242{
243 OutputIndent(indent);
244 printf("Texture %d: %s \n", texture->m_Index, texture->m_Name);
245
246 if (texture->m_Image)
247 OutputValue("image", texture->m_Image->m_Name, indent+1);
248 if (texture->m_Sampler)
249 OutputValue("sampler", texture->m_Sampler->m_Name, indent+1);
250 if (texture->m_BasisuImage)
251 OutputValue("basisu_image", texture->m_BasisuImage->m_Name, indent+1);
252}
253
254
255static void OutputPbrMetallicRoughness(PbrMetallicRoughness* p, int indent)

Callers 1

DebugSceneFunction · 0.85

Calls 2

OutputIndentFunction · 0.85
OutputValueFunction · 0.85

Tested by

no test coverage detected