Struct dacite::core::Device
[−]
[src]
pub struct Device(_);
See VkDevice
Methods
impl Device
[src]
fn get_enabled_instance_extensions(&self) -> &InstanceExtensions
[src]
fn get_enabled_device_extensions(&self) -> &DeviceExtensions
[src]
fn get_queue(&self, queue_family_index: u32, queue_index: u32) -> Queue
[src]
See vkGetDeviceQueue
fn create_command_pool(
&self,
create_info: &CommandPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<CommandPool, Error>
[src]
&self,
create_info: &CommandPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<CommandPool, Error>
fn create_fence(
&self,
create_info: &FenceCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Fence, Error>
[src]
&self,
create_info: &FenceCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Fence, Error>
See vkCreateFence
fn create_semaphore(
&self,
create_info: &SemaphoreCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Semaphore, Error>
[src]
&self,
create_info: &SemaphoreCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Semaphore, Error>
fn create_event(
&self,
create_info: &EventCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Event, Error>
[src]
&self,
create_info: &EventCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Event, Error>
See vkCreateEvent
fn create_query_pool(
&self,
create_info: &QueryPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<QueryPool, Error>
[src]
&self,
create_info: &QueryPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<QueryPool, Error>
fn create_buffer(
&self,
create_info: &BufferCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Buffer, Error>
[src]
&self,
create_info: &BufferCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Buffer, Error>
See vkCreateBuffer
fn create_image(
&self,
create_info: &ImageCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Image, Error>
[src]
&self,
create_info: &ImageCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Image, Error>
See vkCreateImage
fn create_buffer_view(
&self,
create_info: &BufferViewCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<BufferView, Error>
[src]
&self,
create_info: &BufferViewCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<BufferView, Error>
fn create_image_view(
&self,
create_info: &ImageViewCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<ImageView, Error>
[src]
&self,
create_info: &ImageViewCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<ImageView, Error>
fn create_shader_module(
&self,
create_info: &ShaderModuleCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<ShaderModule, Error>
[src]
&self,
create_info: &ShaderModuleCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<ShaderModule, Error>
fn create_pipeline_cache(
&self,
create_info: &PipelineCacheCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<PipelineCache, Error>
[src]
&self,
create_info: &PipelineCacheCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<PipelineCache, Error>
fn create_sampler(
&self,
create_info: &SamplerCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Sampler, Error>
[src]
&self,
create_info: &SamplerCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Sampler, Error>
See vkCreateSampler
fn create_descriptor_pool(
&self,
create_info: &DescriptorPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DescriptorPool, Error>
[src]
&self,
create_info: &DescriptorPoolCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DescriptorPool, Error>
fn create_descriptor_set_layout(
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DescriptorSetLayout, Error>
[src]
&self,
create_info: &DescriptorSetLayoutCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DescriptorSetLayout, Error>
fn allocate_memory(
&self,
allocate_info: &MemoryAllocateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DeviceMemory, Error>
[src]
&self,
allocate_info: &MemoryAllocateInfo,
allocator: Option<Box<Allocator>>
) -> Result<DeviceMemory, Error>
See vkAllocateMemory
fn create_graphics_pipelines(
&self,
pipeline_cache: Option<PipelineCache>,
create_infos: &[GraphicsPipelineCreateInfo],
allocator: Option<Box<Allocator>>
) -> Result<Vec<Pipeline>, (Error, Vec<Option<Pipeline>>)>
[src]
&self,
pipeline_cache: Option<PipelineCache>,
create_infos: &[GraphicsPipelineCreateInfo],
allocator: Option<Box<Allocator>>
) -> Result<Vec<Pipeline>, (Error, Vec<Option<Pipeline>>)>
fn create_compute_pipelines(
&self,
pipeline_cache: Option<PipelineCache>,
create_infos: &[ComputePipelineCreateInfo],
allocator: Option<Box<Allocator>>
) -> Result<Vec<Pipeline>, (Error, Vec<Option<Pipeline>>)>
[src]
&self,
pipeline_cache: Option<PipelineCache>,
create_infos: &[ComputePipelineCreateInfo],
allocator: Option<Box<Allocator>>
) -> Result<Vec<Pipeline>, (Error, Vec<Option<Pipeline>>)>
fn create_pipeline_layout(
&self,
create_info: &PipelineLayoutCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<PipelineLayout, Error>
[src]
&self,
create_info: &PipelineLayoutCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<PipelineLayout, Error>
fn create_framebuffer(
&self,
create_info: &FramebufferCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Framebuffer, Error>
[src]
&self,
create_info: &FramebufferCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<Framebuffer, Error>
fn create_render_pass(
&self,
create_info: &RenderPassCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<RenderPass, Error>
[src]
&self,
create_info: &RenderPassCreateInfo,
allocator: Option<Box<Allocator>>
) -> Result<RenderPass, Error>
fn wait_idle(&self) -> Result<(), Error>
[src]
See vkDeviceWaitIdle
fn create_swapchain_khr(
&self,
create_info: &SwapchainCreateInfoKhr,
allocator: Option<Box<Allocator>>
) -> Result<SwapchainKhr, Error>
[src]
&self,
create_info: &SwapchainCreateInfoKhr,
allocator: Option<Box<Allocator>>
) -> Result<SwapchainKhr, Error>
See vkCreateSwapchainKHR
and extension VK_KHR_swapchain
[src]
See vkCreateSharedSwapchainsKHR
and extension VK_KHR_display_swapchain
fn debug_marker_set_object_tag_ext(
&self,
tag_info: &DebugMarkerObjectTagInfoExt
) -> Result<(), Error>
[src]
&self,
tag_info: &DebugMarkerObjectTagInfoExt
) -> Result<(), Error>
See vkDebugMarkerSetObjectTagEXT
and extension VK_EXT_debug_marker
fn debug_marker_set_object_name_ext(
&self,
name_info: &DebugMarkerObjectNameInfoExt
) -> Result<(), Error>
[src]
&self,
name_info: &DebugMarkerObjectNameInfoExt
) -> Result<(), Error>
See vkDebugMarkerSetObjectNameEXT
and extension VK_EXT_debug_marker
Trait Implementations
impl Debug for Device
[src]
impl Clone for Device
[src]
fn clone(&self) -> Device
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for Device
[src]
fn eq(&self, __arg_0: &Device) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Device) -> bool
[src]
This method tests for !=
.
impl Eq for Device
[src]
impl PartialOrd for Device
[src]
fn partial_cmp(&self, __arg_0: &Device) -> Option<Ordering>
[src]
This method returns an ordering between self
and other
values if one exists. Read more
fn lt(&self, __arg_0: &Device) -> bool
[src]
This method tests less than (for self
and other
) and is used by the <
operator. Read more
fn le(&self, __arg_0: &Device) -> bool
[src]
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
fn gt(&self, __arg_0: &Device) -> bool
[src]
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
fn ge(&self, __arg_0: &Device) -> bool
[src]
This method tests greater than or equal to (for self
and other
) and is used by the >=
operator. Read more
impl Ord for Device
[src]
fn cmp(&self, __arg_0: &Device) -> Ordering
[src]
This method returns an Ordering
between self
and other
. Read more
fn max(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the maximum of two values. Read more
fn min(self, other: Self) -> Self
[src]
ord_max_min
)Compares and returns the minimum of two values. Read more
impl Hash for Device
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl VulkanObject for Device
[src]
type NativeVulkanObject = VkDevice
fn id(&self) -> u64
[src]
Get the object id. Read more