MCPcopy Create free account
hub / github.com/crownengine/crown / init

Method init

src/device/pipeline.cpp:103–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101 float z;
102
103 static void init()
104 {
105 pos_layout.begin();
106 pos_layout.add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float);
107 pos_layout.end();
108 }
109
110 static bgfx::VertexLayout pos_layout;
111};

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
addMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected