std::vector< VertexElementDescription > ShaderVertexAttributes
Describes all vertex inputs a shader requires like [vec3 position, vec3 normal, vec2 uv]
Represents a linear sRGB color.
A (inclusive) range between two values.
A list of CompiledVertexElement (for shader)
A "compiled" camera for use in rendering.
A utility to draw 3d lines.
LineDrawer(LineDrawer &&)=delete
core::CompiledShaderVertexAttributes layout
void set_camera(const CompiledCamera &cc)
Uniform view_from_world_uni
void operator=(LineDrawer &&)=delete
void operator=(const LineDrawer &)=delete
std::vector< float > data
LineDrawer(const LineDrawer &)=delete
core::ShaderVertexAttributes description
Uniform clip_from_view_uni
void set_line_to_dash(const v2 &resolution, float dash_size, float gap_size)
static constexpr int max_lines
void line(const v3 &world_from, const v3 &world_to, const Lin_rgb &color)
RAII representation of a open gl shader program.