Type Definition skia_safe::gpu::RecordingContext
source · pub type RecordingContext = RCHandle<GrRecordingContext>;
Implementations§
source§impl RecordingContext
impl RecordingContext
pub fn as_direct_context(&mut self) -> Option<DirectContext>
pub fn backend(&self) -> BackendAPI
pub fn default_backend_format( &self, ct: ColorType, renderable: Renderable ) -> BackendFormat
pub fn compressed_backend_format( &self, compression_type: TextureCompressionType ) -> BackendFormat
pub fn abandoned(&mut self) -> bool
pub fn color_type_supported_as_surface(&self, color_type: ColorType) -> bool
pub fn max_texture_size(&self) -> i32
pub fn max_render_target_size(&self) -> i32
pub fn color_type_supported_as_image(&self, color_type: ColorType) -> bool
pub fn max_surface_sample_count_for_color_type( &self, color_type: ColorType ) -> usize
Trait Implementations§
source§impl Debug for RecordingContext
impl Debug for RecordingContext
source§impl From<RCHandle<GrDirectContext>> for RecordingContext
impl From<RCHandle<GrDirectContext>> for RecordingContext
source§fn from(direct_context: DirectContext) -> Self
fn from(direct_context: DirectContext) -> Self
Converts to this type from the input type.