vkx

package
v0.0.0-...-b05aa3b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 3, 2019 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

View Source
const (
	EngineVersion        = 1
	DefaultVulkanVersion = vk.API_VERSION_1_1
	NumRails             = 2
)
View Source
const (
	MaxTimestamp = 0x7FFFFFFFFFFFFFFF
	MaxCycleTime = 0x00FFFFFF // 24 bit
)

Variables

View Source
var (
	DefaultAllocator *vk.AllocationCallbacks
)

Functions

func CycleTime

func CycleTime() uint32

func CycleTimeFloat

func CycleTimeFloat() float32

func DefaultDebugReportCallback

func DefaultDebugReportCallback() vk.PfnDebugReportCallbackEXT

func EnumerateExtensions

func EnumerateExtensions(forLayer string) (m map[string]uint32, err error)

func EnumerateLayers

func EnumerateLayers() (m map[string]uint32, err error)

func RegisterSuite

func RegisterSuite(s cfg.Suite)

func SyncTime

func SyncTime() time.Time

func Timestamp

func Timestamp() int64

Timestamp in miliseconds

func ToSysTime

func ToSysTime(ms int64) time.Time

func ToTimestamp

func ToTimestamp(t time.Time) int64

Types

type BufferMemory

type BufferMemory struct {
	VkBuffer       vk.Buffer
	VkDeviceMemory vk.DeviceMemory
	Size           uint64
	*Device
}

func (*BufferMemory) Close

func (buf *BufferMemory) Close() error

func (*BufferMemory) FillMemory

func (buf *BufferMemory) FillMemory(offset, size uint64, flags vk.MemoryMapFlags, pSrc unsafe.Pointer) error

func (*BufferMemory) FillMemoryI

func (buf *BufferMemory) FillMemoryI(offset uint64, flags vk.MemoryMapFlags, src interface{}) error

func (*BufferMemory) Init

func (buf *BufferMemory) Init(dev *Device, size uint64, usage vk.BufferUsageFlags, memoryProperties vk.MemoryPropertyFlags) (err error)

func (*BufferMemory) MapMemory

func (buf *BufferMemory) MapMemory(offset, size uint64, flags vk.MemoryMapFlags) (addr unsafe.Pointer, err error)

func (*BufferMemory) UnmapMemory

func (buf *BufferMemory) UnmapMemory()

type ClearValues

type ClearValues struct {
	// contains filtered or unexported fields
}

func (ClearValues) Count

func (cvs ClearValues) Count() int

func (*ClearValues) Free

func (cvs *ClearValues) Free()

func (ClearValues) Get

func (cvs ClearValues) Get(i int) *vk.ClearValue

func (ClearValues) Ptr

func (cvs ClearValues) Ptr() *vk.ClearValue

func (*ClearValues) SetCount

func (cvs *ClearValues) SetCount(n int)

type CommandBuffer

type CommandBuffer struct {
	VkCommandBuffer vk.CommandBuffer
	VkCommandPool   vk.CommandPool
	*Device
}

func (CommandBuffer) AllocTempHandle

func (cb CommandBuffer) AllocTempHandle() *vk.CommandBuffer

func (CommandBuffer) Begin

func (CommandBuffer) BeginRenderPass

func (cb CommandBuffer) BeginRenderPass(pBeginInfo *vk.RenderPassBeginInfo, subpassContents vk.SubpassContents)

func (CommandBuffer) BindDescriptorSets

func (cb CommandBuffer) BindDescriptorSets(pipelineBindPoint vk.PipelineBindPoint, layout vk.PipelineLayout,
	firstSet, descriptorSetCount uint32, pDescriptorSets *vk.DescriptorSet, dynamicOffsetCount uint32, pDynamicOffsets *uint32)

func (CommandBuffer) BindPipeline

func (cb CommandBuffer) BindPipeline(pipelineBindPoint vk.PipelineBindPoint, pipeline vk.Pipeline)

func (CommandBuffer) BindVertexBuffers

func (cb CommandBuffer) BindVertexBuffers(firstBinding, bindingCount uint32, pBuffers *vk.Buffer, pOffsets *vk.DeviceSize)

func (CommandBuffer) ClearAttachments

func (cb CommandBuffer) ClearAttachments(attachmentCount uint32, pAttachments *vk.ClearAttachment, rectCount uint32, pRects *vk.ClearRect)

func (CommandBuffer) ClearColorImage

func (cb CommandBuffer) ClearColorImage(image vk.Image, imageLayout vk.ImageLayout,
	pColor *vk.ClearColorValue, rangeCount uint32, pRanges *vk.ImageSubresourceRange)

func (CommandBuffer) CopyBuffer

func (cb CommandBuffer) CopyBuffer(srcBuffer, dstBuffer vk.Buffer, regionCount uint32, pRegions *vk.BufferCopy)

func (CommandBuffer) CopyBufferToImage

func (cb CommandBuffer) CopyBufferToImage(srcBuffer vk.Buffer, dstImage vk.Image, dstImageLayout vk.ImageLayout, regionCount uint32, pRegions *vk.BufferImageCopy)

func (CommandBuffer) Draw

func (cb CommandBuffer) Draw(vertexCount, instanceCount, firstVertex, firstInstance uint32)

func (CommandBuffer) DrawIndexed

func (cb CommandBuffer) DrawIndexed(indexCount, instanceCount, firstIndex uint32, vertexOffset int32, firstInstance uint32)

func (CommandBuffer) End

func (cb CommandBuffer) End() error

func (CommandBuffer) EndRenderPass

func (cb CommandBuffer) EndRenderPass()

func (*CommandBuffer) Free

func (cb *CommandBuffer) Free()

func (CommandBuffer) FreeTempHandle

func (cb CommandBuffer) FreeTempHandle(tmpHandle *vk.CommandBuffer)

func (CommandBuffer) NextSubpass

func (cb CommandBuffer) NextSubpass(subpassContents vk.SubpassContents)

func (CommandBuffer) PipelineBarrier

func (cb CommandBuffer) PipelineBarrier(srcStageMask, dstStageMask vk.PipelineStageFlags, dependencyFlags vk.DependencyFlags,
	memoryBarrierCount uint32, pMemoryBarriers *vk.MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers *vk.BufferMemoryBarrier,
	imageMemoryBarrierCount uint32, pImageMemoryBarriers *vk.ImageMemoryBarrier)

func (CommandBuffer) PushConstants

func (cb CommandBuffer) PushConstants(layout vk.PipelineLayout, stageFlags vk.ShaderStageFlags, offset, size uint32, pValues unsafe.Pointer)

func (*CommandBuffer) Reset

func (cb *CommandBuffer) Reset(flags vk.CommandBufferResetFlags)

func (CommandBuffer) Submit

func (cmd CommandBuffer) Submit(queue vk.Queue) error

func (CommandBuffer) TransitionImageLayout

func (cb CommandBuffer) TransitionImageLayout(image vk.Image, format vk.Format, oldLayout vk.ImageLayout, newLayout vk.ImageLayout)

type CommandPool

type CommandPool struct {
	VkCommandPool vk.CommandPool
	*Device
}

func (*CommandPool) Allocate

func (pool *CommandPool) Allocate(lvl vk.CommandBufferLevel) (cb CommandBuffer, err error)

func (*CommandPool) BeginOneShot

func (pool *CommandPool) BeginOneShot(lvl vk.CommandBufferLevel, flags vk.CommandBufferUsageFlags) (cb CommandBuffer, err error)

func (CommandPool) Close

func (pool CommandPool) Close() error

type CompiledGroup

type CompiledGroup struct {
	Attr      VertAttrib
	Stride    uint32
	FirstVert uint32
	NumVert   uint32
	FirstIdx  uint32
	NumIdx    uint32
}

type CompiledModel

type CompiledModel struct {
	VB     BufferMemory
	IB     BufferMemory
	Groups []CompiledGroup
}

func (*CompiledModel) Close

func (cm *CompiledModel) Close() error

func (*CompiledModel) RecordCommands

func (cm *CompiledModel) RecordCommands(cb CommandBuffer, pl *Pipeline)

type DescriptorPool

type DescriptorPool struct {
	VkDescriptorPool vk.DescriptorPool
	*Device
}

func (*DescriptorPool) AllocateDescriptorSet

func (pool *DescriptorPool) AllocateDescriptorSet(vkSetLayout vk.DescriptorSetLayout) (vkDescriptorSet vk.DescriptorSet, err error)

func (*DescriptorPool) Close

func (pool *DescriptorPool) Close() error

func (*DescriptorPool) FreeDescriptorSet

func (pool *DescriptorPool) FreeDescriptorSet(vkDescriptorSet vk.DescriptorSet) error

type DescriptorSetLayout

type DescriptorSetLayout struct {
	CfgDescriptorLayout   cfg.DescriptorSetLayout
	VkDescriptorSetLayout vk.DescriptorSetLayout // owned
}

type Device

type Device struct {
	sync.Mutex
	DevicePfns
	VkDevice vk.Device

	DeviceInfo

	GraphicsQueue    vk.Queue
	CmdPoolShortLive *CommandPool
	CmdPoolLongLive  *CommandPool

	*PhysicalDevice
	Instance *Instance

	Shaders  map[string]*ShaderModule
	Textures map[string]*StaticTexture

	CfgAttachments []cfg.Attachment

	VertexInputStates    []cfg.VertexInputState
	InputAssemblies      []cfg.InputAssembly
	DescriptorSetLayouts []*DescriptorSetLayout
	PushConstantRanges   []cfg.PushConstantRange
	PipelineLayouts      []*PipelineLayout
	Rasterizations       []cfg.Rasterization
	DepthStencils        []*cfg.DepthStencil
	ColorBlends          []cfg.ColorBlend

	PipelineCache vk.PipelineCache

	Devices []*Group
	// contains filtered or unexported fields
}

func (*Device) CompileModel

func (dev *Device) CompileModel(m *model.Model) (cm *CompiledModel, err error)

func (*Device) CreateBuffer

func (dev *Device) CreateBuffer(size uint64, usage vk.BufferUsageFlags, memoryProperties vk.MemoryPropertyFlags) (buf *BufferMemory, err error)

func (*Device) CreateCommandPool

func (dev *Device) CreateCommandPool(queueFamilyIndex uint32, flags vk.CommandPoolCreateFlags) (pool *CommandPool, err error)

func (*Device) CreateDescriptorPool

func (dev *Device) CreateDescriptorPool(sizes []vk.DescriptorPoolSize, maxSets uint32, flags vk.DescriptorPoolCreateFlags) (*DescriptorPool, error)

func (*Device) CreateFence

func (dev *Device) CreateFence(flags vk.FenceCreateFlags) (fen *Fence, err error)

func (*Device) CreateFontManager

func (dev *Device) CreateFontManager(vkDescriptorSetLayout vk.DescriptorSetLayout) (fman *FontManager, err error)

func (*Device) CreateImage

func (dev *Device) CreateImage(ci *vk.ImageCreateInfo, memoryProperties vk.MemoryPropertyFlags) (image vk.Image, err error)

func (*Device) CreateImageMemory

func (dev *Device) CreateImageMemory(ci *vk.ImageCreateInfo, memoryProperties vk.MemoryPropertyFlags) (vb *ImageMemory, err error)

func (*Device) CreateImageView

func (dev *Device) CreateImageView(image vk.Image, imageFormat vk.Format, aspectMask vk.ImageAspectFlags) (vk.ImageView, error)

func (*Device) CreatePipeline

func (dev *Device) CreatePipeline(cfgPipeline cfg.Pipeline, sur *Surface) (pl *Pipeline, err error)

func (*Device) CreateSemaphore

func (dev *Device) CreateSemaphore(flags vk.SemaphoreCreateFlags) (sem *Semaphore, err error)

func (*Device) CreateTextureSampler

func (dev *Device) CreateTextureSampler(samplerInfo vk.SamplerCreateInfo) (smplr *Sampler, err error)

func (*Device) GetQueue

func (dev *Device) GetQueue(idxFamily uint32) vk.Queue

func (*Device) LoadTexture

func (dev *Device) LoadTexture(name string, asFormat vk.Format) (tex *StaticTexture, err error)

func (*Device) ResetFences

func (dev *Device) ResetFences(fens []vk.Fence) error

func (*Device) TransitionImageLayout

func (dev *Device) TransitionImageLayout(image vk.Image, format vk.Format, oldLayout vk.ImageLayout, newLayout vk.ImageLayout) (err error)

func (*Device) VkAcquireNextImage2KHR

func (dev *Device) VkAcquireNextImage2KHR(pAcquireInfo *vk.AcquireNextImageInfoKHR, pImageIndex *uint32) vk.Result

VkAcquireNextImage2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkAcquireNextImage2KHR.html

func (*Device) VkAcquireNextImageKHR

func (dev *Device) VkAcquireNextImageKHR(swapchain vk.SwapchainKHR, timeout uint64, semaphore vk.Semaphore, fence vk.Fence, pImageIndex *uint32) vk.Result

VkAcquireNextImageKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkAcquireNextImageKHR.html

func (*Device) VkAllocateCommandBuffers

func (dev *Device) VkAllocateCommandBuffers(pAllocateInfo *vk.CommandBufferAllocateInfo, pCommandBuffers *vk.CommandBuffer) vk.Result

VkAllocateCommandBuffers -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkAllocateCommandBuffers.html

func (*Device) VkAllocateDescriptorSets

func (dev *Device) VkAllocateDescriptorSets(pAllocateInfo *vk.DescriptorSetAllocateInfo, pDescriptorSets *vk.DescriptorSet) vk.Result

VkAllocateDescriptorSets -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkAllocateDescriptorSets.html

func (*Device) VkBindAccelerationStructureMemoryNV

func (dev *Device) VkBindAccelerationStructureMemoryNV(bindInfoCount uint32, pBindInfos *vk.BindAccelerationStructureMemoryInfoNV) vk.Result

VkBindAccelerationStructureMemoryNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindAccelerationStructureMemoryNV.html

func (*Device) VkBindBufferMemory

func (dev *Device) VkBindBufferMemory(buffer vk.Buffer, memory vk.DeviceMemory, memoryOffset vk.DeviceSize) vk.Result

VkBindBufferMemory -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindBufferMemory.html

func (*Device) VkBindBufferMemory2

func (dev *Device) VkBindBufferMemory2(bindInfoCount uint32, pBindInfos *vk.BindBufferMemoryInfo) vk.Result

VkBindBufferMemory2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindBufferMemory2.html

func (*Device) VkBindBufferMemory2KHR

func (dev *Device) VkBindBufferMemory2KHR(bindInfoCount uint32, pBindInfos *vk.BindBufferMemoryInfo) vk.Result

VkBindBufferMemory2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindBufferMemory2KHR.html

func (*Device) VkBindImageMemory

func (dev *Device) VkBindImageMemory(image vk.Image, memory vk.DeviceMemory, memoryOffset vk.DeviceSize) vk.Result

VkBindImageMemory -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindImageMemory.html

func (*Device) VkBindImageMemory2

func (dev *Device) VkBindImageMemory2(bindInfoCount uint32, pBindInfos *vk.BindImageMemoryInfo) vk.Result

VkBindImageMemory2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindImageMemory2.html

func (*Device) VkBindImageMemory2KHR

func (dev *Device) VkBindImageMemory2KHR(bindInfoCount uint32, pBindInfos *vk.BindImageMemoryInfo) vk.Result

VkBindImageMemory2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkBindImageMemory2KHR.html

func (*Device) VkCmdBeginConditionalRenderingEXT

func (dev *Device) VkCmdBeginConditionalRenderingEXT(commandBuffer vk.CommandBuffer, pConditionalRenderingBegin *vk.ConditionalRenderingBeginInfoEXT)

VkCmdBeginConditionalRenderingEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginConditionalRenderingEXT.html

func (*Device) VkCmdBeginDebugUtilsLabelEXT

func (dev *Device) VkCmdBeginDebugUtilsLabelEXT(commandBuffer vk.CommandBuffer, pLabelInfo *vk.DebugUtilsLabelEXT)

VkCmdBeginDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginDebugUtilsLabelEXT.html

func (*Device) VkCmdBeginQuery

func (dev *Device) VkCmdBeginQuery(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, query uint32, flags vk.QueryControlFlags)

