Trait bedrock::VkHandle
[−]
[src]
pub trait VkHandle { type Handle; fn native_ptr(&self) -> Self::Handle; }
Wrapping a Vulkan Dispatchable/Nondispatchable Handler
Associated Types
type Handle
Required Methods
fn native_ptr(&self) -> Self::Handle
Retrieve an underlying handle
Implementations on Foreign Types
impl<'h, H: VkHandle + ?Sized + 'h> VkHandle for Option<&'h H>
[src]
Unwrapping Option-ed Reference to VkHandles.
Returns "Empty Handle" when the value is None
.
Implementors
impl VkHandle for Instance type Handle = VkInstance;
impl VkHandle for PhysicalDevice type Handle = VkPhysicalDevice;
impl VkHandle for Device type Handle = VkDevice;
impl VkHandle for Queue type Handle = VkQueue;
impl VkHandle for Fence type Handle = VkFence;
impl VkHandle for Semaphore type Handle = VkSemaphore;
impl VkHandle for Event type Handle = VkEvent;
impl VkHandle for DeviceMemory type Handle = VkDeviceMemory;
impl VkHandle for Buffer type Handle = VkBuffer;
impl VkHandle for BufferView type Handle = VkBufferView;
impl VkHandle for ImageView type Handle = VkImageView;
impl VkHandle for Image type Handle = VkImage;
impl VkHandle for Sampler type Handle = VkSampler;
impl VkHandle for DescriptorSetLayout type Handle = VkDescriptorSetLayout;
impl VkHandle for DescriptorPool type Handle = VkDescriptorPool;
impl VkHandle for DescriptorUpdateTemplate type Handle = VkDescriptorUpdateTemplate;
impl VkHandle for RenderPass type Handle = VkRenderPass;
impl VkHandle for Framebuffer type Handle = VkFramebuffer;
impl VkHandle for ShaderModule type Handle = VkShaderModule;
impl VkHandle for PipelineCache type Handle = VkPipelineCache;
impl VkHandle for PipelineLayout type Handle = VkPipelineLayout;
impl VkHandle for Pipeline type Handle = VkPipeline;
impl VkHandle for CommandPool type Handle = VkCommandPool;
impl VkHandle for CommandBuffer type Handle = VkCommandBuffer;
impl VkHandle for QueryPool type Handle = VkQueryPool;