Expand description
Rust struct types that are compatible with the GLSL std140 memory layout.
Structs
A column vector of 2 boolean values.
A column vector of 3 boolean values.
A column vector of 4 boolean values.
A 32-bit floating point value.
A 32-bit signed integer value.
A column vector of 2 int values.
A column vector of 3 int values.
A column vector of 4 int values.
A matrix with 2 columns and up to 2 rows, represented by 2 vec4 vectors.
A matrix with 3 columns and up to 3 rows, represented by 3 vec4 vectors.
A matrix with 4 columns and up to 4 rows, represented by 4 vec4 vectors.
A 32-bit unsigned integer value.
A column vector of 2 uint values.
A column vector of 3 uint values.
A column vector of 4 uint values.
A column vector of 2 float values.
A column vector of 3 float values.
A column vector of 4 float values.
Enums
A 32-bit boolean value.
Traits
Marker trait for element types supported by the #[std140::uniform]
macro. These types have
specific safety, padding, and alignment requirements.
Marker trait for structs supported by the #[std140::uniform]
macro. These types have specific
safety, padding, and alignment requirements.
Attribute Macros
Macro which configures a structure to act as a std140 uniform for use in shaders.