Module bevy::render::render_resource::std430 [−]
Expand description
Defines traits and types for working with data adhering to GLSL’s std140
layout specification.
Structs
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.
Enums
Unfortunately, we cannot easily derive padded representation for generic Std140 types. For now, we’ll just use this empty enum with no values.
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 specifically for Std430::Padded, implements conversions between padded type and base type.
Trait implemented for all types that can be written into a buffer as
std430
bytes. This type is more general than AsStd430
: all AsStd430
types implement WriteStd430
, but not the other way around.