wren
Vulkan-based game engine
Loading...
Searching...
No Matches
wren::gui Namespace Reference

Classes

class  Builder
struct  Element
class  Instance
struct  Vertex

Typedefs

using Colour = wren::math::Vec4f

Variables

const std::array kQuadVertices
const std::vector< uint16_t > kQuadIndices = {0, 2, 1, 0, 3, 2}

Typedef Documentation

◆ Colour

Variable Documentation

◆ kQuadIndices

const std::vector<uint16_t> wren::gui::kQuadIndices = {0, 2, 1, 0, 3, 2}

◆ kQuadVertices

const std::array wren::gui::kQuadVertices
Initial value:
= {
.pos = {-0.5f, -0.5f},
.col = {1, 1, 1, 1},
},
Vertex{
.pos = {0.5f, -0.5f},
.col = {1, 1, 1, 1},
},
.pos = {0.5f, 0.5f},
.col = {1, 1, 1, 1},
},
.pos = {-0.5f, 0.5f},
.col = {1, 1, 1, 1},
},
}
Definition mesh.hpp:20
Definition instance.hpp:14