[−][src]Struct skia_bindings::GrBackendTexture
Fields
fIsValid: bool
fWidth: c_int
fHeight: c_int
fConfig: GrPixelConfig
fMipMapped: GrMipMapped
fBackend: GrBackendApi
__bindgen_anon_1: GrBackendTexture__bindgen_ty_1
Methods
impl GrBackendTexture
[src]
pub unsafe fn getGLTextureInfo(&self, arg1: *mut GrGLTextureInfo) -> bool
[src]
pub unsafe fn glTextureParametersModified(&mut self)
[src]
pub unsafe fn getVkImageInfo(&self, arg1: *mut GrVkImageInfo) -> bool
[src]
pub unsafe fn setVkImageLayout(&mut self, arg1: VkImageLayout)
[src]
pub unsafe fn getBackendFormat(&self) -> GrBackendFormat
[src]
pub unsafe fn getMockTextureInfo(&self, arg1: *mut GrMockTextureInfo) -> bool
[src]
pub unsafe fn isProtected(&self) -> bool
[src]
pub unsafe fn isSameTexture(&mut self, arg1: *const GrBackendTexture) -> bool
[src]
pub unsafe fn new(
width: c_int,
height: c_int,
arg1: GrMipMapped,
glInfo: *const GrGLTextureInfo
) -> Self
[src]
width: c_int,
height: c_int,
arg1: GrMipMapped,
glInfo: *const GrGLTextureInfo
) -> Self
pub unsafe fn new1(
width: c_int,
height: c_int,
vkInfo: *const GrVkImageInfo
) -> Self
[src]
width: c_int,
height: c_int,
vkInfo: *const GrVkImageInfo
) -> Self
pub unsafe fn new2(
width: c_int,
height: c_int,
arg1: GrMipMapped,
mockInfo: *const GrMockTextureInfo
) -> Self
[src]
width: c_int,
height: c_int,
arg1: GrMipMapped,
mockInfo: *const GrMockTextureInfo
) -> Self
pub unsafe fn new3(that: *const GrBackendTexture) -> Self
[src]
pub unsafe fn destruct(&mut self)
[src]
Auto Trait Implementations
impl Unpin for GrBackendTexture
impl !Sync for GrBackendTexture
impl !Send for GrBackendTexture
impl UnwindSafe for GrBackendTexture
impl RefUnwindSafe for GrBackendTexture
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,