Expand description
Defines traits and types for working with data adhering to GLSL’s std430
layout specification.
Structs§
- Corresponds to a GLSL
bvec2
in std430 layout. - Corresponds to a GLSL
bvec3
in std430 layout. - Corresponds to a GLSL
bvec4
in std430 layout. - GLSL’s
bool
type. - Corresponds to a GLSL
dmat2
in std430 layout. - Corresponds to a GLSL
dmat3
in std430 layout. - Corresponds to a GLSL
dmat3
in std430 layout. - Corresponds to a GLSL
dvec2
in std430 layout. - Corresponds to a GLSL
dvec3
in std430 layout. - Corresponds to a GLSL
dvec4
in std430 layout. - Corresponds to a GLSL
ivec2
in std430 layout. - Corresponds to a GLSL
ivec3
in std430 layout. - Corresponds to a GLSL
ivec4
in std430 layout. - Corresponds to a GLSL
mat2
in std430 layout. - Corresponds to a GLSL
mat3
in std430 layout. - Corresponds to a GLSL
mat4
in std430 layout. - Type that computes the buffer size needed by a series of
std430
types laid out. - Corresponds to a GLSL
uvec2
in std430 layout. - Corresponds to a GLSL
uvec3
in std430 layout. - Corresponds to a GLSL
uvec4
in std430 layout. - Corresponds to a GLSL
vec2
in std430 layout. - Corresponds to a GLSL
vec3
in std430 layout. - Corresponds to a GLSL
vec4
in std430 layout. - Type that enables writing correctly aligned
std430
values to a buffer.
Traits§
- Trait implemented for all types that can be turned into
std430
values. - Trait implemented for all
std430
primitives. Generally should not be implemented outside this crate. - Trait implemented for all types that can be written into a buffer as
std430
bytes. This type is more general thanAsStd430
: allAsStd430
types implementWriteStd430
, but not the other way around.