pub struct CxOsDrawCall {
pub draw_call_uniforms: OpenglBuffer,
pub user_uniforms: OpenglBuffer,
pub inst_vb: OpenglBuffer,
pub vao: Option<CxOsDrawCallVao>,
}
Fields§
§draw_call_uniforms: OpenglBuffer
§user_uniforms: OpenglBuffer
§inst_vb: OpenglBuffer
§vao: Option<CxOsDrawCallVao>
Implementations§
Source§impl CxOsDrawCall
impl CxOsDrawCall
pub fn free_resources(&mut self, gl: &LibGl)
Trait Implementations§
Source§impl Clone for CxOsDrawCall
impl Clone for CxOsDrawCall
Source§fn clone(&self) -> CxOsDrawCall
fn clone(&self) -> CxOsDrawCall
Returns a duplicate 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 CxOsDrawCall
impl Default for CxOsDrawCall
Source§fn default() -> CxOsDrawCall
fn default() -> CxOsDrawCall
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CxOsDrawCall
impl RefUnwindSafe for CxOsDrawCall
impl Send for CxOsDrawCall
impl Sync for CxOsDrawCall
impl Unpin for CxOsDrawCall
impl UnwindSafe for CxOsDrawCall
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