Module vector

Source
Expand description

Module containing items necessary to implement ShaderType for vectors

Macros§

impl_vector
Used to implement ShaderType for the given vector type

Traits§

AsMutVectorParts
Enables writing to the vector (via &mut [T; N])
AsRefVectorParts
Enables reading from the vector (via &[T; N])
FromVectorParts
Enables the creation of a vector (via [T; N])
VectorScalar