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

Function GetMaterialProgram

engine/render/src/render/material.cpp:406–409  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

404 }
405
406 dmGraphics::HProgram GetMaterialProgram(HMaterial material)
407 {
408 return material->m_Program;
409 }
410
411 void GetMaterialProgramAttributeMetadata(HMaterial material, dmGraphics::VertexAttributeInfoMetadata* metadata)
412 {

Callers 5

TEST_FFunction · 0.85
FinalizeDebugRendererFunction · 0.85
DrawFunction · 0.85
TEST_FFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68