[][src]Struct makepad_render::MetalCx

pub struct MetalCx {
    pub device: *mut Object,
    pub command_queue: *mut Object,
}

Fields

device: *mut Objectcommand_queue: *mut Object

Methods

impl MetalCx[src]

pub fn new() -> MetalCx[src]

pub fn update_platform_render_target(
    &self,
    cxtexture: &mut CxTexture,
    dpi_factor: f32,
    size: Vec2,
    is_depth: bool
) -> bool
[src]

pub fn update_platform_texture_image2d(&self, cxtexture: &mut CxTexture)[src]

Auto Trait Implementations

impl RefUnwindSafe for MetalCx

impl !Send for MetalCx

impl !Sync for MetalCx

impl Unpin for MetalCx

impl UnwindSafe for MetalCx

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.