VkCmdBeginQuery -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginQuery.html

func (*Device) VkCmdBeginQueryIndexedEXT

func (dev *Device) VkCmdBeginQueryIndexedEXT(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, query uint32, flags vk.QueryControlFlags, index uint32)

VkCmdBeginQueryIndexedEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginQueryIndexedEXT.html

func (*Device) VkCmdBeginRenderPass

func (dev *Device) VkCmdBeginRenderPass(commandBuffer vk.CommandBuffer, pRenderPassBegin *vk.RenderPassBeginInfo, contents vk.SubpassContents)

VkCmdBeginRenderPass -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginRenderPass.html

func (*Device) VkCmdBeginRenderPass2KHR

func (dev *Device) VkCmdBeginRenderPass2KHR(commandBuffer vk.CommandBuffer, pRenderPassBegin *vk.RenderPassBeginInfo, pSubpassBeginInfo *vk.SubpassBeginInfoKHR)

VkCmdBeginRenderPass2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginRenderPass2KHR.html

func (*Device) VkCmdBeginTransformFeedbackEXT

func (dev *Device) VkCmdBeginTransformFeedbackEXT(commandBuffer vk.CommandBuffer, firstCounterBuffer, counterBufferCount uint32, pCounterBuffers *vk.Buffer, pCounterBufferOffsets *vk.DeviceSize)

VkCmdBeginTransformFeedbackEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBeginTransformFeedbackEXT.html

func (*Device) VkCmdBindDescriptorSets

func (dev *Device) VkCmdBindDescriptorSets(commandBuffer vk.CommandBuffer, pipelineBindPoint vk.PipelineBindPoint, layout vk.PipelineLayout, firstSet, descriptorSetCount uint32, pDescriptorSets *vk.DescriptorSet, dynamicOffsetCount uint32, pDynamicOffsets *uint32)

VkCmdBindDescriptorSets -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindDescriptorSets.html

func (*Device) VkCmdBindIndexBuffer

func (dev *Device) VkCmdBindIndexBuffer(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, indexType vk.IndexType)

VkCmdBindIndexBuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindIndexBuffer.html

func (*Device) VkCmdBindPipeline

func (dev *Device) VkCmdBindPipeline(commandBuffer vk.CommandBuffer, pipelineBindPoint vk.PipelineBindPoint, pipeline vk.Pipeline)

VkCmdBindPipeline -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindPipeline.html

func (*Device) VkCmdBindShadingRateImageNV

func (dev *Device) VkCmdBindShadingRateImageNV(commandBuffer vk.CommandBuffer, imageView vk.ImageView, imageLayout vk.ImageLayout)

VkCmdBindShadingRateImageNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindShadingRateImageNV.html

func (*Device) VkCmdBindTransformFeedbackBuffersEXT

func (dev *Device) VkCmdBindTransformFeedbackBuffersEXT(commandBuffer vk.CommandBuffer, firstBinding, bindingCount uint32, pBuffers *vk.Buffer, pOffsets, pSizes *vk.DeviceSize)

VkCmdBindTransformFeedbackBuffersEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindTransformFeedbackBuffersEXT.html

func (*Device) VkCmdBindVertexBuffers

func (dev *Device) VkCmdBindVertexBuffers(commandBuffer vk.CommandBuffer, firstBinding, bindingCount uint32, pBuffers *vk.Buffer, pOffsets *vk.DeviceSize)

VkCmdBindVertexBuffers -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBindVertexBuffers.html

func (*Device) VkCmdBlitImage

func (dev *Device) VkCmdBlitImage(commandBuffer vk.CommandBuffer, srcImage vk.Image, srcImageLayout vk.ImageLayout, dstImage vk.Image, dstImageLayout vk.ImageLayout, regionCount uint32, pRegions *vk.ImageBlit, filter vk.Filter)

VkCmdBlitImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBlitImage.html

func (*Device) VkCmdBuildAccelerationStructureNV

func (dev *Device) VkCmdBuildAccelerationStructureNV(commandBuffer vk.CommandBuffer, pInfo *vk.AccelerationStructureInfoNV, instanceData vk.Buffer, instanceOffset vk.DeviceSize, update vk.Bool32, dst, src vk.AccelerationStructureNV, scratch vk.Buffer, scratchOffset vk.DeviceSize)

VkCmdBuildAccelerationStructureNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdBuildAccelerationStructureNV.html

func (*Device) VkCmdClearAttachments

func (dev *Device) VkCmdClearAttachments(commandBuffer vk.CommandBuffer, attachmentCount uint32, pAttachments *vk.ClearAttachment, rectCount uint32, pRects *vk.ClearRect)

VkCmdClearAttachments -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdClearAttachments.html

func (*Device) VkCmdClearColorImage

func (dev *Device) VkCmdClearColorImage(commandBuffer vk.CommandBuffer, image vk.Image, imageLayout vk.ImageLayout, pColor *vk.ClearColorValue, rangeCount uint32, pRanges *vk.ImageSubresourceRange)

VkCmdClearColorImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdClearColorImage.html

func (*Device) VkCmdClearDepthStencilImage

func (dev *Device) VkCmdClearDepthStencilImage(commandBuffer vk.CommandBuffer, image vk.Image, imageLayout vk.ImageLayout, pDepthStencil *vk.ClearDepthStencilValue, rangeCount uint32, pRanges *vk.ImageSubresourceRange)

VkCmdClearDepthStencilImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdClearDepthStencilImage.html

func (*Device) VkCmdCopyBuffer

func (dev *Device) VkCmdCopyBuffer(commandBuffer vk.CommandBuffer, srcBuffer, dstBuffer vk.Buffer, regionCount uint32, pRegions *vk.BufferCopy)

VkCmdCopyBuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdCopyBuffer.html

func (*Device) VkCmdCopyBufferToImage

func (dev *Device) VkCmdCopyBufferToImage(commandBuffer vk.CommandBuffer, srcBuffer vk.Buffer, dstImage vk.Image, dstImageLayout vk.ImageLayout, regionCount uint32, pRegions *vk.BufferImageCopy)

VkCmdCopyBufferToImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdCopyBufferToImage.html

func (*Device) VkCmdCopyImage

func (dev *Device) VkCmdCopyImage(commandBuffer vk.CommandBuffer, srcImage vk.Image, srcImageLayout vk.ImageLayout, dstImage vk.Image, dstImageLayout vk.ImageLayout, regionCount uint32, pRegions *vk.ImageCopy)

VkCmdCopyImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdCopyImage.html

func (*Device) VkCmdCopyImageToBuffer

func (dev *Device) VkCmdCopyImageToBuffer(commandBuffer vk.CommandBuffer, srcImage vk.Image, srcImageLayout vk.ImageLayout, dstBuffer vk.Buffer, regionCount uint32, pRegions *vk.BufferImageCopy)

VkCmdCopyImageToBuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdCopyImageToBuffer.html

func (*Device) VkCmdCopyQueryPoolResults

func (dev *Device) VkCmdCopyQueryPoolResults(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, firstQuery, queryCount uint32, dstBuffer vk.Buffer, dstOffset, stride vk.DeviceSize, flags vk.QueryResultFlags)

VkCmdCopyQueryPoolResults -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdCopyQueryPoolResults.html

func (*Device) VkCmdDebugMarkerBeginEXT

func (dev *Device) VkCmdDebugMarkerBeginEXT(commandBuffer vk.CommandBuffer, pMarkerInfo *vk.DebugMarkerMarkerInfoEXT)

VkCmdDebugMarkerBeginEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDebugMarkerBeginEXT.html

func (*Device) VkCmdDebugMarkerEndEXT

func (dev *Device) VkCmdDebugMarkerEndEXT(commandBuffer vk.CommandBuffer)

VkCmdDebugMarkerEndEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDebugMarkerEndEXT.html

func (*Device) VkCmdDebugMarkerInsertEXT

func (dev *Device) VkCmdDebugMarkerInsertEXT(commandBuffer vk.CommandBuffer, pMarkerInfo *vk.DebugMarkerMarkerInfoEXT)

VkCmdDebugMarkerInsertEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDebugMarkerInsertEXT.html

func (*Device) VkCmdDispatch

func (dev *Device) VkCmdDispatch(commandBuffer vk.CommandBuffer, groupCountX, groupCountY, groupCountZ uint32)

VkCmdDispatch -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDispatch.html

func (*Device) VkCmdDispatchBase

func (dev *Device) VkCmdDispatchBase(commandBuffer vk.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ uint32)

VkCmdDispatchBase -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDispatchBase.html

func (*Device) VkCmdDispatchBaseKHR

func (dev *Device) VkCmdDispatchBaseKHR(commandBuffer vk.CommandBuffer, baseGroupX, baseGroupY, baseGroupZ, groupCountX, groupCountY, groupCountZ uint32)

VkCmdDispatchBaseKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDispatchBaseKHR.html

func (*Device) VkCmdDispatchIndirect

func (dev *Device) VkCmdDispatchIndirect(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize)

VkCmdDispatchIndirect -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDispatchIndirect.html

func (*Device) VkCmdDraw

func (dev *Device) VkCmdDraw(commandBuffer vk.CommandBuffer, vertexCount, instanceCount, firstVertex, firstInstance uint32)

VkCmdDraw -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDraw.html

func (*Device) VkCmdDrawIndexed

func (dev *Device) VkCmdDrawIndexed(commandBuffer vk.CommandBuffer, indexCount, instanceCount, firstIndex uint32, vertexOffset int32, firstInstance uint32)

VkCmdDrawIndexed -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexed.html

func (*Device) VkCmdDrawIndexedIndirect

func (dev *Device) VkCmdDrawIndexedIndirect(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, drawCount, stride uint32)

VkCmdDrawIndexedIndirect -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexedIndirect.html

func (*Device) VkCmdDrawIndexedIndirectCountAMD

func (dev *Device) VkCmdDrawIndexedIndirectCountAMD(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, countBuffer vk.Buffer, countBufferOffset vk.DeviceSize, maxDrawCount, stride uint32)

VkCmdDrawIndexedIndirectCountAMD -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexedIndirectCountAMD.html

func (*Device) VkCmdDrawIndexedIndirectCountKHR

func (dev *Device) VkCmdDrawIndexedIndirectCountKHR(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, countBuffer vk.Buffer, countBufferOffset vk.DeviceSize, maxDrawCount, stride uint32)

VkCmdDrawIndexedIndirectCountKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndexedIndirectCountKHR.html

func (*Device) VkCmdDrawIndirect

func (dev *Device) VkCmdDrawIndirect(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, drawCount, stride uint32)

VkCmdDrawIndirect -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirect.html

func (*Device) VkCmdDrawIndirectByteCountEXT

func (dev *Device) VkCmdDrawIndirectByteCountEXT(commandBuffer vk.CommandBuffer, instanceCount, firstInstance uint32, counterBuffer vk.Buffer, counterBufferOffset vk.DeviceSize, counterOffset, vertexStride uint32)

VkCmdDrawIndirectByteCountEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirectByteCountEXT.html

func (*Device) VkCmdDrawIndirectCountAMD

func (dev *Device) VkCmdDrawIndirectCountAMD(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, countBuffer vk.Buffer, countBufferOffset vk.DeviceSize, maxDrawCount, stride uint32)

VkCmdDrawIndirectCountAMD -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirectCountAMD.html

func (*Device) VkCmdDrawIndirectCountKHR

func (dev *Device) VkCmdDrawIndirectCountKHR(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, countBuffer vk.Buffer, countBufferOffset vk.DeviceSize, maxDrawCount, stride uint32)

VkCmdDrawIndirectCountKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawIndirectCountKHR.html

func (*Device) VkCmdDrawMeshTasksIndirectCountNV

func (dev *Device) VkCmdDrawMeshTasksIndirectCountNV(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, countBuffer vk.Buffer, countBufferOffset vk.DeviceSize, maxDrawCount, stride uint32)

VkCmdDrawMeshTasksIndirectCountNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawMeshTasksIndirectCountNV.html

func (*Device) VkCmdDrawMeshTasksIndirectNV

func (dev *Device) VkCmdDrawMeshTasksIndirectNV(commandBuffer vk.CommandBuffer, buffer vk.Buffer, offset vk.DeviceSize, drawCount, stride uint32)

VkCmdDrawMeshTasksIndirectNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawMeshTasksIndirectNV.html

func (*Device) VkCmdDrawMeshTasksNV

func (dev *Device) VkCmdDrawMeshTasksNV(commandBuffer vk.CommandBuffer, taskCount, firstTask uint32)

VkCmdDrawMeshTasksNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdDrawMeshTasksNV.html

func (*Device) VkCmdEndConditionalRenderingEXT

func (dev *Device) VkCmdEndConditionalRenderingEXT(commandBuffer vk.CommandBuffer)

VkCmdEndConditionalRenderingEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndConditionalRenderingEXT.html

func (*Device) VkCmdEndDebugUtilsLabelEXT

func (dev *Device) VkCmdEndDebugUtilsLabelEXT(commandBuffer vk.CommandBuffer)

VkCmdEndDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndDebugUtilsLabelEXT.html

func (*Device) VkCmdEndQuery

func (dev *Device) VkCmdEndQuery(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, query uint32)

VkCmdEndQuery -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndQuery.html

func (*Device) VkCmdEndQueryIndexedEXT

func (dev *Device) VkCmdEndQueryIndexedEXT(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, query, index uint32)

VkCmdEndQueryIndexedEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndQueryIndexedEXT.html

func (*Device) VkCmdEndRenderPass

func (dev *Device) VkCmdEndRenderPass(commandBuffer vk.CommandBuffer)

VkCmdEndRenderPass -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndRenderPass.html

func (*Device) VkCmdEndRenderPass2KHR

func (dev *Device) VkCmdEndRenderPass2KHR(commandBuffer vk.CommandBuffer, pSubpassEndInfo *vk.SubpassEndInfoKHR)

VkCmdEndRenderPass2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndRenderPass2KHR.html

func (*Device) VkCmdEndTransformFeedbackEXT

func (dev *Device) VkCmdEndTransformFeedbackEXT(commandBuffer vk.CommandBuffer, firstCounterBuffer, counterBufferCount uint32, pCounterBuffers *vk.Buffer, pCounterBufferOffsets *vk.DeviceSize)

VkCmdEndTransformFeedbackEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdEndTransformFeedbackEXT.html

func (*Device) VkCmdExecuteCommands

func (dev *Device) VkCmdExecuteCommands(commandBuffer vk.CommandBuffer, commandBufferCount uint32, pCommandBuffers *vk.CommandBuffer)

VkCmdExecuteCommands -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdExecuteCommands.html

func (*Device) VkCmdFillBuffer

func (dev *Device) VkCmdFillBuffer(commandBuffer vk.CommandBuffer, dstBuffer vk.Buffer, dstOffset, size vk.DeviceSize, data uint32)

VkCmdFillBuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdFillBuffer.html

func (*Device) VkCmdInsertDebugUtilsLabelEXT

func (dev *Device) VkCmdInsertDebugUtilsLabelEXT(commandBuffer vk.CommandBuffer, pLabelInfo *vk.DebugUtilsLabelEXT)

VkCmdInsertDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdInsertDebugUtilsLabelEXT.html

func (*Device) VkCmdNextSubpass

func (dev *Device) VkCmdNextSubpass(commandBuffer vk.CommandBuffer, contents vk.SubpassContents)

VkCmdNextSubpass -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdNextSubpass.html

func (*Device) VkCmdNextSubpass2KHR

func (dev *Device) VkCmdNextSubpass2KHR(commandBuffer vk.CommandBuffer, pSubpassBeginInfo *vk.SubpassBeginInfoKHR, pSubpassEndInfo *vk.SubpassEndInfoKHR)

VkCmdNextSubpass2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdNextSubpass2KHR.html

func (*Device) VkCmdPipelineBarrier

func (dev *Device) VkCmdPipelineBarrier(commandBuffer vk.CommandBuffer, srcStageMask, dstStageMask vk.PipelineStageFlags, dependencyFlags vk.DependencyFlags, memoryBarrierCount uint32, pMemoryBarriers *vk.MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers *vk.BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers *vk.ImageMemoryBarrier)

