[][src]Struct skia_bindings::GrBackendRenderTarget

#[repr(C)]
pub struct GrBackendRenderTarget {
    pub fIsValid: bool,
    pub fWidth: c_int,
    pub fHeight: c_int,
    pub fSampleCnt: c_int,
    pub fStencilBits: c_int,
    pub fConfig: GrPixelConfig,
    pub fBackend: GrBackendApi,
    pub __bindgen_anon_1: GrBackendRenderTarget__bindgen_ty_1,
}

Fields

fIsValid: boolfWidth: c_intfHeight: c_intfSampleCnt: c_intfStencilBits: c_intfConfig: GrPixelConfigfBackend: GrBackendApi__bindgen_anon_1: GrBackendRenderTarget__bindgen_ty_1

Methods

impl GrBackendRenderTarget[src]

pub unsafe fn width(&self) -> c_int[src]

pub unsafe fn height(&self) -> c_int[src]

pub unsafe fn sampleCnt(&self) -> c_int[src]

pub unsafe fn stencilBits(&self) -> c_int[src]

pub unsafe fn backend(&self) -> GrBackendApi[src]

pub unsafe fn getGLFramebufferInfo(
    &self,
    arg1: *mut GrGLFramebufferInfo
) -> bool
[src]

pub unsafe fn getVkImageInfo(&self, arg1: *mut GrVkImageInfo) -> bool[src]

pub unsafe fn setVkImageLayout(&mut self, arg1: VkImageLayout)[src]

pub unsafe fn getMockRenderTargetInfo(
    &self,
    arg1: *mut GrMockRenderTargetInfo
) -> bool
[src]

pub unsafe fn isValid(&self) -> bool[src]

pub unsafe fn new() -> Self[src]

pub unsafe fn new1(
    width: c_int,
    height: c_int,
    sampleCnt: c_int,
    stencilBits: c_int,
    glInfo: *const GrGLFramebufferInfo
) -> Self
[src]

pub unsafe fn new2(
    width: c_int,
    height: c_int,
    sampleCnt: c_int,
    stencilBits: c_int,
    vkInfo: *const GrVkImageInfo
) -> Self
[src]

pub unsafe fn new3(
    width: c_int,
    height: c_int,
    sampleCnt: c_int,
    vkInfo: *const GrVkImageInfo
) -> Self
[src]

pub unsafe fn new4(
    width: c_int,
    height: c_int,
    sampleCnt: c_int,
    stencilBits: c_int,
    mockInfo: *const GrMockRenderTargetInfo
) -> Self
[src]

pub unsafe fn new5(that: *const GrBackendRenderTarget) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

Auto Trait Implementations

Blanket Implementations

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.

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

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

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