pub trait ShaderValuewhere
Self: Sized,{
const UNIFORM_TYPE: ShaderUniformDataType;
// Provided method
unsafe fn raw_value(&self) -> *const c_void { ... }
}Expand description
Shader uniform value You shouldn’t need to implement this trait yourself.
Required Associated Constants§
Sourceconst UNIFORM_TYPE: ShaderUniformDataType
const UNIFORM_TYPE: ShaderUniformDataType
Uniform type assiciated with the value
Provided Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".