#[repr(u32)]pub enum rlShaderUniformDataType {
RL_SHADER_UNIFORM_FLOAT = 0,
RL_SHADER_UNIFORM_VEC2 = 1,
RL_SHADER_UNIFORM_VEC3 = 2,
RL_SHADER_UNIFORM_VEC4 = 3,
RL_SHADER_UNIFORM_INT = 4,
RL_SHADER_UNIFORM_IVEC2 = 5,
RL_SHADER_UNIFORM_IVEC3 = 6,
RL_SHADER_UNIFORM_IVEC4 = 7,
RL_SHADER_UNIFORM_SAMPLER2D = 8,
}Variants§
RL_SHADER_UNIFORM_FLOAT = 0
RL_SHADER_UNIFORM_VEC2 = 1
RL_SHADER_UNIFORM_VEC3 = 2
RL_SHADER_UNIFORM_VEC4 = 3
RL_SHADER_UNIFORM_INT = 4
RL_SHADER_UNIFORM_IVEC2 = 5
RL_SHADER_UNIFORM_IVEC3 = 6
RL_SHADER_UNIFORM_IVEC4 = 7
RL_SHADER_UNIFORM_SAMPLER2D = 8
Trait Implementations§
source§impl Clone for rlShaderUniformDataType
impl Clone for rlShaderUniformDataType
source§fn clone(&self) -> rlShaderUniformDataType
fn clone(&self) -> rlShaderUniformDataType
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 rlShaderUniformDataType
impl Debug for rlShaderUniformDataType
source§impl Hash for rlShaderUniformDataType
impl Hash for rlShaderUniformDataType
source§impl PartialEq for rlShaderUniformDataType
impl PartialEq for rlShaderUniformDataType
source§fn eq(&self, other: &rlShaderUniformDataType) -> bool
fn eq(&self, other: &rlShaderUniformDataType) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for rlShaderUniformDataType
impl Eq for rlShaderUniformDataType
impl StructuralPartialEq for rlShaderUniformDataType
Auto Trait Implementations§
impl Freeze for rlShaderUniformDataType
impl RefUnwindSafe for rlShaderUniformDataType
impl Send for rlShaderUniformDataType
impl Sync for rlShaderUniformDataType
impl Unpin for rlShaderUniformDataType
impl UnwindSafe for rlShaderUniformDataType
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more