[][src]Struct skia_bindings::SkSurfaceCharacterization

#[repr(C)]
pub struct SkSurfaceCharacterization {
    pub fContextInfo: sk_sp<GrContextThreadSafeProxy>,
    pub fCacheMaxResourceBytes: usize,
    pub fImageInfo: SkImageInfo,
    pub fBackendFormat: GrBackendFormat,
    pub fOrigin: GrSurfaceOrigin,
    pub fSampleCnt: c_int,
    pub fIsTextureable: SkSurfaceCharacterization_Textureable,
    pub fIsMipMapped: SkSurfaceCharacterization_MipMapped,
    pub fUsesGLFBO0: SkSurfaceCharacterization_UsesGLFBO0,
    pub fVulkanSecondaryCBCompatible: SkSurfaceCharacterization_VulkanSecondaryCBCompatible,
    pub fIsProtected: GrProtected,
    pub fSurfaceProps: SkSurfaceProps,
}

Fields

fContextInfo: sk_sp<GrContextThreadSafeProxy>fCacheMaxResourceBytes: usizefImageInfo: SkImageInfofBackendFormat: GrBackendFormatfOrigin: GrSurfaceOriginfSampleCnt: c_intfIsTextureable: SkSurfaceCharacterization_TextureablefIsMipMapped: SkSurfaceCharacterization_MipMappedfUsesGLFBO0: SkSurfaceCharacterization_UsesGLFBO0fVulkanSecondaryCBCompatible: SkSurfaceCharacterization_VulkanSecondaryCBCompatiblefIsProtected: GrProtectedfSurfaceProps: SkSurfaceProps

Methods

impl SkSurfaceCharacterization[src]

pub unsafe fn createResized(
    &self,
    width: c_int,
    height: c_int
) -> SkSurfaceCharacterization
[src]

pub unsafe fn isCompatible(&self, arg1: *const GrBackendTexture) -> bool[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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> Borrow<T> for T where
    T: ?Sized
[src]

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

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