VkCmdPipelineBarrier -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdPipelineBarrier.html

func (*Device) VkCmdProcessCommandsNVX

func (dev *Device) VkCmdProcessCommandsNVX(commandBuffer vk.CommandBuffer, pProcessCommandsInfo *vk.CmdProcessCommandsInfoNVX)

VkCmdProcessCommandsNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdProcessCommandsNVX.html

func (*Device) VkCmdPushConstants

func (dev *Device) VkCmdPushConstants(commandBuffer vk.CommandBuffer, layout vk.PipelineLayout, stageFlags vk.ShaderStageFlags, offset, size uint32, pValues unsafe.Pointer)

VkCmdPushConstants -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdPushConstants.html

func (*Device) VkCmdPushDescriptorSetKHR

func (dev *Device) VkCmdPushDescriptorSetKHR(commandBuffer vk.CommandBuffer, pipelineBindPoint vk.PipelineBindPoint, layout vk.PipelineLayout, set, descriptorWriteCount uint32, pDescriptorWrites *vk.WriteDescriptorSet)

VkCmdPushDescriptorSetKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdPushDescriptorSetKHR.html

func (*Device) VkCmdPushDescriptorSetWithTemplateKHR

func (dev *Device) VkCmdPushDescriptorSetWithTemplateKHR(commandBuffer vk.CommandBuffer, descriptorUpdateTemplate vk.DescriptorUpdateTemplate, layout vk.PipelineLayout, set uint32, pData unsafe.Pointer)

VkCmdPushDescriptorSetWithTemplateKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdPushDescriptorSetWithTemplateKHR.html

func (*Device) VkCmdReserveSpaceForCommandsNVX

func (dev *Device) VkCmdReserveSpaceForCommandsNVX(commandBuffer vk.CommandBuffer, pReserveSpaceInfo *vk.CmdReserveSpaceForCommandsInfoNVX)

VkCmdReserveSpaceForCommandsNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdReserveSpaceForCommandsNVX.html

func (*Device) VkCmdResetEvent

func (dev *Device) VkCmdResetEvent(commandBuffer vk.CommandBuffer, event vk.Event, stageMask vk.PipelineStageFlags)

VkCmdResetEvent -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdResetEvent.html

func (*Device) VkCmdResetQueryPool

func (dev *Device) VkCmdResetQueryPool(commandBuffer vk.CommandBuffer, queryPool vk.QueryPool, firstQuery, queryCount uint32)

VkCmdResetQueryPool -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdResetQueryPool.html

func (*Device) VkCmdResolveImage

func (dev *Device) VkCmdResolveImage(commandBuffer vk.CommandBuffer, srcImage vk.Image, srcImageLayout vk.ImageLayout, dstImage vk.Image, dstImageLayout vk.ImageLayout, regionCount uint32, pRegions *vk.ImageResolve)

VkCmdResolveImage -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdResolveImage.html

func (*Device) VkCmdSetBlendConstants

func (dev *Device) VkCmdSetBlendConstants(commandBuffer vk.CommandBuffer, blendConstant *[4]float32)

VkCmdSetBlendConstants -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetBlendConstants.html

func (*Device) VkCmdSetCheckpointNV

func (dev *Device) VkCmdSetCheckpointNV(commandBuffer vk.CommandBuffer, pCheckpointMarker unsafe.Pointer)

VkCmdSetCheckpointNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetCheckpointNV.html

func (*Device) VkCmdSetCoarseSampleOrderNV

func (dev *Device) VkCmdSetCoarseSampleOrderNV(commandBuffer vk.CommandBuffer, sampleOrderType vk.CoarseSampleOrderTypeNV, customSampleOrderCount uint32, pCustomSampleOrders *vk.CoarseSampleOrderCustomNV)

VkCmdSetCoarseSampleOrderNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetCoarseSampleOrderNV.html

func (*Device) VkCmdSetDepthBias

func (dev *Device) VkCmdSetDepthBias(commandBuffer vk.CommandBuffer, depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor float32)

VkCmdSetDepthBias -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetDepthBias.html

func (*Device) VkCmdSetDepthBounds

func (dev *Device) VkCmdSetDepthBounds(commandBuffer vk.CommandBuffer, minDepthBounds, maxDepthBounds float32)

VkCmdSetDepthBounds -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetDepthBounds.html

func (*Device) VkCmdSetDeviceMask

func (dev *Device) VkCmdSetDeviceMask(commandBuffer vk.CommandBuffer, deviceMask uint32)

VkCmdSetDeviceMask -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetDeviceMask.html

func (*Device) VkCmdSetDeviceMaskKHR

func (dev *Device) VkCmdSetDeviceMaskKHR(commandBuffer vk.CommandBuffer, deviceMask uint32)

VkCmdSetDeviceMaskKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetDeviceMaskKHR.html

func (*Device) VkCmdSetDiscardRectangleEXT

func (dev *Device) VkCmdSetDiscardRectangleEXT(commandBuffer vk.CommandBuffer, firstDiscardRectangle, discardRectangleCount uint32, pDiscardRectangles *vk.Rect2D)

VkCmdSetDiscardRectangleEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetDiscardRectangleEXT.html

func (*Device) VkCmdSetEvent

func (dev *Device) VkCmdSetEvent(commandBuffer vk.CommandBuffer, event vk.Event, stageMask vk.PipelineStageFlags)

VkCmdSetEvent -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetEvent.html

func (*Device) VkCmdSetExclusiveScissorNV

func (dev *Device) VkCmdSetExclusiveScissorNV(commandBuffer vk.CommandBuffer, firstExclusiveScissor, exclusiveScissorCount uint32, pExclusiveScissors *vk.Rect2D)

VkCmdSetExclusiveScissorNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetExclusiveScissorNV.html

func (*Device) VkCmdSetLineStippleEXT

func (dev *Device) VkCmdSetLineStippleEXT(commandBuffer vk.CommandBuffer, lineStippleFactor uint32, lineStipplePattern uint16)

VkCmdSetLineStippleEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetLineStippleEXT.html

func (*Device) VkCmdSetLineWidth

func (dev *Device) VkCmdSetLineWidth(commandBuffer vk.CommandBuffer, lineWidth float32)

VkCmdSetLineWidth -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetLineWidth.html

func (*Device) VkCmdSetPerformanceMarkerINTEL

func (dev *Device) VkCmdSetPerformanceMarkerINTEL(commandBuffer vk.CommandBuffer, pMarkerInfo *vk.PerformanceMarkerInfoINTEL) vk.Result

VkCmdSetPerformanceMarkerINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetPerformanceMarkerINTEL.html

func (*Device) VkCmdSetPerformanceOverrideINTEL

func (dev *Device) VkCmdSetPerformanceOverrideINTEL(commandBuffer vk.CommandBuffer, pOverrideInfo *vk.PerformanceOverrideInfoINTEL) vk.Result

VkCmdSetPerformanceOverrideINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetPerformanceOverrideINTEL.html

func (*Device) VkCmdSetPerformanceStreamMarkerINTEL

func (dev *Device) VkCmdSetPerformanceStreamMarkerINTEL(commandBuffer vk.CommandBuffer, pMarkerInfo *vk.PerformanceStreamMarkerInfoINTEL) vk.Result

VkCmdSetPerformanceStreamMarkerINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetPerformanceStreamMarkerINTEL.html

func (*Device) VkCmdSetSampleLocationsEXT

func (dev *Device) VkCmdSetSampleLocationsEXT(commandBuffer vk.CommandBuffer, pSampleLocationsInfo *vk.SampleLocationsInfoEXT)

VkCmdSetSampleLocationsEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetSampleLocationsEXT.html

func (*Device) VkCmdSetScissor

func (dev *Device) VkCmdSetScissor(commandBuffer vk.CommandBuffer, firstScissor, scissorCount uint32, pScissors *vk.Rect2D)

VkCmdSetScissor -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetScissor.html

func (*Device) VkCmdSetStencilCompareMask

func (dev *Device) VkCmdSetStencilCompareMask(commandBuffer vk.CommandBuffer, faceMask vk.StencilFaceFlags, compareMask uint32)

VkCmdSetStencilCompareMask -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetStencilCompareMask.html

func (*Device) VkCmdSetStencilReference

func (dev *Device) VkCmdSetStencilReference(commandBuffer vk.CommandBuffer, faceMask vk.StencilFaceFlags, reference uint32)

VkCmdSetStencilReference -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetStencilReference.html

func (*Device) VkCmdSetStencilWriteMask

func (dev *Device) VkCmdSetStencilWriteMask(commandBuffer vk.CommandBuffer, faceMask vk.StencilFaceFlags, writeMask uint32)

VkCmdSetStencilWriteMask -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetStencilWriteMask.html

func (*Device) VkCmdSetViewport

func (dev *Device) VkCmdSetViewport(commandBuffer vk.CommandBuffer, firstViewport, viewportCount uint32, pViewports *vk.Viewport)

VkCmdSetViewport -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetViewport.html

func (*Device) VkCmdSetViewportShadingRatePaletteNV

func (dev *Device) VkCmdSetViewportShadingRatePaletteNV(commandBuffer vk.CommandBuffer, firstViewport, viewportCount uint32, pShadingRatePalettes *vk.ShadingRatePaletteNV)

VkCmdSetViewportShadingRatePaletteNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetViewportShadingRatePaletteNV.html

func (*Device) VkCmdSetViewportWScalingNV

func (dev *Device) VkCmdSetViewportWScalingNV(commandBuffer vk.CommandBuffer, firstViewport, viewportCount uint32, pViewportWScalings *vk.ViewportWScalingNV)

VkCmdSetViewportWScalingNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdSetViewportWScalingNV.html

func (*Device) VkCmdTraceRaysNV

func (dev *Device) VkCmdTraceRaysNV(commandBuffer vk.CommandBuffer, raygenShaderBindingTableBuffer vk.Buffer, raygenShaderBindingOffset vk.DeviceSize, missShaderBindingTableBuffer vk.Buffer, missShaderBindingOffset, missShaderBindingStride vk.DeviceSize, hitShaderBindingTableBuffer vk.Buffer, hitShaderBindingOffset, hitShaderBindingStride vk.DeviceSize, callableShaderBindingTableBuffer vk.Buffer, callableShaderBindingOffset, callableShaderBindingStride vk.DeviceSize, width, height, depth uint32)

VkCmdTraceRaysNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdTraceRaysNV.html

func (*Device) VkCmdUpdateBuffer

func (dev *Device) VkCmdUpdateBuffer(commandBuffer vk.CommandBuffer, dstBuffer vk.Buffer, dstOffset, dataSize vk.DeviceSize, pData unsafe.Pointer)

VkCmdUpdateBuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdUpdateBuffer.html

func (*Device) VkCmdWaitEvents

func (dev *Device) VkCmdWaitEvents(commandBuffer vk.CommandBuffer, eventCount uint32, pEvents *vk.Event, srcStageMask, dstStageMask vk.PipelineStageFlags, memoryBarrierCount uint32, pMemoryBarriers *vk.MemoryBarrier, bufferMemoryBarrierCount uint32, pBufferMemoryBarriers *vk.BufferMemoryBarrier, imageMemoryBarrierCount uint32, pImageMemoryBarriers *vk.ImageMemoryBarrier)

VkCmdWaitEvents -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdWaitEvents.html

func (*Device) VkCmdWriteAccelerationStructuresPropertiesNV

func (dev *Device) VkCmdWriteAccelerationStructuresPropertiesNV(commandBuffer vk.CommandBuffer, accelerationStructureCount uint32, pAccelerationStructures *vk.AccelerationStructureNV, queryType vk.QueryType, queryPool vk.QueryPool, firstQuery uint32)

VkCmdWriteAccelerationStructuresPropertiesNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdWriteAccelerationStructuresPropertiesNV.html

func (*Device) VkCmdWriteBufferMarkerAMD

func (dev *Device) VkCmdWriteBufferMarkerAMD(commandBuffer vk.CommandBuffer, pipelineStage vk.PipelineStageFlags, dstBuffer vk.Buffer, dstOffset vk.DeviceSize, marker uint32)

VkCmdWriteBufferMarkerAMD -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdWriteBufferMarkerAMD.html

func (*Device) VkCmdWriteTimestamp

func (dev *Device) VkCmdWriteTimestamp(commandBuffer vk.CommandBuffer, pipelineStage vk.PipelineStageFlags, queryPool vk.QueryPool, query uint32)

VkCmdWriteTimestamp -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCmdWriteTimestamp.html

func (*Device) VkCompileDeferredNV

func (dev *Device) VkCompileDeferredNV(pipeline vk.Pipeline, shader uint32) vk.Result

VkCompileDeferredNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCompileDeferredNV.html

func (*Device) VkCreateAccelerationStructureNV

func (dev *Device) VkCreateAccelerationStructureNV(pCreateInfo *vk.AccelerationStructureCreateInfoNV, pAccelerationStructure *vk.AccelerationStructureNV) vk.Result

VkCreateAccelerationStructureNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateAccelerationStructureNV.html

func (*Device) VkCreateCommandPool

func (dev *Device) VkCreateCommandPool(pCreateInfo *vk.CommandPoolCreateInfo, pCommandPool *vk.CommandPool) vk.Result

VkCreateCommandPool -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateCommandPool.html

func (*Device) VkCreateComputePipelines

func (dev *Device) VkCreateComputePipelines(pipelineCache vk.PipelineCache, createInfoCount uint32, pCreateInfos *vk.ComputePipelineCreateInfo, pPipelines *vk.Pipeline) vk.Result

VkCreateComputePipelines -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateComputePipelines.html

func (*Device) VkCreateDescriptorPool

func (dev *Device) VkCreateDescriptorPool(pCreateInfo *vk.DescriptorPoolCreateInfo, pDescriptorPool *vk.DescriptorPool) vk.Result

VkCreateDescriptorPool -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDescriptorPool.html

func (*Device) VkCreateDescriptorUpdateTemplate

func (dev *Device) VkCreateDescriptorUpdateTemplate(pCreateInfo *vk.DescriptorUpdateTemplateCreateInfo, pDescriptorUpdateTemplate *vk.DescriptorUpdateTemplate) vk.Result

VkCreateDescriptorUpdateTemplate -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDescriptorUpdateTemplate.html

func (*Device) VkCreateDescriptorUpdateTemplateKHR

func (dev *Device) VkCreateDescriptorUpdateTemplateKHR(pCreateInfo *vk.DescriptorUpdateTemplateCreateInfo, pDescriptorUpdateTemplate *vk.DescriptorUpdateTemplate) vk.Result

VkCreateDescriptorUpdateTemplateKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDescriptorUpdateTemplateKHR.html

func (*Device) VkCreateFramebuffer

func (dev *Device) VkCreateFramebuffer(pCreateInfo *vk.FramebufferCreateInfo, pFramebuffer *vk.Framebuffer) vk.Result

VkCreateFramebuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateFramebuffer.html

func (*Device) VkCreateGraphicsPipelines

func (dev *Device) VkCreateGraphicsPipelines(pipelineCache vk.PipelineCache, createInfoCount uint32, pCreateInfos *vk.GraphicsPipelineCreateInfo, pPipelines *vk.Pipeline) vk.Result

VkCreateGraphicsPipelines -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateGraphicsPipelines.html

func (*Device) VkCreateIndirectCommandsLayoutNVX

func (dev *Device) VkCreateIndirectCommandsLayoutNVX(pCreateInfo *vk.IndirectCommandsLayoutCreateInfoNVX, pIndirectCommandsLayout *vk.IndirectCommandsLayoutNVX) vk.Result

VkCreateIndirectCommandsLayoutNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateIndirectCommandsLayoutNVX.html

func (*Device) VkCreatePipelineCache

func (dev *Device) VkCreatePipelineCache(pCreateInfo *vk.PipelineCacheCreateInfo, pPipelineCache *vk.PipelineCache) vk.Result

VkCreatePipelineCache -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreatePipelineCache.html

func (*Device) VkCreatePipelineLayout

func (dev *Device) VkCreatePipelineLayout(pCreateInfo *vk.PipelineLayoutCreateInfo, pPipelineLayout *vk.PipelineLayout) vk.Result

