Struct pilka_dyn::ash::VkSwapchain [−]
Fields
swapchain: SwapchainKHR
swapchain_loader: Swapchain
images: Vec<Image, Global>
image_views: Vec<ImageView, Global>
format: Format
info: SwapchainCreateInfoKHR
device: Arc<RawDevice>
Implementations
impl VkSwapchain
pub fn format(&self) -> Format
pub fn recreate_swapchain(
&mut self,
(u32, u32),
device: &VkDevice
) -> Result<(), Result>
&mut self,
(u32, u32),
device: &VkDevice
) -> Result<(), Result>
pub fn create_image_views(
images: &[Image],
format: Format,
device: &VkDevice
) -> Result<Vec<ImageView, Global>, Result>
images: &[Image],
format: Format,
device: &VkDevice
) -> Result<Vec<ImageView, Global>, Result>
pub fn create_framebuffers(
&self,
(u32, u32),
render_pass: &VkRenderPass,
device: &VkDevice
) -> Result<Vec<Framebuffer, Global>, Result>
&self,
(u32, u32),
render_pass: &VkRenderPass,
device: &VkDevice
) -> Result<Vec<Framebuffer, Global>, Result>
pub fn create_framebuffer(
image_views: &[ImageView],
(u32, u32),
render_pass: &VkRenderPass,
device: &VkDevice
) -> Result<Framebuffer, Result>
image_views: &[ImageView],
(u32, u32),
render_pass: &VkRenderPass,
device: &VkDevice
) -> Result<Framebuffer, Result>
Trait Implementations
impl Drop for VkSwapchain
pub fn drop(&mut self)
Auto Trait Implementations
impl RefUnwindSafe for VkSwapchain
[src]
impl !Send for VkSwapchain
[src]
impl !Sync for VkSwapchain
[src]
impl Unpin for VkSwapchain
[src]
impl UnwindSafe for VkSwapchain
[src]
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>,