Struct ctru_sys::shaderInstance_s
source · #[repr(C)]pub struct shaderInstance_s {
pub dvle: *mut DVLE_s,
pub boolUniforms: u16_,
pub boolUniformMask: u16_,
pub intUniforms: [u32_; 4],
pub float24Uniforms: *mut float24Uniform_s,
pub intUniformMask: u8_,
pub numFloat24Uniforms: u8_,
}
Expand description
Describes an instance of either a vertex or geometry shader.
Fields§
§dvle: *mut DVLE_s
< Shader DVLE.
boolUniforms: u16_
< Boolean uniforms.
boolUniformMask: u16_
< Used boolean uniform mask.
intUniforms: [u32_; 4]
< Integer uniforms.
float24Uniforms: *mut float24Uniform_s
< 24-bit float uniforms.
intUniformMask: u8_
< Used integer uniform mask.
numFloat24Uniforms: u8_
< Float uniform count.
Trait Implementations§
source§impl Clone for shaderInstance_s
impl Clone for shaderInstance_s
source§fn clone(&self) -> shaderInstance_s
fn clone(&self) -> shaderInstance_s
Returns a copy of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more