Documentation
¶
Index ¶
- type CoreVulkanDriver
- type DeviceDriverFactory
- type DeviceVulkanDriver
- func (v *DeviceVulkanDriver) AllocateCommandBuffers(o core1_0.CommandBufferAllocateInfo) ([]core1_0.CommandBuffer, common.VkResult, error)
- func (v *DeviceVulkanDriver) AllocateDescriptorSets(o core1_0.DescriptorSetAllocateInfo) ([]core1_0.DescriptorSet, common.VkResult, error)
- func (v *DeviceVulkanDriver) AllocateMemory(allocationCallbacks *loader.AllocationCallbacks, o core1_0.MemoryAllocateInfo) (core1_0.DeviceMemory, common.VkResult, error)
- func (v *DeviceVulkanDriver) BeginCommandBuffer(commandBuffer core1_0.CommandBuffer, o core1_0.CommandBufferBeginInfo) (common.VkResult, error)
- func (v *DeviceVulkanDriver) BindBufferMemory(buffer core1_0.Buffer, memory core1_0.DeviceMemory, offset int) (common.VkResult, error)
- func (v *DeviceVulkanDriver) BindImageMemory(image core1_0.Image, memory core1_0.DeviceMemory, offset int) (common.VkResult, error)
- func (v *DeviceVulkanDriver) CmdBeginQuery(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, query int, ...)
- func (v *DeviceVulkanDriver) CmdBeginRenderPass(commandBuffer core1_0.CommandBuffer, contents core1_0.SubpassContents, ...) error
- func (v *DeviceVulkanDriver) CmdBindDescriptorSets(commandBuffer core1_0.CommandBuffer, bindPoint core1_0.PipelineBindPoint, ...)
- func (v *DeviceVulkanDriver) CmdBindIndexBuffer(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, ...)
- func (v *DeviceVulkanDriver) CmdBindPipeline(commandBuffer core1_0.CommandBuffer, bindPoint core1_0.PipelineBindPoint, ...)
- func (v *DeviceVulkanDriver) CmdBindVertexBuffers(commandBuffer core1_0.CommandBuffer, firstBinding int, ...)
- func (v *DeviceVulkanDriver) CmdBlitImage(commandBuffer core1_0.CommandBuffer, sourceImage core1_0.Image, ...) error
- func (v *DeviceVulkanDriver) CmdClearAttachments(commandBuffer core1_0.CommandBuffer, attachments []core1_0.ClearAttachment, ...) error
- func (v *DeviceVulkanDriver) CmdClearColorImage(commandBuffer core1_0.CommandBuffer, image core1_0.Image, ...)
- func (v *DeviceVulkanDriver) CmdClearDepthStencilImage(commandBuffer core1_0.CommandBuffer, image core1_0.Image, ...)
- func (v *DeviceVulkanDriver) CmdCopyBuffer(commandBuffer core1_0.CommandBuffer, srcBuffer core1_0.Buffer, ...) error
- func (v *DeviceVulkanDriver) CmdCopyBufferToImage(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, ...) error
- func (v *DeviceVulkanDriver) CmdCopyImage(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, ...) error
- func (v *DeviceVulkanDriver) CmdCopyImageToBuffer(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, ...) error
- func (v *DeviceVulkanDriver) CmdCopyQueryPoolResults(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, ...)
- func (v *DeviceVulkanDriver) CmdDispatch(commandBuffer core1_0.CommandBuffer, groupCountX, groupCountY, groupCountZ int)
- func (v *DeviceVulkanDriver) CmdDispatchIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int)
- func (v *DeviceVulkanDriver) CmdDraw(commandBuffer core1_0.CommandBuffer, vertexCount, instanceCount int, ...)
- func (v *DeviceVulkanDriver) CmdDrawIndexed(commandBuffer core1_0.CommandBuffer, indexCount, instanceCount int, ...)
- func (v *DeviceVulkanDriver) CmdDrawIndexedIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, ...)
- func (v *DeviceVulkanDriver) CmdDrawIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, ...)
- func (v *DeviceVulkanDriver) CmdEndQuery(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, query int)
- func (v *DeviceVulkanDriver) CmdEndRenderPass(commandBuffer core1_0.CommandBuffer)
- func (v *DeviceVulkanDriver) CmdExecuteCommands(commandBuffer core1_0.CommandBuffer, commandBuffers ...core1_0.CommandBuffer)
- func (v *DeviceVulkanDriver) CmdFillBuffer(commandBuffer core1_0.CommandBuffer, dstBuffer core1_0.Buffer, dstOffset int, ...)
- func (v *DeviceVulkanDriver) CmdNextSubpass(commandBuffer core1_0.CommandBuffer, contents core1_0.SubpassContents)
- func (v *DeviceVulkanDriver) CmdPipelineBarrier(commandBuffer core1_0.CommandBuffer, ...) error
- func (v *DeviceVulkanDriver) CmdPushConstants(commandBuffer core1_0.CommandBuffer, layout core1_0.PipelineLayout, ...)
- func (v *DeviceVulkanDriver) CmdResetEvent(commandBuffer core1_0.CommandBuffer, event core1_0.Event, ...)
- func (v *DeviceVulkanDriver) CmdResetQueryPool(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, ...)
- func (v *DeviceVulkanDriver) CmdResolveImage(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, ...) error
- func (v *DeviceVulkanDriver) CmdSetBlendConstants(commandBuffer core1_0.CommandBuffer, blendConstants [4]float32)
- func (v *DeviceVulkanDriver) CmdSetDepthBias(commandBuffer core1_0.CommandBuffer, ...)
- func (v *DeviceVulkanDriver) CmdSetDepthBounds(commandBuffer core1_0.CommandBuffer, min, max float32)
- func (v *DeviceVulkanDriver) CmdSetEvent(commandBuffer core1_0.CommandBuffer, event core1_0.Event, ...)
- func (v *DeviceVulkanDriver) CmdSetLineWidth(commandBuffer core1_0.CommandBuffer, lineWidth float32)
- func (v *DeviceVulkanDriver) CmdSetScissor(commandBuffer core1_0.CommandBuffer, scissors ...core1_0.Rect2D)
- func (v *DeviceVulkanDriver) CmdSetStencilCompareMask(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, ...)
- func (v *DeviceVulkanDriver) CmdSetStencilReference(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, ...)
- func (v *DeviceVulkanDriver) CmdSetStencilWriteMask(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, ...)
- func (v *DeviceVulkanDriver) CmdSetViewport(commandBuffer core1_0.CommandBuffer, viewports ...core1_0.Viewport)
- func (v *DeviceVulkanDriver) CmdUpdateBuffer(commandBuffer core1_0.CommandBuffer, dstBuffer core1_0.Buffer, dstOffset int, ...)
- func (v *DeviceVulkanDriver) CmdWaitEvents(commandBuffer core1_0.CommandBuffer, events []core1_0.Event, ...) error
- func (v *DeviceVulkanDriver) CmdWriteTimestamp(commandBuffer core1_0.CommandBuffer, pipelineStage core1_0.PipelineStageFlags, ...)
- func (v *DeviceVulkanDriver) CreateBuffer(allocationCallbacks *loader.AllocationCallbacks, o core1_0.BufferCreateInfo) (core1_0.Buffer, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateBufferView(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.BufferView, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateCommandPool(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.CommandPool, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateComputePipelines(pipelineCache *core1_0.PipelineCache, ...) ([]core1_0.Pipeline, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateDescriptorPool(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.DescriptorPool, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateDescriptorSetLayout(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.DescriptorSetLayout, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateEvent(allocationCallbacks *loader.AllocationCallbacks, o core1_0.EventCreateInfo) (core1_0.Event, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateFence(allocationCallbacks *loader.AllocationCallbacks, o core1_0.FenceCreateInfo) (core1_0.Fence, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateFramebuffer(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.Framebuffer, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateGraphicsPipelines(pipelineCache *core1_0.PipelineCache, ...) ([]core1_0.Pipeline, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateImage(allocationCallbacks *loader.AllocationCallbacks, o core1_0.ImageCreateInfo) (core1_0.Image, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateImageView(allocationCallbacks *loader.AllocationCallbacks, o core1_0.ImageViewCreateInfo) (core1_0.ImageView, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreatePipelineCache(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.PipelineCache, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreatePipelineLayout(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.PipelineLayout, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateQueryPool(allocationCallbacks *loader.AllocationCallbacks, o core1_0.QueryPoolCreateInfo) (core1_0.QueryPool, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateRenderPass(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.RenderPass, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateSampler(allocationCallbacks *loader.AllocationCallbacks, o core1_0.SamplerCreateInfo) (core1_0.Sampler, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateSemaphore(allocationCallbacks *loader.AllocationCallbacks, o core1_0.SemaphoreCreateInfo) (core1_0.Semaphore, common.VkResult, error)
- func (v *DeviceVulkanDriver) CreateShaderModule(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.ShaderModule, common.VkResult, error)
- func (v *DeviceVulkanDriver) DestroyBuffer(buffer core1_0.Buffer, allocationCallbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyBufferView(bufferView core1_0.BufferView, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyCommandPool(commandPool core1_0.CommandPool, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyDescriptorPool(descriptorPool core1_0.DescriptorPool, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyDescriptorSetLayout(layout core1_0.DescriptorSetLayout, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyDevice(callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyEvent(event core1_0.Event, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyFence(fence core1_0.Fence, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyFramebuffer(framebuffer core1_0.Framebuffer, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyImage(image core1_0.Image, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyImageView(imageView core1_0.ImageView, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyPipeline(pipeline core1_0.Pipeline, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyPipelineCache(pipelineCache core1_0.PipelineCache, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyPipelineLayout(pipelineLayout core1_0.PipelineLayout, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyQueryPool(queryPool core1_0.QueryPool, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyRenderPass(renderPass core1_0.RenderPass, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroySampler(sampler core1_0.Sampler, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroySemaphore(semaphore core1_0.Semaphore, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) DestroyShaderModule(shaderModule core1_0.ShaderModule, callbacks *loader.AllocationCallbacks)
- func (v *DeviceVulkanDriver) Device() core1_0.Device
- func (v *DeviceVulkanDriver) DeviceWaitIdle() (common.VkResult, error)
- func (v *DeviceVulkanDriver) EndCommandBuffer(commandBuffer core1_0.CommandBuffer) (common.VkResult, error)
- func (v *DeviceVulkanDriver) FlushMappedMemoryRanges(ranges ...core1_0.MappedMemoryRange) (common.VkResult, error)
- func (v *DeviceVulkanDriver) FreeCommandBuffers(buffers ...core1_0.CommandBuffer)
- func (v *DeviceVulkanDriver) FreeDescriptorSets(sets ...core1_0.DescriptorSet) (common.VkResult, error)
- func (v *DeviceVulkanDriver) FreeMemory(deviceMemory core1_0.DeviceMemory, ...)
- func (v *DeviceVulkanDriver) GetBufferMemoryRequirements(buffer core1_0.Buffer) *core1_0.MemoryRequirements
- func (v *DeviceVulkanDriver) GetDeviceMemoryCommitment(deviceMemory core1_0.DeviceMemory) int
- func (v *DeviceVulkanDriver) GetEventStatus(event core1_0.Event) (common.VkResult, error)
- func (v *DeviceVulkanDriver) GetFenceStatus(fence core1_0.Fence) (common.VkResult, error)
- func (v *DeviceVulkanDriver) GetImageMemoryRequirements(image core1_0.Image) *core1_0.MemoryRequirements
- func (v *DeviceVulkanDriver) GetImageSparseMemoryRequirements(image core1_0.Image) []core1_0.SparseImageMemoryRequirements
- func (v *DeviceVulkanDriver) GetImageSubresourceLayout(image core1_0.Image, subresource *core1_0.ImageSubresource) *core1_0.SubresourceLayout
- func (v *DeviceVulkanDriver) GetPipelineCacheData(pipelineCache core1_0.PipelineCache) ([]byte, common.VkResult, error)
- func (v *DeviceVulkanDriver) GetQueryPoolResults(queryPool core1_0.QueryPool, firstQuery, queryCount int, results []byte, ...) (common.VkResult, error)
- func (v *DeviceVulkanDriver) GetQueue(queueFamilyIndex int, queueIndex int) core1_0.Queue
- func (v *DeviceVulkanDriver) GetRenderAreaGranularity(renderPass core1_0.RenderPass) core1_0.Extent2D
- func (v *DeviceVulkanDriver) InvalidateMappedMemoryRanges(ranges ...core1_0.MappedMemoryRange) (common.VkResult, error)
- func (v *DeviceVulkanDriver) Loader() loader.Loader
- func (v *DeviceVulkanDriver) MapMemory(deviceMemory core1_0.DeviceMemory, offset int, size int, ...) (unsafe.Pointer, common.VkResult, error)
- func (v *DeviceVulkanDriver) MergePipelineCaches(dstCaches core1_0.PipelineCache, srcCaches ...core1_0.PipelineCache) (common.VkResult, error)
- func (v *DeviceVulkanDriver) QueueBindSparse(queue core1_0.Queue, fence *core1_0.Fence, bindInfos ...core1_0.BindSparseInfo) (common.VkResult, error)
- func (v *DeviceVulkanDriver) QueueSubmit(queue core1_0.Queue, fence *core1_0.Fence, o ...core1_0.SubmitInfo) (common.VkResult, error)
- func (v *DeviceVulkanDriver) QueueWaitIdle(queue core1_0.Queue) (common.VkResult, error)
- func (v *DeviceVulkanDriver) ResetCommandBuffer(commandBuffer core1_0.CommandBuffer, flags core1_0.CommandBufferResetFlags) (common.VkResult, error)
- func (v *DeviceVulkanDriver) ResetCommandPool(commandPool core1_0.CommandPool, flags core1_0.CommandPoolResetFlags) (common.VkResult, error)
- func (v *DeviceVulkanDriver) ResetDescriptorPool(descriptorPool core1_0.DescriptorPool, flags core1_0.DescriptorPoolResetFlags) (common.VkResult, error)
- func (v *DeviceVulkanDriver) ResetEvent(event core1_0.Event) (common.VkResult, error)
- func (v *DeviceVulkanDriver) ResetFences(fences ...core1_0.Fence) (common.VkResult, error)
- func (v *DeviceVulkanDriver) SetEvent(event core1_0.Event) (common.VkResult, error)
- func (v *DeviceVulkanDriver) UnmapMemory(deviceMemory core1_0.DeviceMemory)
- func (v *DeviceVulkanDriver) UpdateDescriptorSets(writes []core1_0.WriteDescriptorSet, copies []core1_0.CopyDescriptorSet) error
- func (v *DeviceVulkanDriver) WaitForFences(waitForAll bool, timeout time.Duration, fences ...core1_0.Fence) (common.VkResult, error)
- type GlobalVulkanDriver
- func (l *GlobalVulkanDriver) AvailableExtensions() (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (l *GlobalVulkanDriver) AvailableExtensionsForLayer(layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (l *GlobalVulkanDriver) AvailableLayers() (map[string]*core1_0.LayerProperties, common.VkResult, error)
- func (l *GlobalVulkanDriver) CreateInstance(allocationCallbacks *loader.AllocationCallbacks, ...) (core1_0.CoreInstanceDriver, common.VkResult, error)
- func (l *GlobalVulkanDriver) Loader() loader.Loader
- type InstanceDriverFactory
- type InstanceVulkanDriver
- func (v *InstanceVulkanDriver) CreateDevice(physicalDevice core1_0.PhysicalDevice, ...) (core1_0.CoreDeviceDriver, common.VkResult, error)
- func (v *InstanceVulkanDriver) DestroyInstance(callbacks *loader.AllocationCallbacks)
- func (v *InstanceVulkanDriver) EnumerateDeviceExtensionProperties(physicalDevice core1_0.PhysicalDevice) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (v *InstanceVulkanDriver) EnumerateDeviceExtensionPropertiesForLayer(physicalDevice core1_0.PhysicalDevice, layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
- func (v *InstanceVulkanDriver) EnumerateDeviceLayerProperties(physicalDevice core1_0.PhysicalDevice) (map[string]*core1_0.LayerProperties, common.VkResult, error)
- func (v *InstanceVulkanDriver) EnumeratePhysicalDevices() ([]core1_0.PhysicalDevice, common.VkResult, error)
- func (v *InstanceVulkanDriver) GetPhysicalDeviceFeatures(physicalDevice core1_0.PhysicalDevice) *core1_0.PhysicalDeviceFeatures
- func (v *InstanceVulkanDriver) GetPhysicalDeviceFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format) *core1_0.FormatProperties
- func (v *InstanceVulkanDriver) GetPhysicalDeviceImageFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format, ...) (*core1_0.ImageFormatProperties, common.VkResult, error)
- func (v *InstanceVulkanDriver) GetPhysicalDeviceMemoryProperties(physicalDevice core1_0.PhysicalDevice) *core1_0.PhysicalDeviceMemoryProperties
- func (v *InstanceVulkanDriver) GetPhysicalDeviceProperties(physicalDevice core1_0.PhysicalDevice) (*core1_0.PhysicalDeviceProperties, error)
- func (v *InstanceVulkanDriver) GetPhysicalDeviceQueueFamilyProperties(physicalDevice core1_0.PhysicalDevice) []*core1_0.QueueFamilyProperties
- func (v *InstanceVulkanDriver) GetPhysicalDeviceSparseImageFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format, ...) []core1_0.SparseImageFormatProperties
- func (l *InstanceVulkanDriver) Instance() core1_0.Instance
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CoreVulkanDriver ¶
type CoreVulkanDriver struct {
InstanceDriverObj core1_0.CoreInstanceDriver
DeviceVulkanDriver
}
func (*CoreVulkanDriver) InstanceDriver ¶
func (c *CoreVulkanDriver) InstanceDriver() core1_0.CoreInstanceDriver
type DeviceDriverFactory ¶
type DeviceDriverFactory func(instance core1_0.CoreInstanceDriver, device core1_0.Device) (core1_0.CoreDeviceDriver, error)
type DeviceVulkanDriver ¶
func (*DeviceVulkanDriver) AllocateCommandBuffers ¶
func (v *DeviceVulkanDriver) AllocateCommandBuffers(o core1_0.CommandBufferAllocateInfo) ([]core1_0.CommandBuffer, common.VkResult, error)
func (*DeviceVulkanDriver) AllocateDescriptorSets ¶
func (v *DeviceVulkanDriver) AllocateDescriptorSets(o core1_0.DescriptorSetAllocateInfo) ([]core1_0.DescriptorSet, common.VkResult, error)
func (*DeviceVulkanDriver) AllocateMemory ¶
func (v *DeviceVulkanDriver) AllocateMemory(allocationCallbacks *loader.AllocationCallbacks, o core1_0.MemoryAllocateInfo) (core1_0.DeviceMemory, common.VkResult, error)
func (*DeviceVulkanDriver) BeginCommandBuffer ¶
func (v *DeviceVulkanDriver) BeginCommandBuffer(commandBuffer core1_0.CommandBuffer, o core1_0.CommandBufferBeginInfo) (common.VkResult, error)
func (*DeviceVulkanDriver) BindBufferMemory ¶
func (v *DeviceVulkanDriver) BindBufferMemory(buffer core1_0.Buffer, memory core1_0.DeviceMemory, offset int) (common.VkResult, error)
func (*DeviceVulkanDriver) BindImageMemory ¶
func (v *DeviceVulkanDriver) BindImageMemory(image core1_0.Image, memory core1_0.DeviceMemory, offset int) (common.VkResult, error)
func (*DeviceVulkanDriver) CmdBeginQuery ¶
func (v *DeviceVulkanDriver) CmdBeginQuery(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, query int, flags core1_0.QueryControlFlags)
func (*DeviceVulkanDriver) CmdBeginRenderPass ¶
func (v *DeviceVulkanDriver) CmdBeginRenderPass(commandBuffer core1_0.CommandBuffer, contents core1_0.SubpassContents, o core1_0.RenderPassBeginInfo) error
func (*DeviceVulkanDriver) CmdBindDescriptorSets ¶
func (v *DeviceVulkanDriver) CmdBindDescriptorSets(commandBuffer core1_0.CommandBuffer, bindPoint core1_0.PipelineBindPoint, layout core1_0.PipelineLayout, firstSet int, sets []core1_0.DescriptorSet, dynamicOffsets []int)
func (*DeviceVulkanDriver) CmdBindIndexBuffer ¶
func (v *DeviceVulkanDriver) CmdBindIndexBuffer(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, indexType core1_0.IndexType)
func (*DeviceVulkanDriver) CmdBindPipeline ¶
func (v *DeviceVulkanDriver) CmdBindPipeline(commandBuffer core1_0.CommandBuffer, bindPoint core1_0.PipelineBindPoint, pipeline core1_0.Pipeline)
func (*DeviceVulkanDriver) CmdBindVertexBuffers ¶
func (v *DeviceVulkanDriver) CmdBindVertexBuffers(commandBuffer core1_0.CommandBuffer, firstBinding int, buffers []core1_0.Buffer, bufferOffsets []int)
func (*DeviceVulkanDriver) CmdBlitImage ¶
func (v *DeviceVulkanDriver) CmdBlitImage(commandBuffer core1_0.CommandBuffer, sourceImage core1_0.Image, sourceImageLayout core1_0.ImageLayout, destinationImage core1_0.Image, destinationImageLayout core1_0.ImageLayout, regions []core1_0.ImageBlit, filter core1_0.Filter) error
func (*DeviceVulkanDriver) CmdClearAttachments ¶
func (v *DeviceVulkanDriver) CmdClearAttachments(commandBuffer core1_0.CommandBuffer, attachments []core1_0.ClearAttachment, rects []core1_0.ClearRect) error
func (*DeviceVulkanDriver) CmdClearColorImage ¶
func (v *DeviceVulkanDriver) CmdClearColorImage(commandBuffer core1_0.CommandBuffer, image core1_0.Image, imageLayout core1_0.ImageLayout, color core1_0.ClearColorValue, ranges ...core1_0.ImageSubresourceRange)
func (*DeviceVulkanDriver) CmdClearDepthStencilImage ¶
func (v *DeviceVulkanDriver) CmdClearDepthStencilImage(commandBuffer core1_0.CommandBuffer, image core1_0.Image, imageLayout core1_0.ImageLayout, depthStencil *core1_0.ClearValueDepthStencil, ranges ...core1_0.ImageSubresourceRange)
func (*DeviceVulkanDriver) CmdCopyBuffer ¶
func (v *DeviceVulkanDriver) CmdCopyBuffer(commandBuffer core1_0.CommandBuffer, srcBuffer core1_0.Buffer, dstBuffer core1_0.Buffer, copyRegions ...core1_0.BufferCopy) error
func (*DeviceVulkanDriver) CmdCopyBufferToImage ¶
func (v *DeviceVulkanDriver) CmdCopyBufferToImage(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, image core1_0.Image, layout core1_0.ImageLayout, regions ...core1_0.BufferImageCopy) error
func (*DeviceVulkanDriver) CmdCopyImage ¶
func (v *DeviceVulkanDriver) CmdCopyImage(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, srcImageLayout core1_0.ImageLayout, dstImage core1_0.Image, dstImageLayout core1_0.ImageLayout, regions ...core1_0.ImageCopy) error
func (*DeviceVulkanDriver) CmdCopyImageToBuffer ¶
func (v *DeviceVulkanDriver) CmdCopyImageToBuffer(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, srcImageLayout core1_0.ImageLayout, dstBuffer core1_0.Buffer, regions ...core1_0.BufferImageCopy) error
func (*DeviceVulkanDriver) CmdCopyQueryPoolResults ¶
func (v *DeviceVulkanDriver) CmdCopyQueryPoolResults(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, firstQuery, queryCount int, dstBuffer core1_0.Buffer, dstOffset, stride int, flags core1_0.QueryResultFlags)
func (*DeviceVulkanDriver) CmdDispatch ¶
func (v *DeviceVulkanDriver) CmdDispatch(commandBuffer core1_0.CommandBuffer, groupCountX, groupCountY, groupCountZ int)
func (*DeviceVulkanDriver) CmdDispatchIndirect ¶
func (v *DeviceVulkanDriver) CmdDispatchIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int)
func (*DeviceVulkanDriver) CmdDraw ¶
func (v *DeviceVulkanDriver) CmdDraw(commandBuffer core1_0.CommandBuffer, vertexCount, instanceCount int, firstVertex, firstInstance uint32)
func (*DeviceVulkanDriver) CmdDrawIndexed ¶
func (v *DeviceVulkanDriver) CmdDrawIndexed(commandBuffer core1_0.CommandBuffer, indexCount, instanceCount int, firstIndex uint32, vertexOffset int, firstInstance uint32)
func (*DeviceVulkanDriver) CmdDrawIndexedIndirect ¶
func (v *DeviceVulkanDriver) CmdDrawIndexedIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, drawCount, stride int)
func (*DeviceVulkanDriver) CmdDrawIndirect ¶
func (v *DeviceVulkanDriver) CmdDrawIndirect(commandBuffer core1_0.CommandBuffer, buffer core1_0.Buffer, offset int, drawCount, stride int)
func (*DeviceVulkanDriver) CmdEndQuery ¶
func (v *DeviceVulkanDriver) CmdEndQuery(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, query int)
func (*DeviceVulkanDriver) CmdEndRenderPass ¶
func (v *DeviceVulkanDriver) CmdEndRenderPass(commandBuffer core1_0.CommandBuffer)
func (*DeviceVulkanDriver) CmdExecuteCommands ¶
func (v *DeviceVulkanDriver) CmdExecuteCommands(commandBuffer core1_0.CommandBuffer, commandBuffers ...core1_0.CommandBuffer)
func (*DeviceVulkanDriver) CmdFillBuffer ¶
func (v *DeviceVulkanDriver) CmdFillBuffer(commandBuffer core1_0.CommandBuffer, dstBuffer core1_0.Buffer, dstOffset int, size int, data uint32)
func (*DeviceVulkanDriver) CmdNextSubpass ¶
func (v *DeviceVulkanDriver) CmdNextSubpass(commandBuffer core1_0.CommandBuffer, contents core1_0.SubpassContents)
func (*DeviceVulkanDriver) CmdPipelineBarrier ¶
func (v *DeviceVulkanDriver) CmdPipelineBarrier(commandBuffer core1_0.CommandBuffer, srcStageMask, dstStageMask core1_0.PipelineStageFlags, dependencies core1_0.DependencyFlags, memoryBarriers []core1_0.MemoryBarrier, bufferMemoryBarriers []core1_0.BufferMemoryBarrier, imageMemoryBarriers []core1_0.ImageMemoryBarrier) error
func (*DeviceVulkanDriver) CmdPushConstants ¶
func (v *DeviceVulkanDriver) CmdPushConstants(commandBuffer core1_0.CommandBuffer, layout core1_0.PipelineLayout, stageFlags core1_0.ShaderStageFlags, offset int, valueBytes []byte)
func (*DeviceVulkanDriver) CmdResetEvent ¶
func (v *DeviceVulkanDriver) CmdResetEvent(commandBuffer core1_0.CommandBuffer, event core1_0.Event, stageMask core1_0.PipelineStageFlags)
func (*DeviceVulkanDriver) CmdResetQueryPool ¶
func (v *DeviceVulkanDriver) CmdResetQueryPool(commandBuffer core1_0.CommandBuffer, queryPool core1_0.QueryPool, startQuery, queryCount int)
func (*DeviceVulkanDriver) CmdResolveImage ¶
func (v *DeviceVulkanDriver) CmdResolveImage(commandBuffer core1_0.CommandBuffer, srcImage core1_0.Image, srcImageLayout core1_0.ImageLayout, dstImage core1_0.Image, dstImageLayout core1_0.ImageLayout, regions ...core1_0.ImageResolve) error
func (*DeviceVulkanDriver) CmdSetBlendConstants ¶
func (v *DeviceVulkanDriver) CmdSetBlendConstants(commandBuffer core1_0.CommandBuffer, blendConstants [4]float32)
func (*DeviceVulkanDriver) CmdSetDepthBias ¶
func (v *DeviceVulkanDriver) CmdSetDepthBias(commandBuffer core1_0.CommandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor float32)
func (*DeviceVulkanDriver) CmdSetDepthBounds ¶
func (v *DeviceVulkanDriver) CmdSetDepthBounds(commandBuffer core1_0.CommandBuffer, min, max float32)
func (*DeviceVulkanDriver) CmdSetEvent ¶
func (v *DeviceVulkanDriver) CmdSetEvent(commandBuffer core1_0.CommandBuffer, event core1_0.Event, stageMask core1_0.PipelineStageFlags)
func (*DeviceVulkanDriver) CmdSetLineWidth ¶
func (v *DeviceVulkanDriver) CmdSetLineWidth(commandBuffer core1_0.CommandBuffer, lineWidth float32)
func (*DeviceVulkanDriver) CmdSetScissor ¶
func (v *DeviceVulkanDriver) CmdSetScissor(commandBuffer core1_0.CommandBuffer, scissors ...core1_0.Rect2D)
func (*DeviceVulkanDriver) CmdSetStencilCompareMask ¶
func (v *DeviceVulkanDriver) CmdSetStencilCompareMask(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, compareMask uint32)
func (*DeviceVulkanDriver) CmdSetStencilReference ¶
func (v *DeviceVulkanDriver) CmdSetStencilReference(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, reference uint32)
func (*DeviceVulkanDriver) CmdSetStencilWriteMask ¶
func (v *DeviceVulkanDriver) CmdSetStencilWriteMask(commandBuffer core1_0.CommandBuffer, faceMask core1_0.StencilFaceFlags, writeMask uint32)
func (*DeviceVulkanDriver) CmdSetViewport ¶
func (v *DeviceVulkanDriver) CmdSetViewport(commandBuffer core1_0.CommandBuffer, viewports ...core1_0.Viewport)
func (*DeviceVulkanDriver) CmdUpdateBuffer ¶
func (v *DeviceVulkanDriver) CmdUpdateBuffer(commandBuffer core1_0.CommandBuffer, dstBuffer core1_0.Buffer, dstOffset int, dataSize int, data []byte)
func (*DeviceVulkanDriver) CmdWaitEvents ¶
func (v *DeviceVulkanDriver) CmdWaitEvents(commandBuffer core1_0.CommandBuffer, events []core1_0.Event, srcStageMask core1_0.PipelineStageFlags, dstStageMask core1_0.PipelineStageFlags, memoryBarriers []core1_0.MemoryBarrier, bufferMemoryBarriers []core1_0.BufferMemoryBarrier, imageMemoryBarriers []core1_0.ImageMemoryBarrier) error
func (*DeviceVulkanDriver) CmdWriteTimestamp ¶
func (v *DeviceVulkanDriver) CmdWriteTimestamp(commandBuffer core1_0.CommandBuffer, pipelineStage core1_0.PipelineStageFlags, queryPool core1_0.QueryPool, query int)
func (*DeviceVulkanDriver) CreateBuffer ¶
func (v *DeviceVulkanDriver) CreateBuffer(allocationCallbacks *loader.AllocationCallbacks, o core1_0.BufferCreateInfo) (core1_0.Buffer, common.VkResult, error)
func (*DeviceVulkanDriver) CreateBufferView ¶
func (v *DeviceVulkanDriver) CreateBufferView(allocationCallbacks *loader.AllocationCallbacks, options core1_0.BufferViewCreateInfo) (core1_0.BufferView, common.VkResult, error)
func (*DeviceVulkanDriver) CreateCommandPool ¶
func (v *DeviceVulkanDriver) CreateCommandPool(allocationCallbacks *loader.AllocationCallbacks, o core1_0.CommandPoolCreateInfo) (core1_0.CommandPool, common.VkResult, error)
func (*DeviceVulkanDriver) CreateComputePipelines ¶
func (v *DeviceVulkanDriver) CreateComputePipelines(pipelineCache *core1_0.PipelineCache, allocationCallbacks *loader.AllocationCallbacks, o ...core1_0.ComputePipelineCreateInfo) ([]core1_0.Pipeline, common.VkResult, error)
func (*DeviceVulkanDriver) CreateDescriptorPool ¶
func (v *DeviceVulkanDriver) CreateDescriptorPool(allocationCallbacks *loader.AllocationCallbacks, o core1_0.DescriptorPoolCreateInfo) (core1_0.DescriptorPool, common.VkResult, error)
func (*DeviceVulkanDriver) CreateDescriptorSetLayout ¶
func (v *DeviceVulkanDriver) CreateDescriptorSetLayout(allocationCallbacks *loader.AllocationCallbacks, o core1_0.DescriptorSetLayoutCreateInfo) (core1_0.DescriptorSetLayout, common.VkResult, error)
func (*DeviceVulkanDriver) CreateEvent ¶
func (v *DeviceVulkanDriver) CreateEvent(allocationCallbacks *loader.AllocationCallbacks, o core1_0.EventCreateInfo) (core1_0.Event, common.VkResult, error)
func (*DeviceVulkanDriver) CreateFence ¶
func (v *DeviceVulkanDriver) CreateFence(allocationCallbacks *loader.AllocationCallbacks, o core1_0.FenceCreateInfo) (core1_0.Fence, common.VkResult, error)
func (*DeviceVulkanDriver) CreateFramebuffer ¶
func (v *DeviceVulkanDriver) CreateFramebuffer(allocationCallbacks *loader.AllocationCallbacks, o core1_0.FramebufferCreateInfo) (core1_0.Framebuffer, common.VkResult, error)
func (*DeviceVulkanDriver) CreateGraphicsPipelines ¶
func (v *DeviceVulkanDriver) CreateGraphicsPipelines(pipelineCache *core1_0.PipelineCache, allocationCallbacks *loader.AllocationCallbacks, o ...core1_0.GraphicsPipelineCreateInfo) ([]core1_0.Pipeline, common.VkResult, error)
func (*DeviceVulkanDriver) CreateImage ¶
func (v *DeviceVulkanDriver) CreateImage(allocationCallbacks *loader.AllocationCallbacks, o core1_0.ImageCreateInfo) (core1_0.Image, common.VkResult, error)
func (*DeviceVulkanDriver) CreateImageView ¶
func (v *DeviceVulkanDriver) CreateImageView(allocationCallbacks *loader.AllocationCallbacks, o core1_0.ImageViewCreateInfo) (core1_0.ImageView, common.VkResult, error)
func (*DeviceVulkanDriver) CreatePipelineCache ¶
func (v *DeviceVulkanDriver) CreatePipelineCache(allocationCallbacks *loader.AllocationCallbacks, o core1_0.PipelineCacheCreateInfo) (core1_0.PipelineCache, common.VkResult, error)
func (*DeviceVulkanDriver) CreatePipelineLayout ¶
func (v *DeviceVulkanDriver) CreatePipelineLayout(allocationCallbacks *loader.AllocationCallbacks, o core1_0.PipelineLayoutCreateInfo) (core1_0.PipelineLayout, common.VkResult, error)
func (*DeviceVulkanDriver) CreateQueryPool ¶
func (v *DeviceVulkanDriver) CreateQueryPool(allocationCallbacks *loader.AllocationCallbacks, o core1_0.QueryPoolCreateInfo) (core1_0.QueryPool, common.VkResult, error)
func (*DeviceVulkanDriver) CreateRenderPass ¶
func (v *DeviceVulkanDriver) CreateRenderPass(allocationCallbacks *loader.AllocationCallbacks, o core1_0.RenderPassCreateInfo) (core1_0.RenderPass, common.VkResult, error)
func (*DeviceVulkanDriver) CreateSampler ¶
func (v *DeviceVulkanDriver) CreateSampler(allocationCallbacks *loader.AllocationCallbacks, o core1_0.SamplerCreateInfo) (core1_0.Sampler, common.VkResult, error)
func (*DeviceVulkanDriver) CreateSemaphore ¶
func (v *DeviceVulkanDriver) CreateSemaphore(allocationCallbacks *loader.AllocationCallbacks, o core1_0.SemaphoreCreateInfo) (core1_0.Semaphore, common.VkResult, error)
func (*DeviceVulkanDriver) CreateShaderModule ¶
func (v *DeviceVulkanDriver) CreateShaderModule(allocationCallbacks *loader.AllocationCallbacks, o core1_0.ShaderModuleCreateInfo) (core1_0.ShaderModule, common.VkResult, error)
func (*DeviceVulkanDriver) DestroyBuffer ¶
func (v *DeviceVulkanDriver) DestroyBuffer(buffer core1_0.Buffer, allocationCallbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyBufferView ¶
func (v *DeviceVulkanDriver) DestroyBufferView(bufferView core1_0.BufferView, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyCommandPool ¶
func (v *DeviceVulkanDriver) DestroyCommandPool(commandPool core1_0.CommandPool, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyDescriptorPool ¶
func (v *DeviceVulkanDriver) DestroyDescriptorPool(descriptorPool core1_0.DescriptorPool, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyDescriptorSetLayout ¶
func (v *DeviceVulkanDriver) DestroyDescriptorSetLayout(layout core1_0.DescriptorSetLayout, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyDevice ¶
func (v *DeviceVulkanDriver) DestroyDevice(callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyEvent ¶
func (v *DeviceVulkanDriver) DestroyEvent(event core1_0.Event, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyFence ¶
func (v *DeviceVulkanDriver) DestroyFence(fence core1_0.Fence, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyFramebuffer ¶
func (v *DeviceVulkanDriver) DestroyFramebuffer(framebuffer core1_0.Framebuffer, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyImage ¶
func (v *DeviceVulkanDriver) DestroyImage(image core1_0.Image, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyImageView ¶
func (v *DeviceVulkanDriver) DestroyImageView(imageView core1_0.ImageView, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyPipeline ¶
func (v *DeviceVulkanDriver) DestroyPipeline(pipeline core1_0.Pipeline, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyPipelineCache ¶
func (v *DeviceVulkanDriver) DestroyPipelineCache(pipelineCache core1_0.PipelineCache, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyPipelineLayout ¶
func (v *DeviceVulkanDriver) DestroyPipelineLayout(pipelineLayout core1_0.PipelineLayout, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyQueryPool ¶
func (v *DeviceVulkanDriver) DestroyQueryPool(queryPool core1_0.QueryPool, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyRenderPass ¶
func (v *DeviceVulkanDriver) DestroyRenderPass(renderPass core1_0.RenderPass, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroySampler ¶
func (v *DeviceVulkanDriver) DestroySampler(sampler core1_0.Sampler, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroySemaphore ¶
func (v *DeviceVulkanDriver) DestroySemaphore(semaphore core1_0.Semaphore, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) DestroyShaderModule ¶
func (v *DeviceVulkanDriver) DestroyShaderModule(shaderModule core1_0.ShaderModule, callbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) Device ¶
func (v *DeviceVulkanDriver) Device() core1_0.Device
func (*DeviceVulkanDriver) DeviceWaitIdle ¶
func (v *DeviceVulkanDriver) DeviceWaitIdle() (common.VkResult, error)
func (*DeviceVulkanDriver) EndCommandBuffer ¶
func (v *DeviceVulkanDriver) EndCommandBuffer(commandBuffer core1_0.CommandBuffer) (common.VkResult, error)
func (*DeviceVulkanDriver) FlushMappedMemoryRanges ¶
func (v *DeviceVulkanDriver) FlushMappedMemoryRanges(ranges ...core1_0.MappedMemoryRange) (common.VkResult, error)
func (*DeviceVulkanDriver) FreeCommandBuffers ¶
func (v *DeviceVulkanDriver) FreeCommandBuffers(buffers ...core1_0.CommandBuffer)
func (*DeviceVulkanDriver) FreeDescriptorSets ¶
func (v *DeviceVulkanDriver) FreeDescriptorSets(sets ...core1_0.DescriptorSet) (common.VkResult, error)
func (*DeviceVulkanDriver) FreeMemory ¶
func (v *DeviceVulkanDriver) FreeMemory(deviceMemory core1_0.DeviceMemory, allocationCallbacks *loader.AllocationCallbacks)
func (*DeviceVulkanDriver) GetBufferMemoryRequirements ¶
func (v *DeviceVulkanDriver) GetBufferMemoryRequirements(buffer core1_0.Buffer) *core1_0.MemoryRequirements
func (*DeviceVulkanDriver) GetDeviceMemoryCommitment ¶
func (v *DeviceVulkanDriver) GetDeviceMemoryCommitment(deviceMemory core1_0.DeviceMemory) int
func (*DeviceVulkanDriver) GetEventStatus ¶
func (*DeviceVulkanDriver) GetFenceStatus ¶
func (*DeviceVulkanDriver) GetImageMemoryRequirements ¶
func (v *DeviceVulkanDriver) GetImageMemoryRequirements(image core1_0.Image) *core1_0.MemoryRequirements
func (*DeviceVulkanDriver) GetImageSparseMemoryRequirements ¶
func (v *DeviceVulkanDriver) GetImageSparseMemoryRequirements(image core1_0.Image) []core1_0.SparseImageMemoryRequirements
func (*DeviceVulkanDriver) GetImageSubresourceLayout ¶
func (v *DeviceVulkanDriver) GetImageSubresourceLayout(image core1_0.Image, subresource *core1_0.ImageSubresource) *core1_0.SubresourceLayout
func (*DeviceVulkanDriver) GetPipelineCacheData ¶
func (v *DeviceVulkanDriver) GetPipelineCacheData(pipelineCache core1_0.PipelineCache) ([]byte, common.VkResult, error)
func (*DeviceVulkanDriver) GetQueryPoolResults ¶
func (*DeviceVulkanDriver) GetQueue ¶
func (v *DeviceVulkanDriver) GetQueue(queueFamilyIndex int, queueIndex int) core1_0.Queue
func (*DeviceVulkanDriver) GetRenderAreaGranularity ¶
func (v *DeviceVulkanDriver) GetRenderAreaGranularity(renderPass core1_0.RenderPass) core1_0.Extent2D
func (*DeviceVulkanDriver) InvalidateMappedMemoryRanges ¶
func (v *DeviceVulkanDriver) InvalidateMappedMemoryRanges(ranges ...core1_0.MappedMemoryRange) (common.VkResult, error)
func (*DeviceVulkanDriver) Loader ¶
func (v *DeviceVulkanDriver) Loader() loader.Loader
func (*DeviceVulkanDriver) MapMemory ¶
func (v *DeviceVulkanDriver) MapMemory(deviceMemory core1_0.DeviceMemory, offset int, size int, flags core1_0.MemoryMapFlags) (unsafe.Pointer, common.VkResult, error)
func (*DeviceVulkanDriver) MergePipelineCaches ¶
func (v *DeviceVulkanDriver) MergePipelineCaches(dstCaches core1_0.PipelineCache, srcCaches ...core1_0.PipelineCache) (common.VkResult, error)
func (*DeviceVulkanDriver) QueueBindSparse ¶
func (v *DeviceVulkanDriver) QueueBindSparse(queue core1_0.Queue, fence *core1_0.Fence, bindInfos ...core1_0.BindSparseInfo) (common.VkResult, error)
func (*DeviceVulkanDriver) QueueSubmit ¶
func (v *DeviceVulkanDriver) QueueSubmit(queue core1_0.Queue, fence *core1_0.Fence, o ...core1_0.SubmitInfo) (common.VkResult, error)
func (*DeviceVulkanDriver) QueueWaitIdle ¶
func (*DeviceVulkanDriver) ResetCommandBuffer ¶
func (v *DeviceVulkanDriver) ResetCommandBuffer(commandBuffer core1_0.CommandBuffer, flags core1_0.CommandBufferResetFlags) (common.VkResult, error)
func (*DeviceVulkanDriver) ResetCommandPool ¶
func (v *DeviceVulkanDriver) ResetCommandPool(commandPool core1_0.CommandPool, flags core1_0.CommandPoolResetFlags) (common.VkResult, error)
func (*DeviceVulkanDriver) ResetDescriptorPool ¶
func (v *DeviceVulkanDriver) ResetDescriptorPool(descriptorPool core1_0.DescriptorPool, flags core1_0.DescriptorPoolResetFlags) (common.VkResult, error)
func (*DeviceVulkanDriver) ResetEvent ¶
func (*DeviceVulkanDriver) ResetFences ¶
func (*DeviceVulkanDriver) UnmapMemory ¶
func (v *DeviceVulkanDriver) UnmapMemory(deviceMemory core1_0.DeviceMemory)
func (*DeviceVulkanDriver) UpdateDescriptorSets ¶
func (v *DeviceVulkanDriver) UpdateDescriptorSets(writes []core1_0.WriteDescriptorSet, copies []core1_0.CopyDescriptorSet) error
type GlobalVulkanDriver ¶
type GlobalVulkanDriver struct {
LoaderObj loader.Loader
InstanceDriverFactory InstanceDriverFactory
DeviceDriverFactory DeviceDriverFactory
}
func (*GlobalVulkanDriver) AvailableExtensions ¶
func (l *GlobalVulkanDriver) AvailableExtensions() (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*GlobalVulkanDriver) AvailableExtensionsForLayer ¶
func (l *GlobalVulkanDriver) AvailableExtensionsForLayer(layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*GlobalVulkanDriver) AvailableLayers ¶
func (l *GlobalVulkanDriver) AvailableLayers() (map[string]*core1_0.LayerProperties, common.VkResult, error)
func (*GlobalVulkanDriver) CreateInstance ¶
func (l *GlobalVulkanDriver) CreateInstance(allocationCallbacks *loader.AllocationCallbacks, options core1_0.InstanceCreateInfo) (core1_0.CoreInstanceDriver, common.VkResult, error)
func (*GlobalVulkanDriver) Loader ¶
func (l *GlobalVulkanDriver) Loader() loader.Loader
type InstanceDriverFactory ¶
type InstanceDriverFactory func(global *GlobalVulkanDriver, instance core1_0.Instance) (core1_0.CoreInstanceDriver, error)
type InstanceVulkanDriver ¶
type InstanceVulkanDriver struct {
GlobalVulkanDriver
InstanceObj core1_0.Instance
}
func (*InstanceVulkanDriver) CreateDevice ¶
func (v *InstanceVulkanDriver) CreateDevice(physicalDevice core1_0.PhysicalDevice, allocationCallbacks *loader.AllocationCallbacks, options core1_0.DeviceCreateInfo) (core1_0.CoreDeviceDriver, common.VkResult, error)
func (*InstanceVulkanDriver) DestroyInstance ¶
func (v *InstanceVulkanDriver) DestroyInstance(callbacks *loader.AllocationCallbacks)
func (*InstanceVulkanDriver) EnumerateDeviceExtensionProperties ¶
func (v *InstanceVulkanDriver) EnumerateDeviceExtensionProperties(physicalDevice core1_0.PhysicalDevice) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*InstanceVulkanDriver) EnumerateDeviceExtensionPropertiesForLayer ¶
func (v *InstanceVulkanDriver) EnumerateDeviceExtensionPropertiesForLayer(physicalDevice core1_0.PhysicalDevice, layerName string) (map[string]*core1_0.ExtensionProperties, common.VkResult, error)
func (*InstanceVulkanDriver) EnumerateDeviceLayerProperties ¶
func (v *InstanceVulkanDriver) EnumerateDeviceLayerProperties(physicalDevice core1_0.PhysicalDevice) (map[string]*core1_0.LayerProperties, common.VkResult, error)
func (*InstanceVulkanDriver) EnumeratePhysicalDevices ¶
func (v *InstanceVulkanDriver) EnumeratePhysicalDevices() ([]core1_0.PhysicalDevice, common.VkResult, error)
func (*InstanceVulkanDriver) GetPhysicalDeviceFeatures ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceFeatures(physicalDevice core1_0.PhysicalDevice) *core1_0.PhysicalDeviceFeatures
func (*InstanceVulkanDriver) GetPhysicalDeviceFormatProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format) *core1_0.FormatProperties
func (*InstanceVulkanDriver) GetPhysicalDeviceImageFormatProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceImageFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format, imageType core1_0.ImageType, tiling core1_0.ImageTiling, usages core1_0.ImageUsageFlags, flags core1_0.ImageCreateFlags) (*core1_0.ImageFormatProperties, common.VkResult, error)
func (*InstanceVulkanDriver) GetPhysicalDeviceMemoryProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceMemoryProperties(physicalDevice core1_0.PhysicalDevice) *core1_0.PhysicalDeviceMemoryProperties
func (*InstanceVulkanDriver) GetPhysicalDeviceProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceProperties(physicalDevice core1_0.PhysicalDevice) (*core1_0.PhysicalDeviceProperties, error)
func (*InstanceVulkanDriver) GetPhysicalDeviceQueueFamilyProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceQueueFamilyProperties(physicalDevice core1_0.PhysicalDevice) []*core1_0.QueueFamilyProperties
func (*InstanceVulkanDriver) GetPhysicalDeviceSparseImageFormatProperties ¶
func (v *InstanceVulkanDriver) GetPhysicalDeviceSparseImageFormatProperties(physicalDevice core1_0.PhysicalDevice, format core1_0.Format, imageType core1_0.ImageType, samples core1_0.SampleCountFlags, usages core1_0.ImageUsageFlags, tiling core1_0.ImageTiling) []core1_0.SparseImageFormatProperties
func (*InstanceVulkanDriver) Instance ¶
func (l *InstanceVulkanDriver) Instance() core1_0.Instance
Source Files
¶
Click to show internal directories.
Click to hide internal directories.