Struct skia_bindings::GrBackendRenderTarget
source · #[repr(C)]pub struct GrBackendRenderTarget {
pub fIsValid: bool,
pub fFramebufferOnly: bool,
pub fWidth: c_int,
pub fHeight: c_int,
pub fSampleCnt: c_int,
pub fStencilBits: c_int,
pub fBackend: GrBackendApi,
pub __bindgen_anon_1: GrBackendRenderTarget__bindgen_ty_1,
pub fMutableState: sk_sp<skgpu_MutableTextureStateRef>,
}
Fields§
§fIsValid: bool
§fFramebufferOnly: bool
§fWidth: c_int
§fHeight: c_int
§fSampleCnt: c_int
§fStencilBits: c_int
§fBackend: GrBackendApi
§__bindgen_anon_1: GrBackendRenderTarget__bindgen_ty_1
§fMutableState: sk_sp<skgpu_MutableTextureStateRef>
Implementations§
source§impl GrBackendRenderTarget
impl GrBackendRenderTarget
pub unsafe fn getGLFramebufferInfo( &self, arg1: *mut GrGLFramebufferInfo ) -> bool
pub unsafe fn getBackendFormat(&self) -> GrBackendFormat
pub unsafe fn getMockRenderTargetInfo( &self, arg1: *mut GrMockRenderTargetInfo ) -> bool
pub unsafe fn setMutableState(&mut self, arg1: *const skgpu_MutableTextureState)
pub unsafe fn isProtected(&self) -> bool
pub unsafe fn new() -> Self
pub unsafe fn new1( width: c_int, height: c_int, sampleCnt: c_int, stencilBits: c_int, glInfo: *const GrGLFramebufferInfo ) -> Self
pub unsafe fn new2( width: c_int, height: c_int, sampleCnt: c_int, stencilBits: c_int, mockInfo: *const GrMockRenderTargetInfo ) -> Self
pub unsafe fn new3(that: *const GrBackendRenderTarget) -> Self
pub unsafe fn destruct(&mut self)
Auto Trait Implementations§
impl !RefUnwindSafe for GrBackendRenderTarget
impl !Send for GrBackendRenderTarget
impl !Sync for GrBackendRenderTarget
impl Unpin for GrBackendRenderTarget
impl UnwindSafe for GrBackendRenderTarget
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more