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

Method create

src/world/gui.cpp:50–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48}
49
50void GuiBuffer::create()
51{
52 _pos_tex_col.begin();
53 _pos_tex_col.add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float);
54 _pos_tex_col.add(bgfx::Attrib::TexCoord0, 2, bgfx::AttribType::Float, true);
55 _pos_tex_col.add(bgfx::Attrib::Color0, 4, bgfx::AttribType::Uint8, true);
56 _pos_tex_col.end();
57}
58
59void GuiBuffer::reset()
60{

Callers 8

WorldMethod · 0.45
spawn_unitMethod · 0.45
spawn_empty_unitMethod · 0.45
load_levelMethod · 0.45
reload_unitsMethod · 0.45
load_apiFunction · 0.45
badge_only.jsFile · 0.45
theme.jsFile · 0.45

Calls 3

beginMethod · 0.45
addMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected