[][src]Struct skia_bindings::GrTexture

#[repr(C)]
pub struct GrTexture {
    pub __bindgen_padding_0: u64,
    pub fIdleProcs: [u64; 3],
    pub fTextureType: GrTextureType,
    pub fMipMapsStatus: GrMipMapsStatus,
    pub fMaxMipMapLevel: c_int,
    pub __bindgen_padding_1: [u64; 23],
}

Fields

__bindgen_padding_0: u64fIdleProcs: [u64; 3]fTextureType: GrTextureTypefMipMapsStatus: GrMipMapsStatusfMaxMipMapLevel: c_int__bindgen_padding_1: [u64; 23]

Methods

impl GrTexture[src]

pub unsafe fn StealBackendTexture(
    arg1: sk_sp<GrTexture>,
    arg2: *mut GrBackendTexture,
    arg3: *mut SkImage_BackendTextureReleaseProc
) -> bool
[src]

pub unsafe fn addIdleProc(
    &mut self,
    callback: GrRefCntedCallback_Callback,
    context: GrRefCntedCallback_Context,
    state: GrTexture_IdleState
)
[src]

pub unsafe fn texturePriv(&mut self) -> GrTexturePriv[src]

pub unsafe fn texturePriv1(&self) -> GrTexturePriv[src]

pub unsafe fn new(
    arg1: *mut GrGpu,
    arg2: *const GrSurfaceDesc,
    arg3: GrTextureType,
    arg4: GrMipMapsStatus
) -> Self
[src]

Trait Implementations

impl Debug for GrTexture[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]