mirror of
https://github.com/iritmaximus/galaxy-engine.git
synced 2026-10-12 19:13:41 +03:00
11 lines
242 B
C++
11 lines
242 B
C++
#include "bgfx/bgfx.h"
|
|
|
|
#include "vertex.h"
|
|
|
|
void PosColVertex::init() {
|
|
this->layout.begin()
|
|
.add(bgfx::Attrib::Position, 3, bgfx::AttribType::Float)
|
|
.add(bgfx::Attrib::Color0, 4, bgfx::AttribType::Uint8, true)
|
|
.end();
|
|
}
|