skia_safe::gpu

Type Alias MutableTextureState

Source
pub type MutableTextureState = RCHandle<skgpu_MutableTextureState>;

Aliased Type§

struct MutableTextureState(/* private fields */);

Implementations§

Source§

impl MutableTextureState

Source

pub fn copied(&self) -> Self

Source

pub fn new_vk(layout: ImageLayout, queue_family_index: u32) -> Self

👎Deprecated since 0.72.0: use gpu::vk::mutable_texture_states::new_vulkan()
Source

pub fn vk_image_layout(&self) -> VkImageLayout

👎Deprecated since 0.72.0: use gpu::vk::mutable_texture_states::get_vk_image_layout()
Source

pub fn queue_family_index(&self) -> u32

👎Deprecated since 0.72.0: use gpu::vk::mutable_texture_states::get_vk_queue_family_index()
Source

pub fn backend(&self) -> BackendApi

Trait Implementations§

Source§

impl Debug for MutableTextureState

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for MutableTextureState

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl Send for MutableTextureState

Source§

impl Sync for MutableTextureState