VkCreatePipelineLayout -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreatePipelineLayout.html

func (*Device) VkCreateRayTracingPipelinesNV

func (dev *Device) VkCreateRayTracingPipelinesNV(pipelineCache vk.PipelineCache, createInfoCount uint32, pCreateInfos *vk.RayTracingPipelineCreateInfoNV, pPipelines *vk.Pipeline) vk.Result

VkCreateRayTracingPipelinesNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateRayTracingPipelinesNV.html

func (*Device) VkCreateShaderModule

func (dev *Device) VkCreateShaderModule(pCreateInfo *vk.ShaderModuleCreateInfo, pShaderModule *vk.ShaderModule) vk.Result

VkCreateShaderModule -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateShaderModule.html

func (*Device) VkCreateSharedSwapchainsKHR

func (dev *Device) VkCreateSharedSwapchainsKHR(swapchainCount uint32, pCreateInfos *vk.SwapchainCreateInfoKHR, pSwapchains *vk.SwapchainKHR) vk.Result

VkCreateSharedSwapchainsKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateSharedSwapchainsKHR.html

func (*Device) VkDebugReportCallbackEXT

func (dev *Device) VkDebugReportCallbackEXT(flags vk.DebugReportFlagsEXT, objectType vk.DebugReportObjectTypeEXT, object uint64, location uintptr, messageCode int32, pLayerPrefix, pMessage *int8, pUserData unsafe.Pointer) vk.Bool32

VkDebugReportCallbackEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDebugReportCallbackEXT.html

func (*Device) VkDestroyAccelerationStructureNV

func (dev *Device) VkDestroyAccelerationStructureNV(accelerationStructure vk.AccelerationStructureNV)

VkDestroyAccelerationStructureNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyAccelerationStructureNV.html

func (*Device) VkDestroyBufferView

func (dev *Device) VkDestroyBufferView(bufferView vk.BufferView)

VkDestroyBufferView -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyBufferView.html

func (*Device) VkDestroyCommandPool

func (dev *Device) VkDestroyCommandPool(commandPool vk.CommandPool)

VkDestroyCommandPool -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyCommandPool.html

func (*Device) VkDestroyDescriptorPool

func (dev *Device) VkDestroyDescriptorPool(descriptorPool vk.DescriptorPool)

VkDestroyDescriptorPool -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDescriptorPool.html

func (*Device) VkDestroyDescriptorSetLayout

func (dev *Device) VkDestroyDescriptorSetLayout(descriptorSetLayout vk.DescriptorSetLayout)

VkDestroyDescriptorSetLayout -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDescriptorSetLayout.html

func (*Device) VkDestroyDescriptorUpdateTemplate

func (dev *Device) VkDestroyDescriptorUpdateTemplate(descriptorUpdateTemplate vk.DescriptorUpdateTemplate)

VkDestroyDescriptorUpdateTemplate -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDescriptorUpdateTemplate.html

func (*Device) VkDestroyDescriptorUpdateTemplateKHR

func (dev *Device) VkDestroyDescriptorUpdateTemplateKHR(descriptorUpdateTemplate vk.DescriptorUpdateTemplate)

VkDestroyDescriptorUpdateTemplateKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDescriptorUpdateTemplateKHR.html

func (*Device) VkDestroyFramebuffer

func (dev *Device) VkDestroyFramebuffer(framebuffer vk.Framebuffer)

VkDestroyFramebuffer -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyFramebuffer.html

func (*Device) VkDestroyIndirectCommandsLayoutNVX

func (dev *Device) VkDestroyIndirectCommandsLayoutNVX(indirectCommandsLayout vk.IndirectCommandsLayoutNVX)

VkDestroyIndirectCommandsLayoutNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyIndirectCommandsLayoutNVX.html

func (*Device) VkDestroyObjectTableNVX

func (dev *Device) VkDestroyObjectTableNVX(objectTable vk.ObjectTableNVX)

VkDestroyObjectTableNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyObjectTableNVX.html

func (*Device) VkDestroyPipelineCache

func (dev *Device) VkDestroyPipelineCache(pipelineCache vk.PipelineCache)

VkDestroyPipelineCache -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyPipelineCache.html

func (*Device) VkDestroyPipelineLayout

func (dev *Device) VkDestroyPipelineLayout(pipelineLayout vk.PipelineLayout)

VkDestroyPipelineLayout -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyPipelineLayout.html

func (*Device) VkDestroyRenderPass

func (dev *Device) VkDestroyRenderPass(renderPass vk.RenderPass)

VkDestroyRenderPass -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyRenderPass.html

func (*Device) VkDestroySamplerYcbcrConversion

func (dev *Device) VkDestroySamplerYcbcrConversion(ycbcrConversion vk.SamplerYcbcrConversion)

VkDestroySamplerYcbcrConversion -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroySamplerYcbcrConversion.html

func (*Device) VkDestroySamplerYcbcrConversionKHR

func (dev *Device) VkDestroySamplerYcbcrConversionKHR(ycbcrConversion vk.SamplerYcbcrConversion)

VkDestroySamplerYcbcrConversionKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroySamplerYcbcrConversionKHR.html

func (*Device) VkDestroyShaderModule

func (dev *Device) VkDestroyShaderModule(shaderModule vk.ShaderModule)

VkDestroyShaderModule -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyShaderModule.html

func (*Device) VkDestroyValidationCacheEXT

func (dev *Device) VkDestroyValidationCacheEXT(validationCache vk.ValidationCacheEXT)

VkDestroyValidationCacheEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyValidationCacheEXT.html

func (*Device) VkDisplayPowerControlEXT

func (dev *Device) VkDisplayPowerControlEXT(display vk.DisplayKHR, pDisplayPowerInfo *vk.DisplayPowerInfoEXT) vk.Result

VkDisplayPowerControlEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDisplayPowerControlEXT.html

func (*Device) VkEnumerateInstanceVersion

func (dev *Device) VkEnumerateInstanceVersion(pApiVersion *uint32) vk.Result

VkEnumerateInstanceVersion -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateInstanceVersion.html

func (*Device) VkFlushMappedMemoryRanges

func (dev *Device) VkFlushMappedMemoryRanges(memoryRangeCount uint32, pMemoryRanges *vk.MappedMemoryRange) vk.Result

VkFlushMappedMemoryRanges -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkFlushMappedMemoryRanges.html

func (*Device) VkFreeCommandBuffers

func (dev *Device) VkFreeCommandBuffers(commandPool vk.CommandPool, commandBufferCount uint32, pCommandBuffers *vk.CommandBuffer)

VkFreeCommandBuffers -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkFreeCommandBuffers.html

func (*Device) VkFreeDescriptorSets

func (dev *Device) VkFreeDescriptorSets(descriptorPool vk.DescriptorPool, descriptorSetCount uint32, pDescriptorSets *vk.DescriptorSet) vk.Result

VkFreeDescriptorSets -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkFreeDescriptorSets.html

func (*Device) VkGetAccelerationStructureHandleNV

func (dev *Device) VkGetAccelerationStructureHandleNV(accelerationStructure vk.AccelerationStructureNV, dataSize uintptr, pData unsafe.Pointer) vk.Result

VkGetAccelerationStructureHandleNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetAccelerationStructureHandleNV.html

func (*Device) VkGetBufferMemoryRequirements

func (dev *Device) VkGetBufferMemoryRequirements(buffer vk.Buffer, pMemoryRequirements *vk.MemoryRequirements)

VkGetBufferMemoryRequirements -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetBufferMemoryRequirements.html

func (*Device) VkGetBufferMemoryRequirements2

func (dev *Device) VkGetBufferMemoryRequirements2(pInfo *vk.BufferMemoryRequirementsInfo2, pMemoryRequirements *vk.MemoryRequirements2)

VkGetBufferMemoryRequirements2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetBufferMemoryRequirements2.html

func (*Device) VkGetBufferMemoryRequirements2KHR

func (dev *Device) VkGetBufferMemoryRequirements2KHR(pInfo *vk.BufferMemoryRequirementsInfo2, pMemoryRequirements *vk.MemoryRequirements2)

VkGetBufferMemoryRequirements2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetBufferMemoryRequirements2KHR.html

func (*Device) VkGetCalibratedTimestampsEXT

func (dev *Device) VkGetCalibratedTimestampsEXT(timestampCount uint32, pTimestampInfos *vk.CalibratedTimestampInfoEXT, pTimestamps, pMaxDeviation *uint64) vk.Result

VkGetCalibratedTimestampsEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetCalibratedTimestampsEXT.html

func (*Device) VkGetDeviceGroupPeerMemoryFeatures

func (dev *Device) VkGetDeviceGroupPeerMemoryFeatures(heapIndex, localDeviceIndex, remoteDeviceIndex uint32, pPeerMemoryFeatures *vk.PeerMemoryFeatureFlags)

VkGetDeviceGroupPeerMemoryFeatures -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceGroupPeerMemoryFeatures.html

func (*Device) VkGetDeviceGroupPeerMemoryFeaturesKHR

func (dev *Device) VkGetDeviceGroupPeerMemoryFeaturesKHR(heapIndex, localDeviceIndex, remoteDeviceIndex uint32, pPeerMemoryFeatures *vk.PeerMemoryFeatureFlags)

VkGetDeviceGroupPeerMemoryFeaturesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceGroupPeerMemoryFeaturesKHR.html

func (*Device) VkGetDeviceGroupPresentCapabilitiesKHR

func (dev *Device) VkGetDeviceGroupPresentCapabilitiesKHR(pDeviceGroupPresentCapabilities *vk.DeviceGroupPresentCapabilitiesKHR) vk.Result

VkGetDeviceGroupPresentCapabilitiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceGroupPresentCapabilitiesKHR.html

func (*Device) VkGetDeviceMemoryCommitment

func (dev *Device) VkGetDeviceMemoryCommitment(memory vk.DeviceMemory, pCommittedMemoryInBytes *vk.DeviceSize)

VkGetDeviceMemoryCommitment -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceMemoryCommitment.html

func (*Device) VkGetDeviceQueue

func (dev *Device) VkGetDeviceQueue(queueFamilyIndex, queueIndex uint32, pQueue *vk.Queue)

VkGetDeviceQueue -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceQueue.html

func (*Device) VkGetDeviceQueue2

func (dev *Device) VkGetDeviceQueue2(pQueueInfo *vk.DeviceQueueInfo2, pQueue *vk.Queue)

VkGetDeviceQueue2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDeviceQueue2.html

func (*Device) VkGetImageDrmFormatModifierPropertiesEXT

func (dev *Device) VkGetImageDrmFormatModifierPropertiesEXT(image vk.Image, pProperties *vk.ImageDrmFormatModifierPropertiesEXT) vk.Result

VkGetImageDrmFormatModifierPropertiesEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageDrmFormatModifierPropertiesEXT.html

func (*Device) VkGetImageMemoryRequirements

func (dev *Device) VkGetImageMemoryRequirements(image vk.Image, pMemoryRequirements *vk.MemoryRequirements)

VkGetImageMemoryRequirements -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageMemoryRequirements.html

func (*Device) VkGetImageMemoryRequirements2

func (dev *Device) VkGetImageMemoryRequirements2(pInfo *vk.ImageMemoryRequirementsInfo2, pMemoryRequirements *vk.MemoryRequirements2)

VkGetImageMemoryRequirements2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageMemoryRequirements2.html

func (*Device) VkGetImageMemoryRequirements2KHR

func (dev *Device) VkGetImageMemoryRequirements2KHR(pInfo *vk.ImageMemoryRequirementsInfo2, pMemoryRequirements *vk.MemoryRequirements2)

VkGetImageMemoryRequirements2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageMemoryRequirements2KHR.html

func (*Device) VkGetImageSparseMemoryRequirements

func (dev *Device) VkGetImageSparseMemoryRequirements(image vk.Image, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *vk.SparseImageMemoryRequirements)

VkGetImageSparseMemoryRequirements -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageSparseMemoryRequirements.html

func (*Device) VkGetImageSparseMemoryRequirements2

func (dev *Device) VkGetImageSparseMemoryRequirements2(pInfo *vk.ImageSparseMemoryRequirementsInfo2, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *vk.SparseImageMemoryRequirements2)

VkGetImageSparseMemoryRequirements2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageSparseMemoryRequirements2.html

func (*Device) VkGetImageSparseMemoryRequirements2KHR

func (dev *Device) VkGetImageSparseMemoryRequirements2KHR(pInfo *vk.ImageSparseMemoryRequirementsInfo2, pSparseMemoryRequirementCount *uint32, pSparseMemoryRequirements *vk.SparseImageMemoryRequirements2)

VkGetImageSparseMemoryRequirements2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageSparseMemoryRequirements2KHR.html

func (*Device) VkGetImageSubresourceLayout

func (dev *Device) VkGetImageSubresourceLayout(image vk.Image, pSubresource *vk.ImageSubresource, pLayout *vk.SubresourceLayout)

VkGetImageSubresourceLayout -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetImageSubresourceLayout.html

func (*Device) VkGetMemoryFdPropertiesKHR

func (dev *Device) VkGetMemoryFdPropertiesKHR(handleType vk.ExternalMemoryHandleTypeFlags, fd int, pMemoryFdProperties *vk.MemoryFdPropertiesKHR) vk.Result

VkGetMemoryFdPropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetMemoryFdPropertiesKHR.html

func (*Device) VkGetMemoryHostPointerPropertiesEXT

func (dev *Device) VkGetMemoryHostPointerPropertiesEXT(handleType vk.ExternalMemoryHandleTypeFlags, pHostPointer unsafe.Pointer, pMemoryHostPointerProperties *vk.MemoryHostPointerPropertiesEXT) vk.Result

VkGetMemoryHostPointerPropertiesEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetMemoryHostPointerPropertiesEXT.html

func (*Device) VkGetPastPresentationTimingGOOGLE

func (dev *Device) VkGetPastPresentationTimingGOOGLE(swapchain vk.SwapchainKHR, pPresentationTimingCount *uint32, pPresentationTimings *vk.PastPresentationTimingGOOGLE) vk.Result

VkGetPastPresentationTimingGOOGLE -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPastPresentationTimingGOOGLE.html

func (*Device) VkGetPipelineCacheData

func (dev *Device) VkGetPipelineCacheData(pipelineCache vk.PipelineCache, pDataSize *uintptr, pData unsafe.Pointer) vk.Result

VkGetPipelineCacheData -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPipelineCacheData.html

func (*Device) VkGetPipelineExecutableInternalRepresentationsKHR

func (dev *Device) VkGetPipelineExecutableInternalRepresentationsKHR(device vk.Device, pExecutableInfo *vk.PipelineExecutableInfoKHR, pInternalRepresentationCount *uint32, pInternalRepresentations *vk.PipelineExecutableInternalRepresentationKHR) vk.Result

VkGetPipelineExecutableInternalRepresentationsKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPipelineExecutableInternalRepresentationsKHR.html

func (*Device) VkGetPipelineExecutablePropertiesKHR

func (dev *Device) VkGetPipelineExecutablePropertiesKHR(device vk.Device, pPipelineInfo *vk.PipelineInfoKHR, pExecutableCount *uint32, pProperties *vk.PipelineExecutablePropertiesKHR) vk.Result

VkGetPipelineExecutablePropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPipelineExecutablePropertiesKHR.html

func (*Device) VkGetPipelineExecutableStatisticsKHR

func (dev *Device) VkGetPipelineExecutableStatisticsKHR(device vk.Device, pExecutableInfo *vk.PipelineExecutableInfoKHR, pStatisticCount *uint32, pStatistics *vk.PipelineExecutableStatisticKHR) vk.Result

VkGetPipelineExecutableStatisticsKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPipelineExecutableStatisticsKHR.html

func (*Device) VkGetQueryPoolResults

func (dev *Device) VkGetQueryPoolResults(queryPool vk.QueryPool, firstQuery, queryCount uint32, dataSize uintptr, pData unsafe.Pointer, stride vk.DeviceSize, flags vk.QueryResultFlags) vk.Result

VkGetQueryPoolResults -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetQueryPoolResults.html

func (*Device) VkGetQueueCheckpointDataNV

func (dev *Device) VkGetQueueCheckpointDataNV(queue vk.Queue, pCheckpointDataCount *uint32, pCheckpointData *vk.CheckpointDataNV)

VkGetQueueCheckpointDataNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetQueueCheckpointDataNV.html

func (*Device) VkGetRayTracingShaderGroupHandlesNV

func (dev *Device) VkGetRayTracingShaderGroupHandlesNV(pipeline vk.Pipeline, firstGroup, groupCount uint32, dataSize uintptr, pData unsafe.Pointer) vk.Result

VkGetRayTracingShaderGroupHandlesNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetRayTracingShaderGroupHandlesNV.html

func (*Device) VkGetRefreshCycleDurationGOOGLE

func (dev *Device) VkGetRefreshCycleDurationGOOGLE(swapchain vk.SwapchainKHR, pDisplayTimingProperties *vk.RefreshCycleDurationGOOGLE) vk.Result

VkGetRefreshCycleDurationGOOGLE -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetRefreshCycleDurationGOOGLE.html

func (*Device) VkGetRenderAreaGranularity

func (dev *Device) VkGetRenderAreaGranularity(renderPass vk.RenderPass, pGranularity *vk.Extent2D)

VkGetRenderAreaGranularity -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetRenderAreaGranularity.html

func (*Device) VkGetShaderInfoAMD

func (dev *Device) VkGetShaderInfoAMD(pipeline vk.Pipeline, shaderStage vk.ShaderStageFlags, infoType vk.ShaderInfoTypeAMD, pInfoSize *uintptr, pInfo unsafe.Pointer) vk.Result

VkGetShaderInfoAMD -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetShaderInfoAMD.html

func (*Device) VkGetSwapchainCounterEXT

func (dev *Device) VkGetSwapchainCounterEXT(swapchain vk.SwapchainKHR, counter vk.SurfaceCounterFlagsEXT, pCounterValue *uint64) vk.Result

VkGetSwapchainCounterEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetSwapchainCounterEXT.html

func (*Device) VkGetSwapchainImagesKHR

func (dev *Device) VkGetSwapchainImagesKHR(swapchain vk.SwapchainKHR, pSwapchainImageCount *uint32, pSwapchainImages *vk.Image) vk.Result

VkGetSwapchainImagesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetSwapchainImagesKHR.html

func (*Device) VkGetValidationCacheDataEXT

func (dev *Device) VkGetValidationCacheDataEXT(validationCache vk.ValidationCacheEXT, pDataSize *uintptr, pData unsafe.Pointer) vk.Result

VkGetValidationCacheDataEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetValidationCacheDataEXT.html

func (*Device) VkImportSemaphoreFdKHR

func (dev *Device) VkImportSemaphoreFdKHR(pImportSemaphoreFdInfo *vk.ImportSemaphoreFdInfoKHR) vk.Result

VkImportSemaphoreFdKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkImportSemaphoreFdKHR.html

func (*Device) VkInvalidateMappedMemoryRanges

func (dev *Device) VkInvalidateMappedMemoryRanges(memoryRangeCount uint32, pMemoryRanges *vk.MappedMemoryRange) vk.Result

VkInvalidateMappedMemoryRanges -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkInvalidateMappedMemoryRanges.html

func (*Device) VkMergePipelineCaches

func (dev *Device) VkMergePipelineCaches(dstCache vk.PipelineCache, srcCacheCount uint32, pSrcCaches *vk.PipelineCache) vk.Result

VkMergePipelineCaches -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkMergePipelineCaches.html

func (*Device) VkMergeValidationCachesEXT

func (dev *Device) VkMergeValidationCachesEXT(dstCache vk.ValidationCacheEXT, srcCacheCount uint32, pSrcCaches *vk.ValidationCacheEXT) vk.Result

VkMergeValidationCachesEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkMergeValidationCachesEXT.html

func (*Device) VkQueueBeginDebugUtilsLabelEXT

func (dev *Device) VkQueueBeginDebugUtilsLabelEXT(queue vk.Queue, pLabelInfo *vk.DebugUtilsLabelEXT)

VkQueueBeginDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueBeginDebugUtilsLabelEXT.html

func (*Device) VkQueueBindSparse

func (dev *Device) VkQueueBindSparse(queue vk.Queue, bindInfoCount uint32, pBindInfo *vk.BindSparseInfo, fence vk.Fence) vk.Result

VkQueueBindSparse -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueBindSparse.html

func (*Device) VkQueueEndDebugUtilsLabelEXT

func (dev *Device) VkQueueEndDebugUtilsLabelEXT(queue vk.Queue)

VkQueueEndDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueEndDebugUtilsLabelEXT.html

func (*Device) VkQueueInsertDebugUtilsLabelEXT

func (dev *Device) VkQueueInsertDebugUtilsLabelEXT(queue vk.Queue, pLabelInfo *vk.DebugUtilsLabelEXT)

VkQueueInsertDebugUtilsLabelEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueInsertDebugUtilsLabelEXT.html

func (*Device) VkQueuePresentKHR

func (dev *Device) VkQueuePresentKHR(queue vk.Queue, pPresentInfo *vk.PresentInfoKHR) vk.Result

VkQueuePresentKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueuePresentKHR.html

func (*Device) VkQueueSetPerformanceConfigurationINTEL

func (dev *Device) VkQueueSetPerformanceConfigurationINTEL(queue vk.Queue, configuration vk.PerformanceConfigurationINTEL) vk.Result

VkQueueSetPerformanceConfigurationINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueSetPerformanceConfigurationINTEL.html

func (*Device) VkQueueSubmit

func (dev *Device) VkQueueSubmit(queue vk.Queue, submitCount uint32, pSubmits *vk.SubmitInfo, fence vk.Fence) vk.Result

VkQueueSubmit -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkQueueSubmit.html

func (*Device) VkRegisterDeviceEventEXT

func (dev *Device) VkRegisterDeviceEventEXT(pDeviceEventInfo *vk.DeviceEventInfoEXT, pFence *vk.Fence) vk.Result

VkRegisterDeviceEventEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkRegisterDeviceEventEXT.html

func (*Device) VkRegisterDisplayEventEXT

func (dev *Device) VkRegisterDisplayEventEXT(display vk.DisplayKHR, pDisplayEventInfo *vk.DisplayEventInfoEXT, pFence *vk.Fence) vk.Result

VkRegisterDisplayEventEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkRegisterDisplayEventEXT.html

func (*Device) VkRegisterObjectsNVX

func (dev *Device) VkRegisterObjectsNVX(objectTable vk.ObjectTableNVX, objectCount uint32, ppObjectTableEntries **vk.ObjectTableEntryNVX, pObjectIndices *uint32) vk.Result

VkRegisterObjectsNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkRegisterObjectsNVX.html

func (*Device) VkReleasePerformanceConfigurationINTEL

func (dev *Device) VkReleasePerformanceConfigurationINTEL(configuration vk.PerformanceConfigurationINTEL) vk.Result

VkReleasePerformanceConfigurationINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkReleasePerformanceConfigurationINTEL.html

func (*Device) VkResetFences

func (dev *Device) VkResetFences(fenceCount uint32, pFences *vk.Fence) vk.Result

VkResetFences -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkResetFences.html

func (*Device) VkResetQueryPoolEXT

func (dev *Device) VkResetQueryPoolEXT(queryPool vk.QueryPool, firstQuery, queryCount uint32)

VkResetQueryPoolEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkResetQueryPoolEXT.html

func (*Device) VkSetHdrMetadataEXT

func (dev *Device) VkSetHdrMetadataEXT(swapchainCount uint32, pSwapchains *vk.SwapchainKHR, pMetadata *vk.HdrMetadataEXT)

VkSetHdrMetadataEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkSetHdrMetadataEXT.html

func (*Device) VkSetLocalDimmingAMD

func (dev *Device) VkSetLocalDimmingAMD(swapChain vk.SwapchainKHR, localDimmingEnable vk.Bool32)

VkSetLocalDimmingAMD -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkSetLocalDimmingAMD.html

func (*Device) VkUninitializePerformanceApiINTEL

func (dev *Device) VkUninitializePerformanceApiINTEL()

VkUninitializePerformanceApiINTEL -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkUninitializePerformanceApiINTEL.html

func (*Device) VkUnregisterObjectsNVX

func (dev *Device) VkUnregisterObjectsNVX(objectTable vk.ObjectTableNVX, objectCount uint32, pObjectEntryTypes *vk.ObjectEntryTypeNVX, pObjectIndices *uint32) vk.Result

VkUnregisterObjectsNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkUnregisterObjectsNVX.html

func (*Device) VkUpdateDescriptorSetWithTemplate

func (dev *Device) VkUpdateDescriptorSetWithTemplate(descriptorSet vk.DescriptorSet, descriptorUpdateTemplate vk.DescriptorUpdateTemplate, pData unsafe.Pointer)

VkUpdateDescriptorSetWithTemplate -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkUpdateDescriptorSetWithTemplate.html

func (*Device) VkUpdateDescriptorSetWithTemplateKHR

func (dev *Device) VkUpdateDescriptorSetWithTemplateKHR(descriptorSet vk.DescriptorSet, descriptorUpdateTemplate vk.DescriptorUpdateTemplate, pData unsafe.Pointer)

VkUpdateDescriptorSetWithTemplateKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkUpdateDescriptorSetWithTemplateKHR.html

func (*Device) VkUpdateDescriptorSets

func (dev *Device) VkUpdateDescriptorSets(descriptorWriteCount uint32, pDescriptorWrites *vk.WriteDescriptorSet, descriptorCopyCount uint32, pDescriptorCopies *vk.CopyDescriptorSet)

VkUpdateDescriptorSets -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkUpdateDescriptorSets.html

func (*Device) VkWaitForFences

func (dev *Device) VkWaitForFences(fenceCount uint32, pFences *vk.Fence, waitAll vk.Bool32, timeout uint64) vk.Result

VkWaitForFences -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkWaitForFences.html

func (*Device) WaitFences

func (dev *Device) WaitFences(fens []vk.Fence, waitAll bool, timeoutNsecs uint64) error

type DeviceInfo

type DeviceInfo struct {
	Flags          vk.DeviceCreateFlags
	Queues         []QueueInfo
	Layers         []string
	Extensions     []string
	Features       vk.PhysicalDeviceFeatures
	GraphicsFamily uint32 // same as DeviceInfo.GraphicsFamily
}

type DevicePfns

