[][src]Struct cocoa::quartzcore::CARenderer

pub struct CARenderer(_);

Implementations

impl CARenderer[src]

pub fn id(&self) -> id[src]

pub unsafe fn from_cgl_context(
    context: CGLContextObj,
    color_space: Option<CGColorSpace>
) -> CARenderer
[src]

pub unsafe fn from_metal_texture(
    metal_texture: id,
    metal_command_queue: id,
    color_space: Option<CGColorSpace>
) -> CARenderer
[src]

pub fn layer(&self) -> Option<CALayer>[src]

pub fn set_layer(&self, layer: Option<CALayer>)[src]

pub fn bounds(&self) -> CGRect[src]

pub fn set_bounds(&self, bounds: CGRect)[src]

pub fn begin_frame_at(
    &self,
    time: CFTimeInterval,
    timestamp: Option<&CVTimeStamp>
)
[src]

pub fn update_bounds(&self) -> CGRect[src]

pub fn add_update_rect(&self, rect: CGRect)[src]

pub fn render(&self)[src]

pub fn next_frame_time(&self) -> CFTimeInterval[src]

pub fn end_frame(&self)[src]

pub unsafe fn set_destination(&self, metal_texture: id)[src]

Trait Implementations

impl Clone for CARenderer[src]

impl Drop for CARenderer[src]

impl Send for CARenderer[src]

impl Sync for CARenderer[src]

Auto Trait Implementations

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.