Enum raylib_ffi::enums::ShaderAttributeDataType
source · #[repr(C)]
pub enum ShaderAttributeDataType {
SHADERATTRIBFLOAT,
SHADERATTRIBVEC2,
SHADERATTRIBVEC3,
SHADERATTRIBVEC4,
}Expand description
Shader attribute data types
Variants§
SHADERATTRIBFLOAT
Shader attribute type: float
SHADERATTRIBVEC2
Shader attribute type: vec2 (2 float)
SHADERATTRIBVEC3
Shader attribute type: vec3 (3 float)
SHADERATTRIBVEC4
Shader attribute type: vec4 (4 float)
Trait Implementations§
source§impl Clone for ShaderAttributeDataType
impl Clone for ShaderAttributeDataType
source§fn clone(&self) -> ShaderAttributeDataType
fn clone(&self) -> ShaderAttributeDataType
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for ShaderAttributeDataType
impl Debug for ShaderAttributeDataType
source§impl Hash for ShaderAttributeDataType
impl Hash for ShaderAttributeDataType
source§impl PartialEq<ShaderAttributeDataType> for ShaderAttributeDataType
impl PartialEq<ShaderAttributeDataType> for ShaderAttributeDataType
source§fn eq(&self, other: &ShaderAttributeDataType) -> bool
fn eq(&self, other: &ShaderAttributeDataType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.