Struct vk_sys::DevicePointers [] [src]

pub struct DevicePointers {
    pub DestroyDevice: extern "system" fn(_: Device, _: *const AllocationCallbacks),
    pub GetDeviceQueue: extern "system" fn(_: Device, _: u32, _: u32, _: *mut Queue),
    pub QueueSubmit: extern "system" fn(_: Queue, _: u32, _: *const SubmitInfo, _: Fence) -> Result,
    pub QueueWaitIdle: extern "system" fn(_: Queue) -> Result,
    pub DeviceWaitIdle: extern "system" fn(_: Device) -> Result,
    pub AllocateMemory: extern "system" fn(_: Device, _: *const MemoryAllocateInfo, _: *const AllocationCallbacks, _: *mut DeviceMemory) -> Result,
    pub FreeMemory: extern "system" fn(_: Device, _: DeviceMemory, _: *const AllocationCallbacks),
    pub MapMemory: extern "system" fn(_: Device, _: DeviceMemory, _: DeviceSize, _: DeviceSize, _: MemoryMapFlags, _: *mut *mut c_void) -> Result,
    pub UnmapMemory: extern "system" fn(_: Device, _: DeviceMemory),
    pub FlushMappedMemoryRanges: extern "system" fn(_: Device, _: u32, _: *const MappedMemoryRange) -> Result,
    pub InvalidateMappedMemoryRanges: extern "system" fn(_: Device, _: u32, _: *const MappedMemoryRange) -> Result,
    pub GetDeviceMemoryCommitment: extern "system" fn(_: Device, _: DeviceMemory, _: *mut DeviceSize),
    pub BindBufferMemory: extern "system" fn(_: Device, _: Buffer, _: DeviceMemory, _: DeviceSize) -> Result,
    pub BindImageMemory: extern "system" fn(_: Device, _: Image, _: DeviceMemory, _: DeviceSize) -> Result,
    pub GetBufferMemoryRequirements: extern "system" fn(_: Device, _: Buffer, _: *mut MemoryRequirements),
    pub GetImageMemoryRequirements: extern "system" fn(_: Device, _: Image, _: *mut MemoryRequirements),
    pub GetImageSparseMemoryRequirements: extern "system" fn(_: Device, _: Image, _: *mut u32, _: *mut SparseImageMemoryRequirements),
    pub QueueBindSparse: extern "system" fn(_: Queue, _: u32, _: *const BindSparseInfo, _: Fence) -> Result,
    pub CreateFence: extern "system" fn(_: Device, _: *const FenceCreateInfo, _: *const AllocationCallbacks, _: *mut Fence) -> Result,
    pub DestroyFence: extern "system" fn(_: Device, _: Fence, _: *const AllocationCallbacks),
    pub ResetFences: extern "system" fn(_: Device, _: u32, _: *const Fence) -> Result,
    pub GetFenceStatus: extern "system" fn(_: Device, _: Fence) -> Result,
    pub WaitForFences: extern "system" fn(_: Device, _: u32, _: *const Fence, _: Bool32, _: u64) -> Result,
    pub CreateSemaphore: extern "system" fn(_: Device, _: *const SemaphoreCreateInfo, _: *const AllocationCallbacks, _: *mut Semaphore) -> Result,
    pub DestroySemaphore: extern "system" fn(_: Device, _: Semaphore, _: *const AllocationCallbacks),
    pub CreateEvent: extern "system" fn(_: Device, _: *const EventCreateInfo, _: *const AllocationCallbacks, _: *mut Event) -> Result,
    pub DestroyEvent: extern "system" fn(_: Device, _: Event, _: *const AllocationCallbacks),
    pub GetEventStatus: extern "system" fn(_: Device, _: Event) -> Result,
    pub SetEvent: extern "system" fn(_: Device, _: Event) -> Result,
    pub ResetEvent: extern "system" fn(_: Device, _: Event) -> Result,
    pub CreateQueryPool: extern "system" fn(_: Device, _: *const QueryPoolCreateInfo, _: *const AllocationCallbacks, _: *mut QueryPool) -> Result,
    pub DestroyQueryPool: extern "system" fn(_: Device, _: QueryPool, _: *const AllocationCallbacks),
    pub GetQueryPoolResults: extern "system" fn(_: Device, _: QueryPool, _: u32, _: u32, _: usize, _: *mut c_void, _: DeviceSize, _: QueryResultFlags) -> Result,
    pub CreateBuffer: extern "system" fn(_: Device, _: *const BufferCreateInfo, _: *const AllocationCallbacks, _: *mut Buffer) -> Result,
    pub DestroyBuffer: extern "system" fn(_: Device, _: Buffer, _: *const AllocationCallbacks),
    pub CreateBufferView: extern "system" fn(_: Device, _: *const BufferViewCreateInfo, _: *const AllocationCallbacks, _: *mut BufferView) -> Result,
    pub DestroyBufferView: extern "system" fn(_: Device, _: BufferView, _: *const AllocationCallbacks),
    pub CreateImage: extern "system" fn(_: Device, _: *const ImageCreateInfo, _: *const AllocationCallbacks, _: *mut Image) -> Result,
    pub DestroyImage: extern "system" fn(_: Device, _: Image, _: *const AllocationCallbacks),
    pub GetImageSubresourceLayout: extern "system" fn(_: Device, _: Image, _: *const ImageSubresource, _: *mut SubresourceLayout),
    pub CreateImageView: extern "system" fn(_: Device, _: *const ImageViewCreateInfo, _: *const AllocationCallbacks, _: *mut ImageView) -> Result,
    pub DestroyImageView: extern "system" fn(_: Device, _: ImageView, _: *const AllocationCallbacks),
    pub CreateShaderModule: extern "system" fn(_: Device, _: *const ShaderModuleCreateInfo, _: *const AllocationCallbacks, _: *mut ShaderModule) -> Result,
    pub DestroyShaderModule: extern "system" fn(_: Device, _: ShaderModule, _: *const AllocationCallbacks),
    pub CreatePipelineCache: extern "system" fn(_: Device, _: *const PipelineCacheCreateInfo, _: *const AllocationCallbacks, _: *mut PipelineCache) -> Result,
    pub DestroyPipelineCache: extern "system" fn(_: Device, _: PipelineCache, _: *const AllocationCallbacks),
    pub GetPipelineCacheData: extern "system" fn(_: Device, _: PipelineCache, _: *mut usize, _: *mut c_void) -> Result,
    pub MergePipelineCaches: extern "system" fn(_: Device, _: PipelineCache, _: u32, _: *const PipelineCache) -> Result,
    pub CreateGraphicsPipelines: extern "system" fn(_: Device, _: PipelineCache, _: u32, _: *const GraphicsPipelineCreateInfo, _: *const AllocationCallbacks, _: *mut Pipeline) -> Result,
    pub CreateComputePipelines: extern "system" fn(_: Device, _: PipelineCache, _: u32, _: *const ComputePipelineCreateInfo, _: *const AllocationCallbacks, _: *mut Pipeline) -> Result,
    pub DestroyPipeline: extern "system" fn(_: Device, _: Pipeline, _: *const AllocationCallbacks),
    pub CreatePipelineLayout: extern "system" fn(_: Device, _: *const PipelineLayoutCreateInfo, _: *const AllocationCallbacks, _: *mut PipelineLayout) -> Result,
    pub DestroyPipelineLayout: extern "system" fn(_: Device, _: PipelineLayout, _: *const AllocationCallbacks),
    pub CreateSampler: extern "system" fn(_: Device, _: *const SamplerCreateInfo, _: *const AllocationCallbacks, _: *mut Sampler) -> Result,
    pub DestroySampler: extern "system" fn(_: Device, _: Sampler, _: *const AllocationCallbacks),
    pub CreateDescriptorSetLayout: extern "system" fn(_: Device, _: *const DescriptorSetLayoutCreateInfo, _: *const AllocationCallbacks, _: *mut DescriptorSetLayout) -> Result,
    pub DestroyDescriptorSetLayout: extern "system" fn(_: Device, _: DescriptorSetLayout, _: *const AllocationCallbacks),
    pub CreateDescriptorPool: extern "system" fn(_: Device, _: *const DescriptorPoolCreateInfo, _: *const AllocationCallbacks, _: *mut DescriptorPool) -> Result,
    pub DestroyDescriptorPool: extern "system" fn(_: Device, _: DescriptorPool, _: *const AllocationCallbacks),
    pub ResetDescriptorPool: extern "system" fn(_: Device, _: DescriptorPool, _: DescriptorPoolResetFlags) -> Result,
    pub AllocateDescriptorSets: extern "system" fn(_: Device, _: *const DescriptorSetAllocateInfo, _: *mut DescriptorSet) -> Result,
    pub FreeDescriptorSets: extern "system" fn(_: Device, _: DescriptorPool, _: u32, _: *const DescriptorSet) -> Result,
    pub UpdateDescriptorSets: extern "system" fn(_: Device, _: u32, _: *const WriteDescriptorSet, _: u32, _: *const CopyDescriptorSet),
    pub CreateFramebuffer: extern "system" fn(_: Device, _: *const FramebufferCreateInfo, _: *const AllocationCallbacks, _: *mut Framebuffer) -> Result,
    pub DestroyFramebuffer: extern "system" fn(_: Device, _: Framebuffer, _: *const AllocationCallbacks),
    pub CreateRenderPass: extern "system" fn(_: Device, _: *const RenderPassCreateInfo, _: *const AllocationCallbacks, _: *mut RenderPass) -> Result,
    pub DestroyRenderPass: extern "system" fn(_: Device, _: RenderPass, _: *const AllocationCallbacks),
    pub GetRenderAreaGranularity: extern "system" fn(_: Device, _: RenderPass, _: *mut Extent2D),
    pub CreateCommandPool: extern "system" fn(_: Device, _: *const CommandPoolCreateInfo, _: *const AllocationCallbacks, _: *mut CommandPool) -> Result,
    pub DestroyCommandPool: extern "system" fn(_: Device, _: CommandPool, _: *const AllocationCallbacks),
    pub ResetCommandPool: extern "system" fn(_: Device, _: CommandPool, _: CommandPoolResetFlags) -> Result,
    pub TrimCommandPoolKHR: extern "system" fn(_: Device, _: CommandPool, _: CommandPoolTrimFlagsKHR),
    pub AllocateCommandBuffers: extern "system" fn(_: Device, _: *const CommandBufferAllocateInfo, _: *mut CommandBuffer) -> Result,
    pub FreeCommandBuffers: extern "system" fn(_: Device, _: CommandPool, _: u32, _: *const CommandBuffer),
    pub BeginCommandBuffer: extern "system" fn(_: CommandBuffer, _: *const CommandBufferBeginInfo) -> Result,
    pub EndCommandBuffer: extern "system" fn(_: CommandBuffer) -> Result,
    pub ResetCommandBuffer: extern "system" fn(_: CommandBuffer, _: CommandBufferResetFlags) -> Result,
    pub CmdBindPipeline: extern "system" fn(_: CommandBuffer, _: PipelineBindPoint, _: Pipeline),
    pub CmdSetViewport: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: *const Viewport),
    pub CmdSetScissor: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: *const Rect2D),
    pub CmdSetLineWidth: extern "system" fn(_: CommandBuffer, _: f32),
    pub CmdSetDepthBias: extern "system" fn(_: CommandBuffer, _: f32, _: f32, _: f32),
    pub CmdSetBlendConstants: extern "system" fn(_: CommandBuffer, _: [f32; 4]),
    pub CmdSetDepthBounds: extern "system" fn(_: CommandBuffer, _: f32, _: f32),
    pub CmdSetStencilCompareMask: extern "system" fn(_: CommandBuffer, _: StencilFaceFlags, _: u32),
    pub CmdSetStencilWriteMask: extern "system" fn(_: CommandBuffer, _: StencilFaceFlags, _: u32),
    pub CmdSetStencilReference: extern "system" fn(_: CommandBuffer, _: StencilFaceFlags, _: u32),
    pub CmdBindDescriptorSets: extern "system" fn(_: CommandBuffer, _: PipelineBindPoint, _: PipelineLayout, _: u32, _: u32, _: *const DescriptorSet, _: u32, _: *const u32),
    pub CmdBindIndexBuffer: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize, _: IndexType),
    pub CmdBindVertexBuffers: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: *const Buffer, _: *const DeviceSize),
    pub CmdDraw: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: u32, _: u32),
    pub CmdDrawIndexed: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: u32, _: i32, _: u32),
    pub CmdDrawIndirect: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize, _: u32, _: u32),
    pub CmdDrawIndexedIndirect: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize, _: u32, _: u32),
    pub CmdDispatch: extern "system" fn(_: CommandBuffer, _: u32, _: u32, _: u32),
    pub CmdDispatchIndirect: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize),
    pub CmdCopyBuffer: extern "system" fn(_: CommandBuffer, _: Buffer, _: Buffer, _: u32, _: *const BufferCopy),
    pub CmdCopyImage: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: Image, _: ImageLayout, _: u32, _: *const ImageCopy),
    pub CmdBlitImage: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: Image, _: ImageLayout, _: u32, _: *const ImageBlit, _: Filter),
    pub CmdCopyBufferToImage: extern "system" fn(_: CommandBuffer, _: Buffer, _: Image, _: ImageLayout, _: u32, _: *const BufferImageCopy),
    pub CmdCopyImageToBuffer: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: Buffer, _: u32, _: *const BufferImageCopy),
    pub CmdUpdateBuffer: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize, _: DeviceSize, _: *const u32),
    pub CmdFillBuffer: extern "system" fn(_: CommandBuffer, _: Buffer, _: DeviceSize, _: DeviceSize, _: u32),
    pub CmdClearColorImage: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: *const ClearColorValue, _: u32, _: *const ImageSubresourceRange),
    pub CmdClearDepthStencilImage: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: *const ClearDepthStencilValue, _: u32, _: *const ImageSubresourceRange),
    pub CmdClearAttachments: extern "system" fn(_: CommandBuffer, _: u32, _: *const ClearAttachment, _: u32, _: *const ClearRect),
    pub CmdResolveImage: extern "system" fn(_: CommandBuffer, _: Image, _: ImageLayout, _: Image, _: ImageLayout, _: u32, _: *const ImageResolve),
    pub CmdSetEvent: extern "system" fn(_: CommandBuffer, _: Event, _: PipelineStageFlags),
    pub CmdResetEvent: extern "system" fn(_: CommandBuffer, _: Event, _: PipelineStageFlags),
    pub CmdWaitEvents: extern "system" fn(_: CommandBuffer, _: u32, _: *const Event, _: PipelineStageFlags, _: PipelineStageFlags, _: u32, _: *const MemoryBarrier, _: u32, _: *const BufferMemoryBarrier, _: u32, _: *const ImageMemoryBarrier),
    pub CmdPipelineBarrier: extern "system" fn(_: CommandBuffer, _: PipelineStageFlags, _: PipelineStageFlags, _: DependencyFlags, _: u32, _: *const MemoryBarrier, _: u32, _: *const BufferMemoryBarrier, _: u32, _: *const ImageMemoryBarrier),
    pub CmdBeginQuery: extern "system" fn(_: CommandBuffer, _: QueryPool, _: u32, _: QueryControlFlags),
    pub CmdEndQuery: extern "system" fn(_: CommandBuffer, _: QueryPool, _: u32),
    pub CmdResetQueryPool: extern "system" fn(_: CommandBuffer, _: QueryPool, _: u32, _: u32),
    pub CmdWriteTimestamp: extern "system" fn(_: CommandBuffer, _: PipelineStageFlagBits, _: QueryPool, _: u32),
    pub CmdCopyQueryPoolResults: extern "system" fn(_: CommandBuffer, _: QueryPool, _: u32, _: u32, _: Buffer, _: DeviceSize, _: DeviceSize, _: QueryResultFlags),
    pub CmdPushConstants: extern "system" fn(_: CommandBuffer, _: PipelineLayout, _: ShaderStageFlags, _: u32, _: u32, _: *const c_void),
    pub CmdBeginRenderPass: extern "system" fn(_: CommandBuffer, _: *const RenderPassBeginInfo, _: SubpassContents),
    pub CmdNextSubpass: extern "system" fn(_: CommandBuffer, _: SubpassContents),
    pub CmdEndRenderPass: extern "system" fn(_: CommandBuffer),
    pub CmdExecuteCommands: extern "system" fn(_: CommandBuffer, _: u32, _: *const CommandBuffer),
    pub CreateSwapchainKHR: extern "system" fn(_: Device, _: *const SwapchainCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SwapchainKHR) -> Result,
    pub DestroySwapchainKHR: extern "system" fn(_: Device, _: SwapchainKHR, _: *const AllocationCallbacks),
    pub GetSwapchainImagesKHR: extern "system" fn(_: Device, _: SwapchainKHR, _: *mut u32, _: *mut Image) -> Result,
    pub AcquireNextImageKHR: extern "system" fn(_: Device, _: SwapchainKHR, _: u64, _: Semaphore, _: Fence, _: *mut u32) -> Result,
    pub QueuePresentKHR: extern "system" fn(_: Queue, _: *const PresentInfoKHR) -> Result,
    pub CreateSharedSwapchainsKHR: extern "system" fn(_: Device, _: u32, _: *const SwapchainCreateInfoKHR, _: *const AllocationCallbacks, _: *mut SwapchainKHR) -> Result,
    pub CmdPushDescriptorSetKHR: extern "system" fn(_: CommandBuffer, _: PipelineBindPoint, _: PipelineLayout, _: u32, _: u32, _: *const WriteDescriptorSet),
    pub CreateDescriptorUpdateTemplateKHR: extern "system" fn(_: Device, _: *const DescriptorUpdateTemplateCreateInfoKHR, _: *const AllocationCallbacks, _: *mut DescriptorUpdateTemplateKHR) -> Result,
    pub DestroyDescriptorUpdateTemplateKHR: extern "system" fn(_: Device, _: DescriptorUpdateTemplateKHR, _: *const AllocationCallbacks),
    pub UpdateDescriptorSetWithTemplateKHR: extern "system" fn(_: Device, _: DescriptorSet, _: DescriptorUpdateTemplateKHR, _: *const c_void),
    pub CmdPushDescriptorSetWithTemplateKHR: extern "system" fn(_: CommandBuffer, _: DescriptorUpdateTemplateKHR, _: PipelineLayout, _: u32, _: *const c_void),
    pub GetImageMemoryRequirements2KHR: extern "system" fn(_: Device, _: *const ImageMemoryRequirementsInfo2KHR, _: *mut MemoryRequirements2KHR),
    pub GetBufferMemoryRequirements2KHR: extern "system" fn(_: Device, _: *const BufferMemoryRequirementsInfo2KHR, _: *mut MemoryRequirements2KHR),
}

Fields

Methods

impl DevicePointers
[src]

Trait Implementations

impl Debug for DevicePointers
[src]

Formats the value using the given formatter.

impl Send for DevicePointers
[src]

impl Sync for DevicePointers
[src]