Struct PipelineBindings

Struct Documentation

struct PipelineBindings

Explicit GLSL names; all active uniforms must be covered and active attributes must match the selected layout.

Public Members

std::vector<ParameterBinding> parameters

One explicit mapping for every public contract key.

std::string position_attribute = "in_Position"

Active position must be vec3 at location 0.

std::string uv_attribute = "in_Texcoord"

Active UV must be vec2 at location 1.

std::string color_attribute = "in_Color"

Active color must be vec4 at location 2 for the colored layout.