Struct pilka_incremental::ash::VkTexture [−][src]
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]
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>,
pub fn new(
instance: &VkInstance,
device: &VkDevice,
width: u32,
height: u32,
command_pool: &CommandPool,
queues: &VkQueues,
format: Format
) -> Result<VkTexture, Result>
[src]
instance: &VkInstance,
device: &VkDevice,
width: u32,
height: u32,
command_pool: &CommandPool,
queues: &VkQueues,
format: Format
) -> Result<VkTexture, Result>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VkTexture
impl Send for VkTexture
impl Sync for VkTexture
impl Unpin for VkTexture
impl UnwindSafe for VkTexture
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,