[−][src]Struct makepad_render::MetalBuffer
Fields
last_written: usize
multi1: MultiMetalBuffer
multi2: MultiMetalBuffer
multi3: MultiMetalBuffer
multi4: MultiMetalBuffer
multi5: MultiMetalBuffer
multi6: MultiMetalBuffer
multi7: MultiMetalBuffer
multi8: MultiMetalBuffer
multi9: MultiMetalBuffer
multi10: MultiMetalBuffer
Methods
impl MetalBuffer
[src]
pub fn multi_buffer_read(&self) -> &MultiMetalBuffer
[src]
pub fn multi_buffer_write(&mut self) -> &mut MultiMetalBuffer
[src]
pub fn update_with_f32_data(&mut self, metal_cx: &MetalCx, data: &Vec<f32>)
[src]
pub fn update_with_u32_data(&mut self, metal_cx: &MetalCx, data: &Vec<u32>)
[src]
Trait Implementations
impl Clone for MetalBuffer
[src]
fn clone(&self) -> MetalBuffer
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for MetalBuffer
[src]
fn default() -> MetalBuffer
[src]
Auto Trait Implementations
impl RefUnwindSafe for MetalBuffer
impl !Send for MetalBuffer
impl !Sync for MetalBuffer
impl Unpin for MetalBuffer
impl UnwindSafe for MetalBuffer
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,