type DevicePfns struct {
	vk.PfnGetDeviceQueue
	vk.PfnQueueSubmit
	vk.PfnQueueWaitIdle
	vk.PfnDeviceWaitIdle
	vk.PfnAllocateMemory
	vk.PfnFreeMemory
	vk.PfnMapMemory
	vk.PfnUnmapMemory
	vk.PfnFlushMappedMemoryRanges
	vk.PfnInvalidateMappedMemoryRanges
	vk.PfnGetDeviceMemoryCommitment
	vk.PfnBindBufferMemory
	vk.PfnBindImageMemory
	vk.PfnGetBufferMemoryRequirements
	vk.PfnGetImageMemoryRequirements
	vk.PfnGetImageSparseMemoryRequirements
	vk.PfnQueueBindSparse
	vk.PfnCreateFence
	vk.PfnDestroyFence
	vk.PfnResetFences
	vk.PfnGetFenceStatus
	vk.PfnWaitForFences
	vk.PfnCreateSemaphore
	vk.PfnDestroySemaphore
	vk.PfnCreateEvent
	vk.PfnDestroyEvent
	vk.PfnGetEventStatus
	vk.PfnSetEvent
	vk.PfnResetEvent
	vk.PfnCreateQueryPool
	vk.PfnDestroyQueryPool
	vk.PfnGetQueryPoolResults
	vk.PfnCreateBuffer
	vk.PfnDestroyBuffer
	vk.PfnCreateBufferView
	vk.PfnDestroyBufferView
	vk.PfnCreateImage
	vk.PfnDestroyImage
	vk.PfnGetImageSubresourceLayout
	vk.PfnCreateImageView
	vk.PfnDestroyImageView
	vk.PfnCreateShaderModule
	vk.PfnDestroyShaderModule
	vk.PfnCreatePipelineCache
	vk.PfnDestroyPipelineCache
	vk.PfnGetPipelineCacheData
	vk.PfnMergePipelineCaches
	vk.PfnCreateGraphicsPipelines
	vk.PfnCreateComputePipelines
	vk.PfnDestroyPipeline
	vk.PfnCreatePipelineLayout
	vk.PfnDestroyPipelineLayout
	vk.PfnCreateSampler
	vk.PfnDestroySampler
	vk.PfnCreateDescriptorSetLayout
	vk.PfnDestroyDescriptorSetLayout
	vk.PfnCreateDescriptorPool
	vk.PfnDestroyDescriptorPool
	vk.PfnResetDescriptorPool
	vk.PfnAllocateDescriptorSets
	vk.PfnFreeDescriptorSets
	vk.PfnUpdateDescriptorSets
	vk.PfnCreateFramebuffer
	vk.PfnDestroyFramebuffer
	vk.PfnCreateRenderPass
	vk.PfnDestroyRenderPass
	vk.PfnGetRenderAreaGranularity
	vk.PfnCreateCommandPool
	vk.PfnDestroyCommandPool
	vk.PfnResetCommandPool
	vk.PfnAllocateCommandBuffers
	vk.PfnFreeCommandBuffers
	vk.PfnBeginCommandBuffer
	vk.PfnEndCommandBuffer
	vk.PfnResetCommandBuffer
	vk.PfnCmdBindPipeline
	vk.PfnCmdSetViewport
	vk.PfnCmdSetScissor
	vk.PfnCmdSetLineWidth
	vk.PfnCmdSetDepthBias
	vk.PfnCmdSetBlendConstants
	vk.PfnCmdSetDepthBounds
	vk.PfnCmdSetStencilCompareMask
	vk.PfnCmdSetStencilWriteMask
	vk.PfnCmdSetStencilReference
	vk.PfnCmdBindDescriptorSets
	vk.PfnCmdBindIndexBuffer
	vk.PfnCmdBindVertexBuffers
	vk.PfnCmdDraw
	vk.PfnCmdDrawIndexed
	vk.PfnCmdDrawIndirect
	vk.PfnCmdDrawIndexedIndirect
	vk.PfnCmdDispatch
	vk.PfnCmdDispatchIndirect
	vk.PfnCmdCopyBuffer
	vk.PfnCmdCopyImage
	vk.PfnCmdBlitImage
	vk.PfnCmdCopyBufferToImage
	vk.PfnCmdCopyImageToBuffer
	vk.PfnCmdUpdateBuffer
	vk.PfnCmdFillBuffer
	vk.PfnCmdClearColorImage
	vk.PfnCmdClearDepthStencilImage
	vk.PfnCmdClearAttachments
	vk.PfnCmdResolveImage
	vk.PfnCmdSetEvent
	vk.PfnCmdResetEvent
	vk.PfnCmdWaitEvents
	vk.PfnCmdPipelineBarrier
	vk.PfnCmdBeginQuery
	vk.PfnCmdEndQuery
	vk.PfnCmdResetQueryPool
	vk.PfnCmdWriteTimestamp
	vk.PfnCmdCopyQueryPoolResults
	vk.PfnCmdPushConstants
	vk.PfnCmdBeginRenderPass
	vk.PfnCmdNextSubpass
	vk.PfnCmdEndRenderPass
	vk.PfnCmdExecuteCommands
	vk.PfnEnumerateInstanceVersion
	vk.PfnBindBufferMemory2
	vk.PfnBindImageMemory2
	vk.PfnGetDeviceGroupPeerMemoryFeatures
	vk.PfnCmdSetDeviceMask
	vk.PfnCmdDispatchBase
	vk.PfnGetImageMemoryRequirements2
	vk.PfnGetBufferMemoryRequirements2
	vk.PfnGetImageSparseMemoryRequirements2
	vk.PfnTrimCommandPool
	vk.PfnGetDeviceQueue2
	vk.PfnCreateSamplerYcbcrConversion
	vk.PfnDestroySamplerYcbcrConversion
	vk.PfnCreateDescriptorUpdateTemplate
	vk.PfnDestroyDescriptorUpdateTemplate
	vk.PfnUpdateDescriptorSetWithTemplate
	vk.PfnGetDescriptorSetLayoutSupport
	vk.PfnCreateSwapchainKHR
	vk.PfnDestroySwapchainKHR
	vk.PfnGetSwapchainImagesKHR
	vk.PfnAcquireNextImageKHR
	vk.PfnQueuePresentKHR
	vk.PfnGetDeviceGroupPresentCapabilitiesKHR
	vk.PfnGetDeviceGroupSurfacePresentModesKHR
	vk.PfnAcquireNextImage2KHR
	vk.PfnCreateSharedSwapchainsKHR
	vk.PfnGetDeviceGroupPeerMemoryFeaturesKHR
	vk.PfnCmdSetDeviceMaskKHR
	vk.PfnCmdDispatchBaseKHR
	vk.PfnTrimCommandPoolKHR
	vk.PfnGetMemoryFdKHR
	vk.PfnGetMemoryFdPropertiesKHR
	vk.PfnImportSemaphoreFdKHR
	vk.PfnGetSemaphoreFdKHR
	vk.PfnCmdPushDescriptorSetKHR
	vk.PfnCmdPushDescriptorSetWithTemplateKHR
	vk.PfnCreateDescriptorUpdateTemplateKHR
	vk.PfnDestroyDescriptorUpdateTemplateKHR
	vk.PfnUpdateDescriptorSetWithTemplateKHR
	vk.PfnCreateRenderPass2KHR
	vk.PfnCmdBeginRenderPass2KHR
	vk.PfnCmdNextSubpass2KHR
	vk.PfnCmdEndRenderPass2KHR
	vk.PfnGetSwapchainStatusKHR
	vk.PfnImportFenceFdKHR
	vk.PfnGetFenceFdKHR
	vk.PfnGetImageMemoryRequirements2KHR
	vk.PfnGetBufferMemoryRequirements2KHR
	vk.PfnGetImageSparseMemoryRequirements2KHR
	vk.PfnCreateSamplerYcbcrConversionKHR
	vk.PfnDestroySamplerYcbcrConversionKHR
	vk.PfnBindBufferMemory2KHR
	vk.PfnBindImageMemory2KHR
	vk.PfnGetDescriptorSetLayoutSupportKHR
	vk.PfnCmdDrawIndirectCountKHR
	vk.PfnCmdDrawIndexedIndirectCountKHR
	vk.PfnGetPipelineExecutablePropertiesKHR
	vk.PfnGetPipelineExecutableStatisticsKHR
	vk.PfnGetPipelineExecutableInternalRepresentationsKHR
	vk.PfnDebugReportCallbackEXT
	vk.PfnDebugMarkerSetObjectTagEXT
	vk.PfnDebugMarkerSetObjectNameEXT
	vk.PfnCmdDebugMarkerBeginEXT
	vk.PfnCmdDebugMarkerEndEXT
	vk.PfnCmdDebugMarkerInsertEXT
	vk.PfnCmdBindTransformFeedbackBuffersEXT
	vk.PfnCmdBeginTransformFeedbackEXT
	vk.PfnCmdEndTransformFeedbackEXT
	vk.PfnCmdBeginQueryIndexedEXT
	vk.PfnCmdEndQueryIndexedEXT
	vk.PfnCmdDrawIndirectByteCountEXT
	vk.PfnGetImageViewHandleNVX
	vk.PfnCmdDrawIndirectCountAMD
	vk.PfnCmdDrawIndexedIndirectCountAMD
	vk.PfnGetShaderInfoAMD
	vk.PfnCmdBeginConditionalRenderingEXT
	vk.PfnCmdEndConditionalRenderingEXT
	vk.PfnCmdProcessCommandsNVX
	vk.PfnCmdReserveSpaceForCommandsNVX
	vk.PfnCreateIndirectCommandsLayoutNVX
	vk.PfnDestroyIndirectCommandsLayoutNVX
	vk.PfnCreateObjectTableNVX
	vk.PfnDestroyObjectTableNVX
	vk.PfnRegisterObjectsNVX
	vk.PfnUnregisterObjectsNVX
	vk.PfnCmdSetViewportWScalingNV
	vk.PfnDisplayPowerControlEXT
	vk.PfnRegisterDeviceEventEXT
	vk.PfnRegisterDisplayEventEXT
	vk.PfnGetSwapchainCounterEXT
	vk.PfnGetRefreshCycleDurationGOOGLE
	vk.PfnGetPastPresentationTimingGOOGLE
	vk.PfnCmdSetDiscardRectangleEXT
	vk.PfnSetHdrMetadataEXT
	vk.PfnDebugUtilsMessengerCallbackEXT
	vk.PfnSetDebugUtilsObjectNameEXT
	vk.PfnSetDebugUtilsObjectTagEXT
	vk.PfnQueueBeginDebugUtilsLabelEXT
	vk.PfnQueueEndDebugUtilsLabelEXT
	vk.PfnQueueInsertDebugUtilsLabelEXT
	vk.PfnCmdBeginDebugUtilsLabelEXT
	vk.PfnCmdEndDebugUtilsLabelEXT
	vk.PfnCmdInsertDebugUtilsLabelEXT
	vk.PfnCmdSetSampleLocationsEXT
	vk.PfnGetImageDrmFormatModifierPropertiesEXT
	vk.PfnCreateValidationCacheEXT
	vk.PfnDestroyValidationCacheEXT
	vk.PfnMergeValidationCachesEXT
	vk.PfnGetValidationCacheDataEXT
	vk.PfnCmdBindShadingRateImageNV
	vk.PfnCmdSetViewportShadingRatePaletteNV
	vk.PfnCmdSetCoarseSampleOrderNV
	vk.PfnCreateAccelerationStructureNV
	vk.PfnDestroyAccelerationStructureNV
	vk.PfnGetAccelerationStructureMemoryRequirementsNV
	vk.PfnBindAccelerationStructureMemoryNV
	vk.PfnCmdBuildAccelerationStructureNV
	vk.PfnCmdCopyAccelerationStructureNV
	vk.PfnCmdTraceRaysNV
	vk.PfnCreateRayTracingPipelinesNV
	vk.PfnGetRayTracingShaderGroupHandlesNV
	vk.PfnGetAccelerationStructureHandleNV
	vk.PfnCmdWriteAccelerationStructuresPropertiesNV
	vk.PfnCompileDeferredNV
	vk.PfnGetMemoryHostPointerPropertiesEXT
	vk.PfnCmdWriteBufferMarkerAMD
	vk.PfnGetCalibratedTimestampsEXT
	vk.PfnCmdDrawMeshTasksNV
	vk.PfnCmdDrawMeshTasksIndirectNV
	vk.PfnCmdDrawMeshTasksIndirectCountNV
	vk.PfnCmdSetExclusiveScissorNV
	vk.PfnCmdSetCheckpointNV
	vk.PfnGetQueueCheckpointDataNV
	vk.PfnInitializePerformanceApiINTEL
	vk.PfnUninitializePerformanceApiINTEL
	vk.PfnCmdSetPerformanceMarkerINTEL
	vk.PfnCmdSetPerformanceStreamMarkerINTEL
	vk.PfnCmdSetPerformanceOverrideINTEL
	vk.PfnAcquirePerformanceConfigurationINTEL
	vk.PfnReleasePerformanceConfigurationINTEL
	vk.PfnQueueSetPerformanceConfigurationINTEL
	vk.PfnGetPerformanceParameterINTEL
	vk.PfnSetLocalDimmingAMD
	vk.PfnGetBufferDeviceAddressEXT
	vk.PfnCmdSetLineStippleEXT
	vk.PfnResetQueryPoolEXT
}

type Fence

type Fence struct {
	Handle vk.Fence
	Device *Device
}

func (*Fence) Close

func (fen *Fence) Close() error

func (*Fence) Reset

func (fen *Fence) Reset() error

func (*Fence) Status

func (fen *Fence) Status() vk.Result

func (*Fence) Wait

func (fen *Fence) Wait(timeoutNsecs uint64) error

func (*Fence) WaitForever

func (fen *Fence) WaitForever() error

type FontManager

type FontManager struct {
	font.Manager
	Textures []*FontTexture
	Sampler  *Sampler

	VkDescriptorSetLayout vk.DescriptorSetLayout
	Device                *Device
	// contains filtered or unexported fields
}

func (*FontManager) Close

func (fman *FontManager) Close() error

func (*FontManager) MakeText

func (fman *FontManager) MakeText(s string, fontName string, fontSize int) (text *Text, err error)

type FontTexture

type FontTexture struct {
	Image           *ImageMemory
	VkImageView     vk.ImageView
	VkDescriptorSet vk.DescriptorSet
	// contains filtered or unexported fields
}

func (*FontTexture) Close

func (texture *FontTexture) Close() error

type Framebuffer

type Framebuffer struct {
	VkFramebuffer vk.Framebuffer

	SurfaceImage vk.Image
	SurfaceView  vk.ImageView

	DepthImage *ImageMemory
	DepthView  vk.ImageView

	Group *Group
}

func (*Framebuffer) Close

func (fb *Framebuffer) Close() error

type Group

type Group struct {
	GroupInfo

	PresentQueue vk.Queue

	RenderPasses []*RenderPass

	Device *Device
	// contains filtered or unexported fields
}

func (*Group) RealFormat

func (group *Group) RealFormat(format vk.Format) vk.Format

type GroupInfo

type GroupInfo struct {
	SurfaceFormat  vk.SurfaceFormatKHR
	PresentMode    vk.PresentModeKHR
	DepthFormat    vk.Format
	GraphicsFamily uint32 // same as DeviceInfo.GraphicsFamily
	PresentFamily  uint32
}

type ImageMemory

type ImageMemory struct {
	VkImage        vk.Image
	VkDeviceMemory vk.DeviceMemory
	Device         *Device
}

func (*ImageMemory) Close

func (vb *ImageMemory) Close() error

func (*ImageMemory) FillMemory

func (vb *ImageMemory) FillMemory(offset, size uint64, flags vk.MemoryMapFlags, pSrc unsafe.Pointer) error

func (*ImageMemory) MapMemory

func (vb *ImageMemory) MapMemory(offset, size uint64, flags vk.MemoryMapFlags) (addr unsafe.Pointer, err error)

func (*ImageMemory) UnmapMemory

func (vb *ImageMemory) UnmapMemory()

type Instance

type Instance struct {
	VkInstance vk.Instance

	InstancePfns
	SysPfns

	cfg.Options

	PhysicalDevices []*PhysicalDevice
	// contains filtered or unexported fields
}

func New

func New(options cfg.Options) (inst *Instance, err error)

func (*Instance) AllocDispatchableHandle

func (inst *Instance) AllocDispatchableHandle() *vk.DispatchableHandle

func (*Instance) AllocNonDispatchableHandle

func (inst *Instance) AllocNonDispatchableHandle() *vk.NonDispatchableHandle

func (*Instance) Close

func (inst *Instance) Close() error

func (*Instance) CreateNativeSurface

func (inst *Instance) CreateNativeSurface(data NativeSurfaceData) (vkSurface vk.SurfaceKHR, err error)

func (*Instance) FreeDispatchableHandle

func (inst *Instance) FreeDispatchableHandle(p *vk.DispatchableHandle)

func (*Instance) FreeNonDispatchableHandle

func (inst *Instance) FreeNonDispatchableHandle(p *vk.NonDispatchableHandle)

func (*Instance) LoadVulkanProc

func (inst *Instance) LoadVulkanProc(ppfn interface{}) error

func (*Instance) VkCreateDevice

func (inst *Instance) VkCreateDevice(physicalDevice vk.PhysicalDevice, pCreateInfo *vk.DeviceCreateInfo, pDevice *vk.Device) vk.Result

VkCreateDevice -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDevice.html

func (*Instance) VkCreateDisplayModeKHR

func (inst *Instance) VkCreateDisplayModeKHR(physicalDevice vk.PhysicalDevice, display vk.DisplayKHR, pCreateInfo *vk.DisplayModeCreateInfoKHR, pMode *vk.DisplayModeKHR) vk.Result

VkCreateDisplayModeKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDisplayModeKHR.html

func (*Instance) VkCreateDisplayPlaneSurfaceKHR

func (inst *Instance) VkCreateDisplayPlaneSurfaceKHR(pCreateInfo *vk.DisplaySurfaceCreateInfoKHR, pSurface *vk.SurfaceKHR) vk.Result

VkCreateDisplayPlaneSurfaceKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkCreateDisplayPlaneSurfaceKHR.html

func (*Instance) VkDebugReportMessageEXT

func (inst *Instance) VkDebugReportMessageEXT(flags vk.DebugReportFlagsEXT, objectType vk.DebugReportObjectTypeEXT, object uint64, location uintptr, messageCode int32, pLayerPrefix, pMessage *int8)

VkDebugReportMessageEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDebugReportMessageEXT.html

func (*Instance) VkDestroyDebugReportCallbackEXT

func (inst *Instance) VkDestroyDebugReportCallbackEXT(callback vk.DebugReportCallbackEXT)

VkDestroyDebugReportCallbackEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDebugReportCallbackEXT.html

func (*Instance) VkDestroyDebugUtilsMessengerEXT

func (inst *Instance) VkDestroyDebugUtilsMessengerEXT(messenger vk.DebugUtilsMessengerEXT)

VkDestroyDebugUtilsMessengerEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkDestroyDebugUtilsMessengerEXT.html

func (*Instance) VkEnumerateDeviceExtensionProperties

func (inst *Instance) VkEnumerateDeviceExtensionProperties(physicalDevice vk.PhysicalDevice, pLayerName *int8, pPropertyCount *uint32, pProperties *vk.ExtensionProperties) vk.Result

VkEnumerateDeviceExtensionProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateDeviceExtensionProperties.html

func (*Instance) VkEnumerateDeviceLayerProperties

func (inst *Instance) VkEnumerateDeviceLayerProperties(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.LayerProperties) vk.Result

VkEnumerateDeviceLayerProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumerateDeviceLayerProperties.html

func (*Instance) VkEnumeratePhysicalDeviceGroups

func (inst *Instance) VkEnumeratePhysicalDeviceGroups(pPhysicalDeviceGroupCount *uint32, pPhysicalDeviceGroupProperties *vk.PhysicalDeviceGroupProperties) vk.Result

VkEnumeratePhysicalDeviceGroups -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDeviceGroups.html

func (*Instance) VkEnumeratePhysicalDeviceGroupsKHR

func (inst *Instance) VkEnumeratePhysicalDeviceGroupsKHR(pPhysicalDeviceGroupCount *uint32, pPhysicalDeviceGroupProperties *vk.PhysicalDeviceGroupProperties) vk.Result

VkEnumeratePhysicalDeviceGroupsKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDeviceGroupsKHR.html

func (*Instance) VkEnumeratePhysicalDevices

func (inst *Instance) VkEnumeratePhysicalDevices(pPhysicalDeviceCount *uint32, pPhysicalDevices *vk.PhysicalDevice) vk.Result

VkEnumeratePhysicalDevices -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkEnumeratePhysicalDevices.html

func (*Instance) VkGetDisplayModeProperties2KHR

func (inst *Instance) VkGetDisplayModeProperties2KHR(physicalDevice vk.PhysicalDevice, display vk.DisplayKHR, pPropertyCount *uint32, pProperties *vk.DisplayModeProperties2KHR) vk.Result

VkGetDisplayModeProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDisplayModeProperties2KHR.html

func (*Instance) VkGetDisplayModePropertiesKHR

func (inst *Instance) VkGetDisplayModePropertiesKHR(physicalDevice vk.PhysicalDevice, display vk.DisplayKHR, pPropertyCount *uint32, pProperties *vk.DisplayModePropertiesKHR) vk.Result

VkGetDisplayModePropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDisplayModePropertiesKHR.html

func (*Instance) VkGetDisplayPlaneCapabilities2KHR

func (inst *Instance) VkGetDisplayPlaneCapabilities2KHR(physicalDevice vk.PhysicalDevice, pDisplayPlaneInfo *vk.DisplayPlaneInfo2KHR, pCapabilities *vk.DisplayPlaneCapabilities2KHR) vk.Result

VkGetDisplayPlaneCapabilities2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDisplayPlaneCapabilities2KHR.html

func (*Instance) VkGetDisplayPlaneCapabilitiesKHR

