Struct pilka_dyn::ash::VkDevice [−]
Fields
device: Arc<RawDevice>
physical_device: PhysicalDevice
Implementations
impl VkDevice
pub fn get_device_properties(&self, instance: &VkInstance) -> VkDeviceProperties
pub fn create_fence(&self, signaled: bool) -> Result<Fence, Result>
pub fn create_semaphore(&self) -> Result<Semaphore, Result>
pub fn create_vk_command_pool(
&self,
queue_family_index: u32,
num_command_buffers: u32
) -> Result<VkCommandPool, Result>
&self,
queue_family_index: u32,
num_command_buffers: u32
) -> Result<VkCommandPool, Result>
pub fn create_vk_render_pass(
&self,
format: Format
) -> Result<VkRenderPass, Result>
&self,
format: Format
) -> Result<VkRenderPass, Result>
pub fn create_swapchain(
&self,
swapchain_loader: Swapchain,
surface: &VkSurface,
queues: &VkQueues
) -> Result<VkSwapchain, Result>
&self,
swapchain_loader: Swapchain,
surface: &VkSurface,
queues: &VkQueues
) -> Result<VkSwapchain, Result>
pub fn alloc_memory(
&self,
memory_properties: &PhysicalDeviceMemoryProperties,
allocation_reqs: MemoryRequirements,
flags: MemoryPropertyFlags
) -> Result<DeviceMemory, Result>
&self,
memory_properties: &PhysicalDeviceMemoryProperties,
allocation_reqs: MemoryRequirements,
flags: MemoryPropertyFlags
) -> Result<DeviceMemory, Result>
Methods from Deref<Target = Device>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for VkDevice
[src]
impl Send for VkDevice
[src]
impl Sync for VkDevice
[src]
impl Unpin for VkDevice
[src]
impl UnwindSafe for VkDevice
[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>,