Type Definition skia_safe::gpu::BackendRenderTarget
source · pub type BackendRenderTarget = Handle<GrBackendRenderTarget>;
Implementations§
source§impl BackendRenderTarget
impl BackendRenderTarget
pub fn new_gl( (width, height): (i32, i32), sample_count: impl Into<Option<usize>>, stencil_bits: usize, info: FramebufferInfo ) -> Self
pub fn dimensions(&self) -> ISize
pub fn width(&self) -> i32
pub fn height(&self) -> i32
pub fn sample_count(&self) -> usize
pub fn stencil_bits(&self) -> usize
pub fn backend(&self) -> BackendAPI
pub fn is_framebuffer_only(&self) -> bool
pub fn gl_framebuffer_info(&self) -> Option<FramebufferInfo>
pub fn backend_format(&self) -> BackendFormat
pub fn set_mutable_state(&mut self, state: &MutableTextureState)
pub fn is_protected(&self) -> bool
pub fn is_valid(&self) -> bool
👎Deprecated since 0.37.0: BackendRenderTargets must be valid.