func (inst *Instance) VkGetDisplayPlaneCapabilitiesKHR(physicalDevice vk.PhysicalDevice, mode vk.DisplayModeKHR, planeIndex uint32, pCapabilities *vk.DisplayPlaneCapabilitiesKHR) vk.Result

VkGetDisplayPlaneCapabilitiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDisplayPlaneCapabilitiesKHR.html

func (*Instance) VkGetDisplayPlaneSupportedDisplaysKHR

func (inst *Instance) VkGetDisplayPlaneSupportedDisplaysKHR(physicalDevice vk.PhysicalDevice, planeIndex uint32, pDisplayCount *uint32, pDisplays *vk.DisplayKHR) vk.Result

VkGetDisplayPlaneSupportedDisplaysKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetDisplayPlaneSupportedDisplaysKHR.html

func (*Instance) VkGetPhysicalDeviceCalibrateableTimeDomainsEXT

func (inst *Instance) VkGetPhysicalDeviceCalibrateableTimeDomainsEXT(physicalDevice vk.PhysicalDevice, pTimeDomainCount *uint32, pTimeDomains *vk.TimeDomainEXT) vk.Result

VkGetPhysicalDeviceCalibrateableTimeDomainsEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceCalibrateableTimeDomainsEXT.html

func (*Instance) VkGetPhysicalDeviceCooperativeMatrixPropertiesNV

func (inst *Instance) VkGetPhysicalDeviceCooperativeMatrixPropertiesNV(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.CooperativeMatrixPropertiesNV) vk.Result

VkGetPhysicalDeviceCooperativeMatrixPropertiesNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceCooperativeMatrixPropertiesNV.html

func (*Instance) VkGetPhysicalDeviceDisplayPlaneProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceDisplayPlaneProperties2KHR(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.DisplayPlaneProperties2KHR) vk.Result

VkGetPhysicalDeviceDisplayPlaneProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceDisplayPlaneProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceDisplayPlanePropertiesKHR

func (inst *Instance) VkGetPhysicalDeviceDisplayPlanePropertiesKHR(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.DisplayPlanePropertiesKHR) vk.Result

VkGetPhysicalDeviceDisplayPlanePropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceDisplayPlanePropertiesKHR.html

func (*Instance) VkGetPhysicalDeviceDisplayProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceDisplayProperties2KHR(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.DisplayProperties2KHR) vk.Result

VkGetPhysicalDeviceDisplayProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceDisplayProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceDisplayPropertiesKHR

func (inst *Instance) VkGetPhysicalDeviceDisplayPropertiesKHR(physicalDevice vk.PhysicalDevice, pPropertyCount *uint32, pProperties *vk.DisplayPropertiesKHR) vk.Result

VkGetPhysicalDeviceDisplayPropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceDisplayPropertiesKHR.html

func (*Instance) VkGetPhysicalDeviceExternalBufferProperties

func (inst *Instance) VkGetPhysicalDeviceExternalBufferProperties(physicalDevice vk.PhysicalDevice, pExternalBufferInfo *vk.PhysicalDeviceExternalBufferInfo, pExternalBufferProperties *vk.ExternalBufferProperties)

VkGetPhysicalDeviceExternalBufferProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalBufferProperties.html

func (*Instance) VkGetPhysicalDeviceExternalBufferPropertiesKHR

func (inst *Instance) VkGetPhysicalDeviceExternalBufferPropertiesKHR(physicalDevice vk.PhysicalDevice, pExternalBufferInfo *vk.PhysicalDeviceExternalBufferInfo, pExternalBufferProperties *vk.ExternalBufferProperties)

VkGetPhysicalDeviceExternalBufferPropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalBufferPropertiesKHR.html

func (*Instance) VkGetPhysicalDeviceExternalFenceProperties

func (inst *Instance) VkGetPhysicalDeviceExternalFenceProperties(physicalDevice vk.PhysicalDevice, pExternalFenceInfo *vk.PhysicalDeviceExternalFenceInfo, pExternalFenceProperties *vk.ExternalFenceProperties)

VkGetPhysicalDeviceExternalFenceProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalFenceProperties.html

func (*Instance) VkGetPhysicalDeviceExternalFencePropertiesKHR

func (inst *Instance) VkGetPhysicalDeviceExternalFencePropertiesKHR(physicalDevice vk.PhysicalDevice, pExternalFenceInfo *vk.PhysicalDeviceExternalFenceInfo, pExternalFenceProperties *vk.ExternalFenceProperties)

VkGetPhysicalDeviceExternalFencePropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalFencePropertiesKHR.html

func (*Instance) VkGetPhysicalDeviceExternalImageFormatPropertiesNV

func (inst *Instance) VkGetPhysicalDeviceExternalImageFormatPropertiesNV(physicalDevice vk.PhysicalDevice, format vk.Format, type_ vk.ImageType, tiling vk.ImageTiling, usage vk.ImageUsageFlags, flags vk.ImageCreateFlags, externalHandleType vk.ExternalMemoryHandleTypeFlagsNV, pExternalImageFormatProperties *vk.ExternalImageFormatPropertiesNV) vk.Result

VkGetPhysicalDeviceExternalImageFormatPropertiesNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalImageFormatPropertiesNV.html

func (*Instance) VkGetPhysicalDeviceExternalSemaphoreProperties

func (inst *Instance) VkGetPhysicalDeviceExternalSemaphoreProperties(physicalDevice vk.PhysicalDevice, pExternalSemaphoreInfo *vk.PhysicalDeviceExternalSemaphoreInfo, pExternalSemaphoreProperties *vk.ExternalSemaphoreProperties)

VkGetPhysicalDeviceExternalSemaphoreProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalSemaphoreProperties.html

func (*Instance) VkGetPhysicalDeviceExternalSemaphorePropertiesKHR

func (inst *Instance) VkGetPhysicalDeviceExternalSemaphorePropertiesKHR(physicalDevice vk.PhysicalDevice, pExternalSemaphoreInfo *vk.PhysicalDeviceExternalSemaphoreInfo, pExternalSemaphoreProperties *vk.ExternalSemaphoreProperties)

VkGetPhysicalDeviceExternalSemaphorePropertiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceExternalSemaphorePropertiesKHR.html

func (*Instance) VkGetPhysicalDeviceFeatures

func (inst *Instance) VkGetPhysicalDeviceFeatures(physicalDevice vk.PhysicalDevice, pFeatures *vk.PhysicalDeviceFeatures)

VkGetPhysicalDeviceFeatures -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFeatures.html

func (*Instance) VkGetPhysicalDeviceFeatures2

func (inst *Instance) VkGetPhysicalDeviceFeatures2(physicalDevice vk.PhysicalDevice, pFeatures *vk.PhysicalDeviceFeatures2)

VkGetPhysicalDeviceFeatures2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFeatures2.html

func (*Instance) VkGetPhysicalDeviceFeatures2KHR

func (inst *Instance) VkGetPhysicalDeviceFeatures2KHR(physicalDevice vk.PhysicalDevice, pFeatures *vk.PhysicalDeviceFeatures2)

VkGetPhysicalDeviceFeatures2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFeatures2KHR.html

func (*Instance) VkGetPhysicalDeviceFormatProperties

func (inst *Instance) VkGetPhysicalDeviceFormatProperties(physicalDevice vk.PhysicalDevice, format vk.Format, pFormatProperties *vk.FormatProperties)

VkGetPhysicalDeviceFormatProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFormatProperties.html

func (*Instance) VkGetPhysicalDeviceFormatProperties2

func (inst *Instance) VkGetPhysicalDeviceFormatProperties2(physicalDevice vk.PhysicalDevice, format vk.Format, pFormatProperties *vk.FormatProperties2)

VkGetPhysicalDeviceFormatProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFormatProperties2.html

func (*Instance) VkGetPhysicalDeviceFormatProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceFormatProperties2KHR(physicalDevice vk.PhysicalDevice, format vk.Format, pFormatProperties *vk.FormatProperties2)

VkGetPhysicalDeviceFormatProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceFormatProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceGeneratedCommandsPropertiesNVX

func (inst *Instance) VkGetPhysicalDeviceGeneratedCommandsPropertiesNVX(physicalDevice vk.PhysicalDevice, pFeatures *vk.DeviceGeneratedCommandsFeaturesNVX, pLimits *vk.DeviceGeneratedCommandsLimitsNVX)

VkGetPhysicalDeviceGeneratedCommandsPropertiesNVX -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceGeneratedCommandsPropertiesNVX.html

func (*Instance) VkGetPhysicalDeviceImageFormatProperties

func (inst *Instance) VkGetPhysicalDeviceImageFormatProperties(physicalDevice vk.PhysicalDevice, format vk.Format, type_ vk.ImageType, tiling vk.ImageTiling, usage vk.ImageUsageFlags, flags vk.ImageCreateFlags, pImageFormatProperties *vk.ImageFormatProperties) vk.Result

VkGetPhysicalDeviceImageFormatProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties.html

func (*Instance) VkGetPhysicalDeviceImageFormatProperties2

func (inst *Instance) VkGetPhysicalDeviceImageFormatProperties2(physicalDevice vk.PhysicalDevice, pImageFormatInfo *vk.PhysicalDeviceImageFormatInfo2, pImageFormatProperties *vk.ImageFormatProperties2) vk.Result

VkGetPhysicalDeviceImageFormatProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2.html

func (*Instance) VkGetPhysicalDeviceImageFormatProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceImageFormatProperties2KHR(physicalDevice vk.PhysicalDevice, pImageFormatInfo *vk.PhysicalDeviceImageFormatInfo2, pImageFormatProperties *vk.ImageFormatProperties2) vk.Result

VkGetPhysicalDeviceImageFormatProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceImageFormatProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceMemoryProperties

func (inst *Instance) VkGetPhysicalDeviceMemoryProperties(physicalDevice vk.PhysicalDevice, pMemoryProperties *vk.PhysicalDeviceMemoryProperties)

VkGetPhysicalDeviceMemoryProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMemoryProperties.html

func (*Instance) VkGetPhysicalDeviceMemoryProperties2

func (inst *Instance) VkGetPhysicalDeviceMemoryProperties2(physicalDevice vk.PhysicalDevice, pMemoryProperties *vk.PhysicalDeviceMemoryProperties2)

VkGetPhysicalDeviceMemoryProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2.html

func (*Instance) VkGetPhysicalDeviceMemoryProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceMemoryProperties2KHR(physicalDevice vk.PhysicalDevice, pMemoryProperties *vk.PhysicalDeviceMemoryProperties2)

VkGetPhysicalDeviceMemoryProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMemoryProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceMultisamplePropertiesEXT

func (inst *Instance) VkGetPhysicalDeviceMultisamplePropertiesEXT(physicalDevice vk.PhysicalDevice, samples vk.SampleCountFlags, pMultisampleProperties *vk.MultisamplePropertiesEXT)

VkGetPhysicalDeviceMultisamplePropertiesEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceMultisamplePropertiesEXT.html

func (*Instance) VkGetPhysicalDevicePresentRectanglesKHR

func (inst *Instance) VkGetPhysicalDevicePresentRectanglesKHR(physicalDevice vk.PhysicalDevice, surface vk.SurfaceKHR, pRectCount *uint32, pRects *vk.Rect2D) vk.Result

VkGetPhysicalDevicePresentRectanglesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDevicePresentRectanglesKHR.html

func (*Instance) VkGetPhysicalDeviceProperties

func (inst *Instance) VkGetPhysicalDeviceProperties(physicalDevice vk.PhysicalDevice, pProperties *vk.PhysicalDeviceProperties)

VkGetPhysicalDeviceProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceProperties.html

func (*Instance) VkGetPhysicalDeviceProperties2

func (inst *Instance) VkGetPhysicalDeviceProperties2(physicalDevice vk.PhysicalDevice, pProperties *vk.PhysicalDeviceProperties2)

VkGetPhysicalDeviceProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceProperties2.html

func (*Instance) VkGetPhysicalDeviceProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceProperties2KHR(physicalDevice vk.PhysicalDevice, pProperties *vk.PhysicalDeviceProperties2)

VkGetPhysicalDeviceProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceQueueFamilyProperties

func (inst *Instance) VkGetPhysicalDeviceQueueFamilyProperties(physicalDevice vk.PhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties *vk.QueueFamilyProperties)

VkGetPhysicalDeviceQueueFamilyProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties.html

func (*Instance) VkGetPhysicalDeviceQueueFamilyProperties2

func (inst *Instance) VkGetPhysicalDeviceQueueFamilyProperties2(physicalDevice vk.PhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties *vk.QueueFamilyProperties2)

VkGetPhysicalDeviceQueueFamilyProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2.html

func (*Instance) VkGetPhysicalDeviceQueueFamilyProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceQueueFamilyProperties2KHR(physicalDevice vk.PhysicalDevice, pQueueFamilyPropertyCount *uint32, pQueueFamilyProperties *vk.QueueFamilyProperties2)

VkGetPhysicalDeviceQueueFamilyProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceQueueFamilyProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceSparseImageFormatProperties

func (inst *Instance) VkGetPhysicalDeviceSparseImageFormatProperties(physicalDevice vk.PhysicalDevice, format vk.Format, type_ vk.ImageType, samples vk.SampleCountFlags, usage vk.ImageUsageFlags, tiling vk.ImageTiling, pPropertyCount *uint32, pProperties *vk.SparseImageFormatProperties)

VkGetPhysicalDeviceSparseImageFormatProperties -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties.html

func (*Instance) VkGetPhysicalDeviceSparseImageFormatProperties2

func (inst *Instance) VkGetPhysicalDeviceSparseImageFormatProperties2(physicalDevice vk.PhysicalDevice, pFormatInfo *vk.PhysicalDeviceSparseImageFormatInfo2, pPropertyCount *uint32, pProperties *vk.SparseImageFormatProperties2)

VkGetPhysicalDeviceSparseImageFormatProperties2 -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2.html

func (*Instance) VkGetPhysicalDeviceSparseImageFormatProperties2KHR

func (inst *Instance) VkGetPhysicalDeviceSparseImageFormatProperties2KHR(physicalDevice vk.PhysicalDevice, pFormatInfo *vk.PhysicalDeviceSparseImageFormatInfo2, pPropertyCount *uint32, pProperties *vk.SparseImageFormatProperties2)

VkGetPhysicalDeviceSparseImageFormatProperties2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSparseImageFormatProperties2KHR.html

func (*Instance) VkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV

func (inst *Instance) VkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV(physicalDevice vk.PhysicalDevice, pCombinationCount *uint32, pCombinations *vk.FramebufferMixedSamplesCombinationNV) vk.Result

VkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV.html

func (*Instance) VkGetPhysicalDeviceSurfaceCapabilities2EXT

func (inst *Instance) VkGetPhysicalDeviceSurfaceCapabilities2EXT(physicalDevice vk.PhysicalDevice, surface vk.SurfaceKHR, pSurfaceCapabilities *vk.SurfaceCapabilities2EXT) vk.Result

VkGetPhysicalDeviceSurfaceCapabilities2EXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilities2EXT.html

func (*Instance) VkGetPhysicalDeviceSurfaceCapabilities2KHR

func (inst *Instance) VkGetPhysicalDeviceSurfaceCapabilities2KHR(physicalDevice vk.PhysicalDevice, pSurfaceInfo *vk.PhysicalDeviceSurfaceInfo2KHR, pSurfaceCapabilities *vk.SurfaceCapabilities2KHR) vk.Result

VkGetPhysicalDeviceSurfaceCapabilities2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilities2KHR.html

func (*Instance) VkGetPhysicalDeviceSurfaceCapabilitiesKHR

func (inst *Instance) VkGetPhysicalDeviceSurfaceCapabilitiesKHR(physicalDevice vk.PhysicalDevice, surface vk.SurfaceKHR, pSurfaceCapabilities *vk.SurfaceCapabilitiesKHR) vk.Result

VkGetPhysicalDeviceSurfaceCapabilitiesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceCapabilitiesKHR.html

func (*Instance) VkGetPhysicalDeviceSurfaceFormats2KHR

