| 48 | } |
| 49 | |
| 50 | void 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 | |
| 59 | void GuiBuffer::reset() |
| 60 | { |
no test coverage detected