Struct ctru_sys::shaderProgram_s
source · #[repr(C)]pub struct shaderProgram_s {
pub vertexShader: *mut shaderInstance_s,
pub geometryShader: *mut shaderInstance_s,
pub geoShaderInputPermutation: [u32_; 2],
pub geoShaderInputStride: u8_,
}
Expand description
Describes an instance of a full shader program.
Fields§
§vertexShader: *mut shaderInstance_s
< Vertex shader.
geometryShader: *mut shaderInstance_s
< Geometry shader.
geoShaderInputPermutation: [u32_; 2]
< Geometry shader input permutation.
geoShaderInputStride: u8_
< Geometry shader input stride.
Trait Implementations§
source§impl Clone for shaderProgram_s
impl Clone for shaderProgram_s
source§fn clone(&self) -> shaderProgram_s
fn clone(&self) -> shaderProgram_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