Struct pilka_incremental::ash::VkTexture[][src]

pub struct VkTexture { /* fields omitted */ }

Implementations

impl VkTexture[src]

pub fn from_ktx<P>(
    filename: P,
    instance: &VkInstance,
    device: &VkDevice,
    format: Format,
    command_pool: &CommandPool,
    copy_queue: &Queue,
    image_usage_flags: ImageUsageFlags,
    image_layout: ImageLayout
) -> Result<VkTexture, Box<dyn Error + 'static, Global>> where
    P: AsRef<Path>, 
[src]

pub fn new(
    instance: &VkInstance,
    device: &VkDevice,
    width: u32,
    height: u32,
    command_pool: &CommandPool,
    queues: &VkQueues,
    format: Format
) -> Result<VkTexture, Result>
[src]

Trait Implementations

impl Drop for VkTexture[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.