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

Function OutputTextureView

engine/modelc/src/modelimporter_debug.cpp:218–239  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216}
217
218static void OutputTextureView(const char* name, TextureView* p, int indent)
219{
220 if (!p)
221 return;
222 OutputIndent(indent);
223 printf("%s:\n", name);
224 if (p->m_Texture)
225 {
226 OutputIndent(indent+1);
227 printf("texture: %s\n", p->m_Texture->m_Name);
228 }
229
230 OutputValue("tex_coord", p->m_Texcoord, indent);
231 OutputValue("scale", p->m_Scale, indent);
232
233 if (p->m_HasTransform)
234 {
235 OutputIndent(indent+1);
236 printf("transform:\n");
237 OutputTextureTransform(&p->m_Transform, indent+1);
238 }
239}
240
241static void OutputTexture(Texture* texture, int indent)
242{

Callers 9

OutputClearcoatFunction · 0.85
OutputTransmissionFunction · 0.85
OutputSpecularFunction · 0.85
OutputVolumeFunction · 0.85
OutputSheenFunction · 0.85
OutputIridescenceFunction · 0.85
OutputMaterialFunction · 0.85

Calls 3

OutputIndentFunction · 0.85
OutputValueFunction · 0.85
OutputTextureTransformFunction · 0.85

Tested by

no test coverage detected