Struct makepad_widgets::shader::std::CxDrawCall
pub struct CxDrawCall {
pub draw_shader: DrawShader,
pub options: CxDrawShaderOptions,
pub total_instance_slots: usize,
pub draw_uniforms: DrawUniforms,
pub geometry_id: Option<GeometryId>,
pub user_uniforms: [f32; 16],
pub texture_slots: [Option<TextureId>; 4],
pub instance_dirty: bool,
pub uniforms_dirty: bool,
}
Fields§
§draw_shader: DrawShader
§options: CxDrawShaderOptions
§total_instance_slots: usize
§draw_uniforms: DrawUniforms
§geometry_id: Option<GeometryId>
§user_uniforms: [f32; 16]
§texture_slots: [Option<TextureId>; 4]
§instance_dirty: bool
§uniforms_dirty: bool
Implementations§
§impl CxDrawCall
impl CxDrawCall
pub fn new(mapping: &CxDrawShaderMapping, draw_vars: &DrawVars) -> CxDrawCall
Auto Trait Implementations§
impl RefUnwindSafe for CxDrawCall
impl Send for CxDrawCall
impl Sync for CxDrawCall
impl Unpin for CxDrawCall
impl UnwindSafe for CxDrawCall
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