☰
SurfaceCharacterization
Methods
backend_format
cache_max_resource_bytes
color_space
color_type
dimensions
height
image_info
is_mip_mapped
is_protected
is_textureable
is_valid
origin
resized
sample_count
uses_glfbo0
vk_rt_supports_input_attachment
vulkan_secondary_cb_compatible
width
with_backend_format
with_color_space
with_fbo0
Trait Implementations
Debug
Default
Send
Sync
In skia_safe
?
Type Definition
skia_safe
::
SurfaceCharacterization
source
·
[
−
]
pub type SurfaceCharacterization =
Handle
<
SkSurfaceCharacterization
>;
Implementations
§
source
§
impl
SurfaceCharacterization
source
pub fn
resized
(&self, size: impl
Into
<
ISize
>) -> Self
source
pub fn
with_color_space
( &self, color_space: impl
Into
<
Option
<
ColorSpace
>> ) -> Self
source
pub fn
with_backend_format
( &self, color_type:
ColorType
, backend_format: &
BackendFormat
) -> Self
source
pub fn
with_fbo0
(&self, uses_glfbo0:
bool
) -> Self
source
§
impl
SurfaceCharacterization
source
pub fn
cache_max_resource_bytes
(&self) ->
usize
source
pub fn
is_valid
(&self) ->
bool
source
pub fn
image_info
(&self) -> &
ImageInfo
source
pub fn
backend_format
(&self) -> &
BackendFormat
source
pub fn
origin
(&self) ->
SurfaceOrigin
source
pub fn
dimensions
(&self) ->
ISize
source
pub fn
width
(&self) ->
i32
source
pub fn
height
(&self) ->
i32
source
pub fn
color_type
(&self) ->
ColorType
source
pub fn
sample_count
(&self) ->
usize
source
pub fn
is_textureable
(&self) ->
bool
source
pub fn
is_mip_mapped
(&self) ->
bool
source
pub fn
uses_glfbo0
(&self) ->
bool
source
pub fn
vk_rt_supports_input_attachment
(&self) ->
bool
source
pub fn
vulkan_secondary_cb_compatible
(&self) ->
bool
source
pub fn
is_protected
(&self) ->
Protected
source
pub fn
color_space
(&self) ->
Option
<
ColorSpace
>
Trait Implementations
§
source
§
impl
Debug
for
SurfaceCharacterization
source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
source
§
impl
Default
for
SurfaceCharacterization
source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more
source
§
impl
Send
for
SurfaceCharacterization
source
§
impl
Sync
for
SurfaceCharacterization