Struct MaterialBindings

Struct Documentation

struct MaterialBindings

Legacy engine-semantic to GLSL uniform mapping; empty names omit unused roles.

Public Members

std::string projection = "projectionMatrix"

Projection uniform; bind_pass selects the program before updating it.

std::string view = "viewMatrix"

View uniform; omitted when empty.

std::string model = "modelMatrix"

Model uniform used by bind_draw.

std::string alpha = "in_Alpha"

Floating alpha uniform; no CPU clamping.

std::string scale = "in_Scale"

Floating scale uniform; shader determines units.

std::string texture = "mytexture"

Legacy signed sampler-unit uniform.