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

Function NewVertexStreamDeclaration

engine/graphics/src/graphics.cpp:600–607  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

598 }
599
600 HVertexStreamDeclaration NewVertexStreamDeclaration(HContext context)
601 {
602 VertexStreamDeclaration* sd = new VertexStreamDeclaration();
603 memset(sd, 0, sizeof(*sd));
604
605 sd->m_Streams.SetCapacity(8);
606 return sd;
607 }
608
609 HVertexStreamDeclaration NewVertexStreamDeclaration(HContext context, VertexStepFunction step_function)
610 {

Callers 12

CreateVertexDeclarationsFunction · 0.85
InitializeDebugRendererFunction · 0.85
CreateVertexDeclarationFunction · 0.85
CompGuiNewWorldFunction · 0.85
CompModelNewWorldFunction · 0.85
TileGridWorldAllocateFunction · 0.85
BuildVertexDeclarationFunction · 0.85
TEST_FFunction · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85
InitializeMethod · 0.85

Calls 1

SetCapacityMethod · 0.45

Tested by 4

TEST_FFunction · 0.68
InitializeMethod · 0.68
InitializeMethod · 0.68
InitializeMethod · 0.68