func (inst *Instance) VkGetPhysicalDeviceSurfaceFormats2KHR(physicalDevice vk.PhysicalDevice, pSurfaceInfo *vk.PhysicalDeviceSurfaceInfo2KHR, pSurfaceFormatCount *uint32, pSurfaceFormats *vk.SurfaceFormat2KHR) vk.Result

VkGetPhysicalDeviceSurfaceFormats2KHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceFormats2KHR.html

func (*Instance) VkGetPhysicalDeviceSurfaceFormatsKHR

func (inst *Instance) VkGetPhysicalDeviceSurfaceFormatsKHR(physicalDevice vk.PhysicalDevice, surface vk.SurfaceKHR, pSurfaceFormatCount *uint32, pSurfaceFormats *vk.SurfaceFormatKHR) vk.Result

VkGetPhysicalDeviceSurfaceFormatsKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceFormatsKHR.html

func (*Instance) VkGetPhysicalDeviceSurfacePresentModesKHR

func (inst *Instance) VkGetPhysicalDeviceSurfacePresentModesKHR(physicalDevice vk.PhysicalDevice, surface vk.SurfaceKHR, pPresentModeCount *uint32, pPresentModes *vk.PresentModeKHR) vk.Result

VkGetPhysicalDeviceSurfacePresentModesKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfacePresentModesKHR.html

func (*Instance) VkGetPhysicalDeviceSurfaceSupportKHR

func (inst *Instance) VkGetPhysicalDeviceSurfaceSupportKHR(physicalDevice vk.PhysicalDevice, queueFamilyIndex uint32, surface vk.SurfaceKHR, pSupported *vk.Bool32) vk.Result

VkGetPhysicalDeviceSurfaceSupportKHR -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkGetPhysicalDeviceSurfaceSupportKHR.html

func (*Instance) VkReleaseDisplayEXT

func (inst *Instance) VkReleaseDisplayEXT(physicalDevice vk.PhysicalDevice, display vk.DisplayKHR) vk.Result

VkReleaseDisplayEXT -- https://www.khronos.org/registry/vulkan/specs/1.1-extensions/man/html/vkReleaseDisplayEXT.html

type InstancePfns

type InstancePfns struct {
	vk.PfnDestroyInstance
	vk.PfnEnumeratePhysicalDevices
	vk.PfnGetPhysicalDeviceFeatures
	vk.PfnGetPhysicalDeviceFormatProperties
	vk.PfnGetPhysicalDeviceImageFormatProperties
	vk.PfnGetPhysicalDeviceProperties
	vk.PfnGetPhysicalDeviceQueueFamilyProperties
	vk.PfnGetPhysicalDeviceMemoryProperties
	vk.PfnGetInstanceProcAddr
	vk.PfnGetDeviceProcAddr
	vk.PfnCreateDevice
	vk.PfnDestroyDevice
	vk.PfnEnumerateDeviceExtensionProperties
	vk.PfnEnumerateDeviceLayerProperties
	vk.PfnGetPhysicalDeviceSparseImageFormatProperties
	vk.PfnEnumeratePhysicalDeviceGroups
	vk.PfnGetPhysicalDeviceFeatures2
	vk.PfnGetPhysicalDeviceProperties2
	vk.PfnGetPhysicalDeviceFormatProperties2
	vk.PfnGetPhysicalDeviceImageFormatProperties2
	vk.PfnGetPhysicalDeviceQueueFamilyProperties2
	vk.PfnGetPhysicalDeviceMemoryProperties2
	vk.PfnGetPhysicalDeviceSparseImageFormatProperties2
	vk.PfnGetPhysicalDeviceExternalBufferProperties
	vk.PfnGetPhysicalDeviceExternalFenceProperties
	vk.PfnGetPhysicalDeviceExternalSemaphoreProperties
	vk.PfnDestroySurfaceKHR
	vk.PfnGetPhysicalDeviceSurfaceSupportKHR
	vk.PfnGetPhysicalDeviceSurfaceCapabilitiesKHR
	vk.PfnGetPhysicalDeviceSurfaceFormatsKHR
	vk.PfnGetPhysicalDeviceSurfacePresentModesKHR
	vk.PfnGetPhysicalDevicePresentRectanglesKHR
	vk.PfnGetPhysicalDeviceDisplayPropertiesKHR
	vk.PfnGetPhysicalDeviceDisplayPlanePropertiesKHR
	vk.PfnGetDisplayPlaneSupportedDisplaysKHR
	vk.PfnGetDisplayModePropertiesKHR
	vk.PfnCreateDisplayModeKHR
	vk.PfnGetDisplayPlaneCapabilitiesKHR
	vk.PfnCreateDisplayPlaneSurfaceKHR
	vk.PfnGetPhysicalDeviceFeatures2KHR
	vk.PfnGetPhysicalDeviceProperties2KHR
	vk.PfnGetPhysicalDeviceFormatProperties2KHR
	vk.PfnGetPhysicalDeviceImageFormatProperties2KHR
	vk.PfnGetPhysicalDeviceQueueFamilyProperties2KHR
	vk.PfnGetPhysicalDeviceMemoryProperties2KHR
	vk.PfnGetPhysicalDeviceSparseImageFormatProperties2KHR
	vk.PfnEnumeratePhysicalDeviceGroupsKHR
	vk.PfnGetPhysicalDeviceExternalBufferPropertiesKHR
	vk.PfnGetPhysicalDeviceExternalSemaphorePropertiesKHR
	vk.PfnGetPhysicalDeviceExternalFencePropertiesKHR
	vk.PfnGetPhysicalDeviceSurfaceCapabilities2KHR
	vk.PfnGetPhysicalDeviceSurfaceFormats2KHR
	vk.PfnGetPhysicalDeviceDisplayProperties2KHR
	vk.PfnGetPhysicalDeviceDisplayPlaneProperties2KHR
	vk.PfnGetDisplayModeProperties2KHR
	vk.PfnGetDisplayPlaneCapabilities2KHR
	vk.PfnCreateDebugReportCallbackEXT
	vk.PfnDestroyDebugReportCallbackEXT
	vk.PfnDebugReportMessageEXT
	vk.PfnGetPhysicalDeviceExternalImageFormatPropertiesNV
	vk.PfnGetPhysicalDeviceGeneratedCommandsPropertiesNVX
	vk.PfnReleaseDisplayEXT
	vk.PfnGetPhysicalDeviceSurfaceCapabilities2EXT
	vk.PfnCreateDebugUtilsMessengerEXT
	vk.PfnDestroyDebugUtilsMessengerEXT
	vk.PfnSubmitDebugUtilsMessageEXT
	vk.PfnGetPhysicalDeviceMultisamplePropertiesEXT
	vk.PfnGetPhysicalDeviceCalibrateableTimeDomainsEXT
	vk.PfnGetPhysicalDeviceCooperativeMatrixPropertiesNV
	vk.PfnGetPhysicalDeviceSupportedFramebufferMixedSamplesCombinationsNV
	vk.PfnCreateHeadlessSurfaceEXT
}

type Mat3

type Mat3 = calc.Mat3

Mat3 type

type Mat4

type Mat4 = calc.Mat4

Mat4 type

type NativeSurfaceData

type NativeSurfaceData struct {
	ID  uintptr
	Ctx uintptr
}

type PhysicalDevice

type PhysicalDevice struct {
	VkPhysicalDevice vk.PhysicalDevice
	Devices          []*Device

	Instance *Instance
}

func (*PhysicalDevice) EnumerateExtensions

func (phy *PhysicalDevice) EnumerateExtensions(layer string) (m map[string]uint32, err error)

func (*PhysicalDevice) FilterFeatures

func (phy *PhysicalDevice) FilterFeatures(want vk.PhysicalDeviceFeatures) (enabled vk.PhysicalDeviceFeatures)

func (*PhysicalDevice) FindMemoryType

func (phy *PhysicalDevice) FindMemoryType(typeFilter uint32, properties vk.MemoryPropertyFlags) uint32

func (*PhysicalDevice) Name

func (phy *PhysicalDevice) Name() (x string)

func (*PhysicalDevice) PipelineCacheUUID

func (phy *PhysicalDevice) PipelineCacheUUID() (x uuid.UUID)

func (*PhysicalDevice) Properties

func (phy *PhysicalDevice) Properties() (x vk.PhysicalDeviceProperties)

func (*PhysicalDevice) ResolveForSurface

func (phy *PhysicalDevice) ResolveForSurface(sur vk.SurfaceKHR) (x uint32, props GroupInfo, err error)

func (*PhysicalDevice) String

func (phy *PhysicalDevice) String() string

type Pipeline

type Pipeline struct {
	VkPipeline vk.Pipeline
	*PipelineLayout
	// SetLayouts     []vk.DescriptorSetLayout
	Shaders  []*ShaderModule
	Device   *Device
	Instance *Instance
}

func (*Pipeline) Close

func (pl *Pipeline) Close() error

type PipelineLayout

type PipelineLayout struct {
	CfgPilelineLayout cfg.PipelineLayout

	DescriptorSetLayouts []*DescriptorSetLayout // shared
	VkPipelineLayout     vk.PipelineLayout
}

type Point

type Point = calc.Point2

Point type

type Pool

type Pool struct {
	sync.Mutex

	Idle []interface{}

	New func() interface{}
}

func (*Pool) Get

func (p *Pool) Get() (x interface{})

func (*Pool) Put

func (p *Pool) Put(x interface{})

type QueueInfo

type QueueInfo struct {
	Flags       vk.DeviceQueueCreateFlags
	FamilyIndex uint32
	Count       uint32
	Priorities  []float32
}

type Rail

type Rail struct {
	Fence             *Fence
	SemRenderFinished *vk.Semaphore
	SemImageAvailable *vk.Semaphore
	PresentInfo       *vk.PresentInfoKHR
	SubmitInfo        *vk.SubmitInfo
	CommandBuffer     CommandBuffer // main command buffer for this rail
	Device            *Device
	Surface           *Surface
}

func (*Rail) Close

func (rail *Rail) Close() error

func (*Rail) Init

func (rail *Rail) Init(sur *Surface) (err error)

type Rails

type Rails [NumRails]Rail

func (*Rails) Close

func (rails *Rails) Close() error

func (*Rails) Init

func (rails *Rails) Init(sur *Surface) (err error)

func (*Rails) WaitAllFences

func (rails *Rails) WaitAllFences()

type RailsUniform

type RailsUniform [NumRails]UniformBuffer

func (*RailsUniform) Close

func (us *RailsUniform) Close() error

func (*RailsUniform) Each

func (us *RailsUniform) Each(fn func(i int, u *UniformBuffer) error) error

func (*RailsUniform) Init

func (us *RailsUniform) Init(pool *DescriptorPool, vkSetLayout vk.DescriptorSetLayout,
	size uint64, usage vk.BufferUsageFlags, memoryProperties vk.MemoryPropertyFlags) (err error)

type Range

type Range = calc.Range2

Range type

type Rect

type Rect = calc.Rect2

Rect type

type RenderPass

type RenderPass struct {
	VkRenderPass  vk.RenderPass
	CfgRenderPass cfg.RenderPass
}

type Sampler

type Sampler struct {
	Handle vk.Sampler
	Device *Device
}

func (*Sampler) Close

func (smplr *Sampler) Close() error

type Semaphore

type Semaphore struct {
	Handle vk.Semaphore
	Device *Device
}

func (*Semaphore) Close

func (sem *Semaphore) Close() error

type ShaderModule

type ShaderModule struct {
	Handle vk.ShaderModule

	Device *Device
	// contains filtered or unexported fields
}

func (*ShaderModule) Close

func (sm *ShaderModule) Close() error

func (*ShaderModule) EntryPoint

func (sm *ShaderModule) EntryPoint() string

type Size

type Size = calc.Size2

Size type

type StaticTexture

type StaticTexture struct {
	Image       *ImageMemory
	VkImageView vk.ImageView

	Device *Device
	// contains filtered or unexported fields
}

func (*StaticTexture) Close

func (texture *StaticTexture) Close() error

type Surface

type Surface struct {
	VkSurface   vk.SurfaceKHR
	VkSwapchain *vk.SwapchainKHR

	Framebuffers []*Framebuffer

	Rails

	SurfaceCapabilities
	ImageCount uint32

	CurRailIndex uint32

	StdRenderPass *RenderPass

	TextPipeline *Pipeline
	FwdPipeline  *Pipeline

	NeedRecreate bool

	Group    *Group
	Instance *Instance
	// contains filtered or unexported fields
}

func (*Surface) AcquireNextImage

func (sur *Surface) AcquireNextImage(timeoutNsec uint64, semaphore vk.Semaphore, fence vk.Fence) (imageIndex uint32, err error)

func (*Surface) Close

func (sur *Surface) Close() error

func (*Surface) CreateFramebuffers

func (sur *Surface) CreateFramebuffers(pass *RenderPass, surfaceFormat vk.Format, extent vk.Extent2D) (fbs []*Framebuffer, err error)

func (*Surface) Init

func (sur *Surface) Init(self interface{}, inst *Instance, native NativeSurfaceData) (err error)

func (*Surface) InitFwdPipleline

func (sur *Surface) InitFwdPipleline() (err error)

func (*Surface) InitStdRenderPass

func (sur *Surface) InitStdRenderPass() (err error)

func (*Surface) InitTextPipleline

func (sur *Surface) InitTextPipleline() (err error)

func (*Surface) ListFormats

func (sur *Surface) ListFormats() (list []vk.SurfaceFormatKHR, err error)

func (*Surface) ListPresentModes

func (sur *Surface) ListPresentModes() (list []vk.PresentModeKHR, err error)

func (*Surface) OnCreateSurface

func (sur *Surface) OnCreateSurface() error

func (*Surface) Pause

func (sur *Surface) Pause()

func (*Surface) PauseDur

func (sur *Surface) PauseDur(ms int64)

func (*Surface) Paused

func (sur *Surface) Paused() bool

func (*Surface) Recreate

func (sur *Surface) Recreate(self interface{}) (err error)

func (*Surface) Resume

func (sur *Surface) Resume()

type SurfaceCapabilities

type SurfaceCapabilities = vk.SurfaceCapabilitiesKHR

type SurfaceHandler

type SurfaceHandler interface {
	OnCreateSurface() error
}

type Text

type Text struct {
	*font.Text
	Uni2D
	VB       *BufferMemory
	NumVerts uint32
	// contains filtered or unexported fields
}

func (*Text) Close

func (text *Text) Close() error

func (*Text) RecordCommands

func (text *Text) RecordCommands(cb CommandBuffer, pl *Pipeline)

type Uni2D

type Uni2D struct {
	M Mat3
	// contains filtered or unexported fields
}

type Uni3DMat

type Uni3DMat struct {
	MP Mat4
	MV Mat4
	MM Mat4
}

type UniEnvBlock

type UniEnvBlock struct {
	// time in secs
	T float32
}

type UniformBuffer

type UniformBuffer struct {
	VkDescriptorSet  vk.DescriptorSet
	VkDescriptorPool vk.DescriptorPool
	BufferMemory
}

func (*UniformBuffer) Close

func (ub *UniformBuffer) Close() error

func (*UniformBuffer) Init

func (ub *UniformBuffer) Init(pool *DescriptorPool, vkSetLayout vk.DescriptorSetLayout,
	size uint64, usage vk.BufferUsageFlags, memoryProperties vk.MemoryPropertyFlags) (err error)

func (*UniformBuffer) Update

func (ub *UniformBuffer) Update() error

type Vec2

type Vec2 = calc.Vec2

Vec2 type

type Vec3

type Vec3 = calc.Vec3

Vec3 type

type Vec4

type Vec4 = calc.Vec4

Vec4 type

type VertAttrib

type VertAttrib uint32
const (
	VaPos VertAttrib = 1 << iota
	VaNorm
	VaTC
)

func (VertAttrib) Bytes

func (va VertAttrib) Bytes() (n uint32)

func (VertAttrib) BytesOffset

func (va VertAttrib) BytesOffset(c VertAttrib) (o uint32)

func (VertAttrib) Components

func (va VertAttrib) Components() (n uint32)

func (VertAttrib) ComponentsOffset

func (va VertAttrib) ComponentsOffset(c VertAttrib) (o uint32)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL