[][src]Struct skia_bindings::GrBackendFormat

#[repr(C)]
pub struct GrBackendFormat {
    pub fBackend: GrBackendApi,
    pub fValid: bool,
    pub __bindgen_anon_1: GrBackendFormat__bindgen_ty_1,
    pub fTextureType: GrTextureType,
}

Fields

fBackend: GrBackendApifValid: bool__bindgen_anon_1: GrBackendFormat__bindgen_ty_1fTextureType: GrTextureType

Methods

impl GrBackendFormat[src]

pub unsafe fn MakeGL(format: GrGLenum, target: GrGLenum) -> GrBackendFormat[src]

pub unsafe fn MakeVk(format: VkFormat) -> GrBackendFormat[src]

pub unsafe fn MakeVk1(
    ycbcrInfo: *const GrVkYcbcrConversionInfo
) -> GrBackendFormat
[src]

pub unsafe fn MakeMock(config: GrPixelConfig) -> GrBackendFormat[src]

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

pub unsafe fn textureType(&self) -> GrTextureType[src]

pub unsafe fn getGLFormat(&self) -> *const GrGLenum[src]

pub unsafe fn getGLTarget(&self) -> *const GrGLenum[src]

pub unsafe fn getVkFormat(&self) -> *const VkFormat[src]

pub unsafe fn getVkYcbcrConversionInfo(&self) -> *const GrVkYcbcrConversionInfo[src]

pub unsafe fn getMockFormat(&self) -> *const GrPixelConfig[src]

pub unsafe fn makeTexture2D(&self) -> GrBackendFormat[src]

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

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

Trait Implementations

impl Clone for GrBackendFormat[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl Copy for GrBackendFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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]