pub struct CxShaderMapping {
pub instance_slots: usize,
pub geometry_slots: usize,
pub geometries: Vec<ShVar>,
pub instances: Vec<ShVar>,
pub draw_uniforms: Vec<ShVar>,
pub view_uniforms: Vec<ShVar>,
pub pass_uniforms: Vec<ShVar>,
pub uniforms: Vec<ShVar>,
pub texture_slots: Vec<ShVar>,
pub rect_instance_props: RectInstanceProps,
pub uniform_props: UniformProps,
pub instance_props: InstanceProps,
}
Fields§
§instance_slots: usize
§geometry_slots: usize
§geometries: Vec<ShVar>
§instances: Vec<ShVar>
§draw_uniforms: Vec<ShVar>
§view_uniforms: Vec<ShVar>
§pass_uniforms: Vec<ShVar>
§uniforms: Vec<ShVar>
§texture_slots: Vec<ShVar>
§rect_instance_props: RectInstanceProps
§uniform_props: UniformProps
§instance_props: InstanceProps
Trait Implementations§
Source§impl Clone for CxShaderMapping
impl Clone for CxShaderMapping
Source§fn clone(&self) -> CxShaderMapping
fn clone(&self) -> CxShaderMapping
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 Default for CxShaderMapping
impl Default for CxShaderMapping
Source§fn default() -> CxShaderMapping
fn default() -> CxShaderMapping
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CxShaderMapping
impl RefUnwindSafe for CxShaderMapping
impl Send for CxShaderMapping
impl Sync for CxShaderMapping
impl Unpin for CxShaderMapping
impl UnwindSafe for CxShaderMapping
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