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

Function DeleteVertexDeclaration

engine/graphics/src/graphics.cpp:643–653  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

641 }
642
643 void DeleteVertexDeclaration(HVertexDeclaration vertex_declaration)
644 {
645 // Free dynamically allocated stream storage if present
646 if (vertex_declaration && vertex_declaration->m_Streams)
647 {
648 delete [] vertex_declaration->m_Streams;
649 vertex_declaration->m_Streams = 0;
650 vertex_declaration->m_StreamCount = 0;
651 }
652 delete vertex_declaration;
653 }
654
655 void HashVertexDeclaration(HashState32* state, HVertexDeclaration vertex_declaration)
656 {

Callers 13

TEST_FFunction · 0.85
CreateVertexDeclarationsFunction · 0.85
DeleteMaterialFunction · 0.85
FinalizeDebugRendererFunction · 0.85
FinalizeTextContextFunction · 0.85
CompMeshSetPropertyFunction · 0.85
CompGuiDeleteWorldFunction · 0.85
CompModelDeleteWorldFunction · 0.85
CompTileGridDeleteWorldFunction · 0.85
BuildVerticesFunction · 0.85
ReleaseResourcesFunction · 0.85

Calls

no outgoing calls

Tested by 2

TEST_FFunction · 0.68
TEST_FFunction · 0.68