Documentation ¶
Index ¶
- Constants
- type AttachmentDescription
- type BeginOptions
- type BindSparseOptions
- type Buffer
- type BufferCopy
- type BufferCreateOptions
- type BufferImageCopy
- type BufferMemoryBarrierOptions
- type BufferView
- type BufferViewCreateOptions
- type ClearAttachment
- type ClearRect
- type ColorBlendAttachment
- type ColorBlendStateOptions
- type CommandBuffer
- type CommandBufferAllocateOptions
- type CommandPool
- type CommandPoolCreateOptions
- type ComponentMapping
- type ComputePipelineCreateOptions
- type CopyDescriptorSetOptions
- type DepthStencilStateOptions
- type DescriptorBufferInfo
- type DescriptorImageInfo
- type DescriptorLayoutBinding
- type DescriptorPool
- type DescriptorPoolCreateOptions
- type DescriptorSet
- type DescriptorSetAllocateOptions
- type DescriptorSetLayout
- type DescriptorSetLayoutCreateOptions
- type Device
- type DeviceCreateOptions
- type DeviceMemory
- type DeviceQueueCreateOptions
- type DynamicStateOptions
- type Event
- type EventCreateOptions
- type Fence
- type FenceCreateOptions
- type FormatProperties
- type Framebuffer
- type FramebufferCreateOptions
- type GraphicsPipelineCreateOptions
- type Image
- type ImageBlit
- type ImageCopy
- type ImageCreateOptions
- type ImageFormatProperties
- type ImageMemoryBarrierOptions
- type ImageResolve
- type ImageView
- type ImageViewCreateOptions
- type InheritanceOptions
- type InputAssemblyStateOptions
- type Instance
- type InstanceCreateOptions
- type MappedMemoryRangeOptions
- type MemoryAllocateOptions
- type MemoryBarrierOptions
- type MemoryMapFlags
- type MemoryRequirements
- type MultisampleStateOptions
- type PhysicalDevice
- type PhysicalDeviceFeatures
- type PhysicalDeviceLimits
- type PhysicalDeviceMemoryProperties
- type PhysicalDeviceProperties
- type PhysicalDeviceSparseProperties
- type Pipeline
- type PipelineCache
- type PipelineCacheCreateOptions
- type PipelineLayout
- type PipelineLayoutCreateOptions
- type PoolSize
- type PushConstantRange
- type QueryPool
- type QueryPoolCreateOptions
- type Queue
- type QueueFamily
- type RasterizationStateOptions
- type RenderPass
- type RenderPassBeginOptions
- type RenderPassCreateOptions
- type Sampler
- type SamplerCreateOptions
- type Semaphore
- type SemaphoreCreateOptions
- type ShaderModule
- type ShaderModuleCreateOptions
- type ShaderStageOptions
- type SparseBufferMemoryBindInfo
- type SparseImageFormatProperties
- type SparseImageMemoryBind
- type SparseImageMemoryBindInfo
- type SparseImageMemoryRequirements
- type SparseImageOpaqueMemoryBindInfo
- type SparseMemoryBind
- type StencilOpState
- type SubPassDependency
- type SubPassDescription
- type SubmitOptions
- type TessellationStateOptions
- type VertexAttributeDescription
- type VertexBindingDescription
- type VertexInputStateOptions
- type ViewportStateOptions
- type WriteDescriptorSetExtensionSource
- type WriteDescriptorSetOptions
Constants ¶
View Source
const ( AccessIndirectCommandRead common.AccessFlags = C.VK_ACCESS_INDIRECT_COMMAND_READ_BIT AccessIndexRead common.AccessFlags = C.VK_ACCESS_INDEX_READ_BIT AccessVertexAttributeRead common.AccessFlags = C.VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT AccessUniformRead common.AccessFlags = C.VK_ACCESS_UNIFORM_READ_BIT AccessInputAttachmentRead common.AccessFlags = C.VK_ACCESS_INPUT_ATTACHMENT_READ_BIT AccessShaderRead common.AccessFlags = C.VK_ACCESS_SHADER_READ_BIT AccessShaderWrite common.AccessFlags = C.VK_ACCESS_SHADER_WRITE_BIT AccessColorAttachmentRead common.AccessFlags = C.VK_ACCESS_COLOR_ATTACHMENT_READ_BIT AccessColorAttachmentWrite common.AccessFlags = C.VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT AccessDepthStencilAttachmentRead common.AccessFlags = C.VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT AccessDepthStencilAttachmentWrite common.AccessFlags = C.VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT AccessTransferRead common.AccessFlags = C.VK_ACCESS_TRANSFER_READ_BIT AccessTransferWrite common.AccessFlags = C.VK_ACCESS_TRANSFER_WRITE_BIT AccessHostRead common.AccessFlags = C.VK_ACCESS_HOST_READ_BIT AccessHostWrite common.AccessFlags = C.VK_ACCESS_HOST_WRITE_BIT AccessMemoryRead common.AccessFlags = C.VK_ACCESS_MEMORY_READ_BIT AccessMemoryWrite common.AccessFlags = C.VK_ACCESS_MEMORY_WRITE_BIT )
View Source
const ( BufferCreateSparseBinding common.BufferCreateFlags = C.VK_BUFFER_CREATE_SPARSE_BINDING_BIT BufferCreateSparseResidency common.BufferCreateFlags = C.VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT BufferCreateSparseAliased common.BufferCreateFlags = C.VK_BUFFER_CREATE_SPARSE_ALIASED_BIT BufferUsageTransferSrc common.BufferUsages = C.VK_BUFFER_USAGE_TRANSFER_SRC_BIT BufferUsageTransferDst common.BufferUsages = C.VK_BUFFER_USAGE_TRANSFER_DST_BIT BufferUsageUniformTexelBuffer common.BufferUsages = C.VK_BUFFER_USAGE_UNIFORM_TEXEL_BUFFER_BIT BufferUsageStorageTexelBuffer common.BufferUsages = C.VK_BUFFER_USAGE_STORAGE_TEXEL_BUFFER_BIT BufferUsageUniformBuffer common.BufferUsages = C.VK_BUFFER_USAGE_UNIFORM_BUFFER_BIT BufferUsageStorageBuffer common.BufferUsages = C.VK_BUFFER_USAGE_STORAGE_BUFFER_BIT BufferUsageIndexBuffer common.BufferUsages = C.VK_BUFFER_USAGE_INDEX_BUFFER_BIT BufferUsageVertexBuffer common.BufferUsages = C.VK_BUFFER_USAGE_VERTEX_BUFFER_BIT BufferUsageIndirectBuffer common.BufferUsages = C.VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT SharingExclusive common.SharingMode = C.VK_SHARING_MODE_EXCLUSIVE SharingConcurrent common.SharingMode = C.VK_SHARING_MODE_CONCURRENT )
View Source
const ( BeginInfoOneTimeSubmit common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT BeginInfoRenderPassContinue common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT BeginInfoSimultaneousUse common.BeginInfoFlags = C.VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT QueryPrecise common.QueryControlFlags = C.VK_QUERY_CONTROL_PRECISE_BIT QueryStatisticInputAssemblyVertices common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT QueryStatisticInputAssemblyPrimitives common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT QueryStatisticVertexShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT QueryStatisticGeometryShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT QueryStatisticGeometryShaderPrimitives common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT QueryStatisticClippingInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT QueryStatisticClippingPrimitives common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT QueryStatisticFragmentShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT QueryStatisticTessellationControlShaderPatches common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT QueryStatisticTessellationEvaluationShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT QueryStatisticComputeShaderInvocations common.QueryPipelineStatisticFlags = C.VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT )
View Source
const ( CommandBufferResetReleaseResources common.CommandBufferResetFlags = C.VK_COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT LevelPrimary common.CommandBufferLevel = C.VK_COMMAND_BUFFER_LEVEL_PRIMARY LevelSecondary common.CommandBufferLevel = C.VK_COMMAND_BUFFER_LEVEL_SECONDARY IndexUInt16 common.IndexType = C.VK_INDEX_TYPE_UINT16 IndexUInt32 common.IndexType = C.VK_INDEX_TYPE_UINT32 StencilFaceFront common.StencilFaces = C.VK_STENCIL_FACE_FRONT_BIT StencilFaceBack common.StencilFaces = C.VK_STENCIL_FACE_BACK_BIT )
View Source
const ( CommandPoolResetReleaseResources common.CommandPoolResetFlags = C.VK_COMMAND_POOL_RESET_RELEASE_RESOURCES_BIT CommandPoolCreateTransient common.CommandPoolCreateFlags = C.VK_COMMAND_POOL_CREATE_TRANSIENT_BIT CommandPoolCreateResetBuffer common.CommandPoolCreateFlags = C.VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT )
View Source
const ( SubpassContentsInline common.SubpassContents = C.VK_SUBPASS_CONTENTS_INLINE SubpassContentsSecondaryCommandBuffers common.SubpassContents = C.VK_SUBPASS_CONTENTS_SECONDARY_COMMAND_BUFFERS )
View Source
const ( DataFormatUndefined common.DataFormat = C.VK_FORMAT_UNDEFINED DataFormatR4G4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R4G4_UNORM_PACK8 DataFormatR4G4B4A4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R4G4B4A4_UNORM_PACK16 DataFormatB4G4R4A4UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_B4G4R4A4_UNORM_PACK16 DataFormatR5G6B5UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R5G6B5_UNORM_PACK16 DataFormatB5G6R5UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_B5G6R5_UNORM_PACK16 DataFormatR5G5B5A1UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_R5G5B5A1_UNORM_PACK16 DataFormatB5G5R5A1UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_B5G5R5A1_UNORM_PACK16 DataFormatA1R5G5B5UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A1R5G5B5_UNORM_PACK16 DataFormatR8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8_UNORM DataFormatR8SignedNormalized common.DataFormat = C.VK_FORMAT_R8_SNORM DataFormatR8UnsignedScaled common.DataFormat = C.VK_FORMAT_R8_USCALED DataFormatR8SignedScaled common.DataFormat = C.VK_FORMAT_R8_SSCALED DataFormatR8UnsignedInt common.DataFormat = C.VK_FORMAT_R8_UINT DataFormatR8SignedInt common.DataFormat = C.VK_FORMAT_R8_SINT DataFormatR8SRGB common.DataFormat = C.VK_FORMAT_R8_SRGB DataFormatR8G8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8_UNORM DataFormatR8G8SignedNormalized common.DataFormat = C.VK_FORMAT_R8G8_SNORM DataFormatR8G8UnsignedScaled common.DataFormat = C.VK_FORMAT_R8G8_USCALED DataFormatR8G8SignedScaled common.DataFormat = C.VK_FORMAT_R8G8_SSCALED DataFormatR8G8UnsignedInt common.DataFormat = C.VK_FORMAT_R8G8_UINT DataFormatR8G8SignedInt common.DataFormat = C.VK_FORMAT_R8G8_SINT DataFormatR8G8SRGB common.DataFormat = C.VK_FORMAT_R8G8_SRGB DataFormatR8G8B8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8_UNORM DataFormatR8G8B8SignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8_SNORM DataFormatR8G8B8UnsignedScaled common.DataFormat = C.VK_FORMAT_R8G8B8_USCALED DataFormatR8G8B8SignedScaled common.DataFormat = C.VK_FORMAT_R8G8B8_SSCALED DataFormatR8G8B8UnsignedInt common.DataFormat = C.VK_FORMAT_R8G8B8_UINT DataFormatR8G8B8SignedInt common.DataFormat = C.VK_FORMAT_R8G8B8_SINT DataFormatR8G8B8SRGB common.DataFormat = C.VK_FORMAT_R8G8B8_SRGB DataFormatB8G8R8UnsignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8_UNORM DataFormatB8G8R8SignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8_SNORM DataFormatB8G8R8UnsignedScaled common.DataFormat = C.VK_FORMAT_B8G8R8_USCALED DataFormatB8G8R8SignedScaled common.DataFormat = C.VK_FORMAT_B8G8R8_SSCALED DataFormatB8G8R8UnsignedInt common.DataFormat = C.VK_FORMAT_B8G8R8_UINT DataFormatB8G8R8SignedInt common.DataFormat = C.VK_FORMAT_B8G8R8_SINT DataFormatB8G8R8SRGB common.DataFormat = C.VK_FORMAT_B8G8R8_SRGB DataFormatR8G8B8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8A8_UNORM DataFormatR8G8B8A8SignedNormalized common.DataFormat = C.VK_FORMAT_R8G8B8A8_SNORM DataFormatR8G8B8A8UnsignedScaled common.DataFormat = C.VK_FORMAT_R8G8B8A8_USCALED DataFormatR8G8B8A8SignedScaled common.DataFormat = C.VK_FORMAT_R8G8B8A8_SSCALED DataFormatR8G8B8A8UnsignedInt common.DataFormat = C.VK_FORMAT_R8G8B8A8_UINT DataFormatR8G8B8A8SignedInt common.DataFormat = C.VK_FORMAT_R8G8B8A8_SINT DataFormatR8G8B8A8SRGB common.DataFormat = C.VK_FORMAT_R8G8B8A8_SRGB DataFormatB8G8R8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8A8_UNORM DataFormatB8G8R8A8SignedNormalized common.DataFormat = C.VK_FORMAT_B8G8R8A8_SNORM DataFormatB8G8R8A8UnsignedScaled common.DataFormat = C.VK_FORMAT_B8G8R8A8_USCALED DataFormatB8G8R8A8SignedScaled common.DataFormat = C.VK_FORMAT_B8G8R8A8_SSCALED DataFormatB8G8R8A8UnsignedInt common.DataFormat = C.VK_FORMAT_B8G8R8A8_UINT DataFormatB8G8R8A8SignedInt common.DataFormat = C.VK_FORMAT_B8G8R8A8_SINT DataFormatB8G8R8A8SRGB common.DataFormat = C.VK_FORMAT_B8G8R8A8_SRGB DataFormatA8B8G8R8UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_UNORM_PACK32 DataFormatA8B8G8R8SignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_SNORM_PACK32 DataFormatA8B8G8R8UnsignedScaledPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_USCALED_PACK32 DataFormatA8B8G8R8SignedScaledPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_SSCALED_PACK32 DataFormatA8B8G8R8UnsignedIntPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_UINT_PACK32 DataFormatA8B8G8R8SignedIntPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_SINT_PACK32 DataFormatA8B8G8R8SRGBPacked common.DataFormat = C.VK_FORMAT_A8B8G8R8_SRGB_PACK32 DataFormatA2R10G10B10UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_UNORM_PACK32 DataFormatA2R10G10B10SignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_SNORM_PACK32 DataFormatA2R10G10B10UnsignedScaledPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_USCALED_PACK32 DataFormatA2R10G10B10SignedScaledPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_SSCALED_PACK32 DataFormatA2R10G10B10UnsignedIntPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_UINT_PACK32 DataFormatA2R10G10B10SignedIntPacked common.DataFormat = C.VK_FORMAT_A2R10G10B10_SINT_PACK32 DataFormatA2B10G10R10UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_UNORM_PACK32 DataFormatA2B10G10R10SignedNormalizedPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_SNORM_PACK32 DataFormatA2B10G10R10UnsignedScaledPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_USCALED_PACK32 DataFormatA2B10G10R10SignedScaledPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_SSCALED_PACK32 DataFormatA2B10G10R10UnsignedIntPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_UINT_PACK32 DataFormatA2B10G10R10SignedIntPacked common.DataFormat = C.VK_FORMAT_A2B10G10R10_SINT_PACK32 DataFormatR16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16_UNORM DataFormatR16SignedNormalized common.DataFormat = C.VK_FORMAT_R16_SNORM DataFormatR16UnsignedScaled common.DataFormat = C.VK_FORMAT_R16_USCALED DataFormatR16SignedScaled common.DataFormat = C.VK_FORMAT_R16_SSCALED DataFormatR16UnsignedInt common.DataFormat = C.VK_FORMAT_R16_UINT DataFormatR16SignedInt common.DataFormat = C.VK_FORMAT_R16_SINT DataFormatR16SignedFloat common.DataFormat = C.VK_FORMAT_R16_SFLOAT DataFormatR16G16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16_UNORM DataFormatR16G16SignedNormalized common.DataFormat = C.VK_FORMAT_R16G16_SNORM DataFormatR16G16UnsignedScaled common.DataFormat = C.VK_FORMAT_R16G16_USCALED DataFormatR16G16SignedScaled common.DataFormat = C.VK_FORMAT_R16G16_SSCALED DataFormatR16G16UnsignedInt common.DataFormat = C.VK_FORMAT_R16G16_UINT DataFormatR16G16SignedInt common.DataFormat = C.VK_FORMAT_R16G16_SINT DataFormatR16G16SignedFloat common.DataFormat = C.VK_FORMAT_R16G16_SFLOAT DataFormatR16G16B16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16_UNORM DataFormatR16G16B16SignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16_SNORM DataFormatR16G16B16UnsignedScaled common.DataFormat = C.VK_FORMAT_R16G16B16_USCALED DataFormatR16G16B16SignedScaled common.DataFormat = C.VK_FORMAT_R16G16B16_SSCALED DataFormatR16G16B16UnsignedInt common.DataFormat = C.VK_FORMAT_R16G16B16_UINT DataFormatR16G16B16SignedInt common.DataFormat = C.VK_FORMAT_R16G16B16_SINT DataFormatR16G16B16SignedFloat common.DataFormat = C.VK_FORMAT_R16G16B16_SFLOAT DataFormatR16G16B16A16UnsignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16A16_UNORM DataFormatR16G16B16A16SignedNormalized common.DataFormat = C.VK_FORMAT_R16G16B16A16_SNORM DataFormatR16G16B16A16UnsignedScaled common.DataFormat = C.VK_FORMAT_R16G16B16A16_USCALED DataFormatR16G16B16A16SignedScaled common.DataFormat = C.VK_FORMAT_R16G16B16A16_SSCALED DataFormatR16G16B16A16UnsignedInt common.DataFormat = C.VK_FORMAT_R16G16B16A16_UINT DataFormatR16G16B16A16SignedInt common.DataFormat = C.VK_FORMAT_R16G16B16A16_SINT DataFormatR16G16B16A16SignedFloat common.DataFormat = C.VK_FORMAT_R16G16B16A16_SFLOAT DataFormatR32UnsignedInt common.DataFormat = C.VK_FORMAT_R32_UINT DataFormatR32SignedInt common.DataFormat = C.VK_FORMAT_R32_SINT DataFormatR32SignedFloat common.DataFormat = C.VK_FORMAT_R32_SFLOAT DataFormatR32G32UnsignedInt common.DataFormat = C.VK_FORMAT_R32G32_UINT DataFormatR32G32SignedInt common.DataFormat = C.VK_FORMAT_R32G32_SINT DataFormatR32G32SignedFloat common.DataFormat = C.VK_FORMAT_R32G32_SFLOAT DataFormatR32G32B32UnsignedInt common.DataFormat = C.VK_FORMAT_R32G32B32_UINT DataFormatR32G32B32SignedInt common.DataFormat = C.VK_FORMAT_R32G32B32_SINT DataFormatR32G32B32SignedFloat common.DataFormat = C.VK_FORMAT_R32G32B32_SFLOAT DataFormatR32G32B32A32UnsignedInt common.DataFormat = C.VK_FORMAT_R32G32B32A32_UINT DataFormatR32G32B32A32SignedInt common.DataFormat = C.VK_FORMAT_R32G32B32A32_SINT DataFormatR32G32B32A32SignedFloat common.DataFormat = C.VK_FORMAT_R32G32B32A32_SFLOAT DataFormatR64UnsignedInt common.DataFormat = C.VK_FORMAT_R64_UINT DataFormatR64SignedInt common.DataFormat = C.VK_FORMAT_R64_SINT DataFormatR64SignedFloat common.DataFormat = C.VK_FORMAT_R64_SFLOAT DataFormatR64G64UnsignedInt common.DataFormat = C.VK_FORMAT_R64G64_UINT DataFormatR64G64SignedInt common.DataFormat = C.VK_FORMAT_R64G64_SINT DataFormatR64G64SignedFloat common.DataFormat = C.VK_FORMAT_R64G64_SFLOAT DataFormatR64G64B64UnsignedInt common.DataFormat = C.VK_FORMAT_R64G64B64_UINT DataFormatR64G64B64SignedInt common.DataFormat = C.VK_FORMAT_R64G64B64_SINT DataFormatR64G64B64SignedFloat common.DataFormat = C.VK_FORMAT_R64G64B64_SFLOAT DataFormatR64G64B64A64UnsignedInt common.DataFormat = C.VK_FORMAT_R64G64B64A64_UINT DataFormatR64G64B64A64SignedInt common.DataFormat = C.VK_FORMAT_R64G64B64A64_SINT DataFormatR64G64B64A64SignedFloat common.DataFormat = C.VK_FORMAT_R64G64B64A64_SFLOAT DataFormatB10G11R11UnsignedFloatPacked common.DataFormat = C.VK_FORMAT_B10G11R11_UFLOAT_PACK32 DataFormatE5B9G9R9UnsignedFloatPacked common.DataFormat = C.VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 DataFormatD16UnsignedNormalized common.DataFormat = C.VK_FORMAT_D16_UNORM DataFormatD24X8UnsignedNormalizedPacked common.DataFormat = C.VK_FORMAT_X8_D24_UNORM_PACK32 DataFormatD32SignedFloat common.DataFormat = C.VK_FORMAT_D32_SFLOAT DataFormatS8UnsignedInt common.DataFormat = C.VK_FORMAT_S8_UINT DataFormatD16UnsignedNormalizedS8UnsignedInt common.DataFormat = C.VK_FORMAT_D16_UNORM_S8_UINT DataFormatD24UnsignedNormalizedS8UnsignedInt common.DataFormat = C.VK_FORMAT_D24_UNORM_S8_UINT DataFormatD32SignedFloatS8UnsignedInt common.DataFormat = C.VK_FORMAT_D32_SFLOAT_S8_UINT DataFormatBC1_RGBUnsignedNormalized common.DataFormat = C.VK_FORMAT_BC1_RGB_UNORM_BLOCK DataFormatBC1_RGBsRGB common.DataFormat = C.VK_FORMAT_BC1_RGB_SRGB_BLOCK DataFormatBC1_RGBAUnsignedNormalized common.DataFormat = C.VK_FORMAT_BC1_RGBA_UNORM_BLOCK DataFormatBC1_RGBAsRGB common.DataFormat = C.VK_FORMAT_BC1_RGBA_SRGB_BLOCK DataFormatBC2_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC2_UNORM_BLOCK DataFormatBC2_sRGB common.DataFormat = C.VK_FORMAT_BC2_SRGB_BLOCK DataFormatBC3_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC3_UNORM_BLOCK DataFormatBC3_sRGB common.DataFormat = C.VK_FORMAT_BC3_SRGB_BLOCK DataFormatBC4_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC4_UNORM_BLOCK DataFormatBC4_SignedNormalized common.DataFormat = C.VK_FORMAT_BC4_SNORM_BLOCK DataFormatBC5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC5_UNORM_BLOCK DataFormatBC5_SignedNormalized common.DataFormat = C.VK_FORMAT_BC5_SNORM_BLOCK DataFormatBC6_UnsignedFloat common.DataFormat = C.VK_FORMAT_BC6H_UFLOAT_BLOCK DataFormatBC6_SignedFloat common.DataFormat = C.VK_FORMAT_BC6H_SFLOAT_BLOCK DataFormatBC7_UnsignedNormalized common.DataFormat = C.VK_FORMAT_BC7_UNORM_BLOCK DataFormatBC7_sRGB common.DataFormat = C.VK_FORMAT_BC7_SRGB_BLOCK DataFormatETC2_R8G8B8UnsignedNormalized common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK DataFormatETC2_R8G8B8sRGB common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK DataFormatETC2_R8G8B8A1UnsignedNormalized common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK DataFormatETC2_R8G8B8A1sRGB common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK DataFormatETC2_R8G8B8A8UnsignedNormalized common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK DataFormatETC2_R8G8B8A8sRGB common.DataFormat = C.VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK DataFormatEAC_R11UnsignedNormalized common.DataFormat = C.VK_FORMAT_EAC_R11_UNORM_BLOCK DataFormatEAC_R11SignedNormalized common.DataFormat = C.VK_FORMAT_EAC_R11_SNORM_BLOCK DataFormatEAC_R11G11UnsignedNormalized common.DataFormat = C.VK_FORMAT_EAC_R11G11_UNORM_BLOCK DataFormatEAC_R11G11SignedNormalized common.DataFormat = C.VK_FORMAT_EAC_R11G11_SNORM_BLOCK DataFormatASTC4x4_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_4x4_UNORM_BLOCK DataFormatASTC4x4_sRGB common.DataFormat = C.VK_FORMAT_ASTC_4x4_SRGB_BLOCK DataFormatASTC5x4_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_5x4_UNORM_BLOCK DataFormatASTC5x4_sRGB common.DataFormat = C.VK_FORMAT_ASTC_5x4_SRGB_BLOCK DataFormatASTC5x5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_5x5_UNORM_BLOCK DataFormatASTC5x5_sRGB common.DataFormat = C.VK_FORMAT_ASTC_5x5_SRGB_BLOCK DataFormatASTC6x5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_6x5_UNORM_BLOCK DataFormatASTC6x5_sRGB common.DataFormat = C.VK_FORMAT_ASTC_6x5_SRGB_BLOCK DataFormatASTC6x6_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_6x6_UNORM_BLOCK DataFormatASTC6x6_sRGB common.DataFormat = C.VK_FORMAT_ASTC_6x6_SRGB_BLOCK DataFormatASTC8x5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_8x5_UNORM_BLOCK DataFormatASTC8x5_sRGB common.DataFormat = C.VK_FORMAT_ASTC_8x5_SRGB_BLOCK DataFormatASTC8x6_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_8x6_UNORM_BLOCK DataFormatASTC8x6_sRGB common.DataFormat = C.VK_FORMAT_ASTC_8x6_SRGB_BLOCK DataFormatASTC8x8_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_8x8_UNORM_BLOCK DataFormatASTC8x8_sRGB common.DataFormat = C.VK_FORMAT_ASTC_8x8_SRGB_BLOCK DataFormatASTC10x5_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_10x5_UNORM_BLOCK DataFormatASTC10x5_sRGB common.DataFormat = C.VK_FORMAT_ASTC_10x5_SRGB_BLOCK DataFormatASTC10x6_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_10x6_UNORM_BLOCK DataFormatASTC10x6_sRGB common.DataFormat = C.VK_FORMAT_ASTC_10x6_SRGB_BLOCK DataFormatASTC10x8_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_10x8_UNORM_BLOCK DataFormatASTC10x8_sRGB common.DataFormat = C.VK_FORMAT_ASTC_10x8_SRGB_BLOCK DataFormatASTC10x10_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_10x10_UNORM_BLOCK DataFormatASTC10x10_sRGB common.DataFormat = C.VK_FORMAT_ASTC_10x10_SRGB_BLOCK DataFormatASTC12x10_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_12x10_UNORM_BLOCK DataFormatASTC12x10_sRGB common.DataFormat = C.VK_FORMAT_ASTC_12x10_SRGB_BLOCK DataFormatASTC12x12_UnsignedNormalized common.DataFormat = C.VK_FORMAT_ASTC_12x12_UNORM_BLOCK DataFormatASTC12x12_sRGB common.DataFormat = C.VK_FORMAT_ASTC_12x12_SRGB_BLOCK )
View Source
const ( DescriptorSampler common.DescriptorType = C.VK_DESCRIPTOR_TYPE_SAMPLER DescriptorCombinedImageSampler common.DescriptorType = C.VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER DescriptorSampledImage common.DescriptorType = C.VK_DESCRIPTOR_TYPE_SAMPLED_IMAGE DescriptorStorageImage common.DescriptorType = C.VK_DESCRIPTOR_TYPE_STORAGE_IMAGE DescriptorUniformTexelBuffer common.DescriptorType = C.VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER DescriptorStorageTexelBuffer common.DescriptorType = C.VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER DescriptorUniformBuffer common.DescriptorType = C.VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER DescriptorStorageBuffer common.DescriptorType = C.VK_DESCRIPTOR_TYPE_STORAGE_BUFFER DescriptorUniformBufferDynamic common.DescriptorType = C.VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC DescriptorStorageBufferDynamic common.DescriptorType = C.VK_DESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC DescriptorInputAttachment common.DescriptorType = C.VK_DESCRIPTOR_TYPE_INPUT_ATTACHMENT )
View Source
const ( FormatFeatureSampledImage common.FormatFeatures = C.VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT FormatFeatureStorageImage common.FormatFeatures = C.VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT FormatFeatureStorageImageAtomic common.FormatFeatures = C.VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT FormatFeatureUniformTexelBuffer common.FormatFeatures = C.VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT FormatFeatureStorageTexelBuffer common.FormatFeatures = C.VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT FormatFeatureStorageTexelBufferAtomic common.FormatFeatures = C.VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT FormatFeatureVertexBuffer common.FormatFeatures = C.VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT FormatFeatureColorAttachment common.FormatFeatures = C.VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT FormatFeatureColorAttachmentBlend common.FormatFeatures = C.VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT FormatFeatureDepthStencilAttachment common.FormatFeatures = C.VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT FormatFeatureBlitSource common.FormatFeatures = C.VK_FORMAT_FEATURE_BLIT_SRC_BIT FormatFeatureBlitDestination common.FormatFeatures = C.VK_FORMAT_FEATURE_BLIT_DST_BIT FormatFeatureSampledImageFilterLinear common.FormatFeatures = C.VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT )
View Source
const ( ImageCreateSparseBinding common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_BINDING_BIT ImageCreateSparseResidency common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT ImageCreateSparseAliased common.ImageCreateFlags = C.VK_IMAGE_CREATE_SPARSE_ALIASED_BIT ImageCreateMutableFormat common.ImageCreateFlags = C.VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT ImageCreateCubeCompatible common.ImageCreateFlags = C.VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT ImageLayoutUndefined common.ImageLayout = C.VK_IMAGE_LAYOUT_UNDEFINED ImageLayoutGeneral common.ImageLayout = C.VK_IMAGE_LAYOUT_GENERAL ImageLayoutColorAttachmentOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL ImageLayoutDepthStencilAttachmentOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL ImageLayoutDepthStencilReadOnlyOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL ImageLayoutShaderReadOnlyOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL ImageLayoutTransferSrcOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL ImageLayoutTransferDstOptimal common.ImageLayout = C.VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL ImageLayoutPreInitialized common.ImageLayout = C.VK_IMAGE_LAYOUT_PREINITIALIZED ImageTilingOptimal common.ImageTiling = C.VK_IMAGE_TILING_OPTIMAL ImageTilingLinear common.ImageTiling = C.VK_IMAGE_TILING_LINEAR ImageType1D common.ImageType = C.VK_IMAGE_TYPE_1D ImageType2D common.ImageType = C.VK_IMAGE_TYPE_2D ImageType3D common.ImageType = C.VK_IMAGE_TYPE_3D ImageUsageTransferSrc common.ImageUsages = C.VK_IMAGE_USAGE_TRANSFER_SRC_BIT ImageUsageTransferDst common.ImageUsages = C.VK_IMAGE_USAGE_TRANSFER_DST_BIT ImageUsageSampled common.ImageUsages = C.VK_IMAGE_USAGE_SAMPLED_BIT ImageUsageStorage common.ImageUsages = C.VK_IMAGE_USAGE_STORAGE_BIT ImageUsageColorAttachment common.ImageUsages = C.VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT ImageUsageDepthStencilAttachment common.ImageUsages = C.VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT ImageUsageTransientAttachment common.ImageUsages = C.VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT ImageUsageInputAttachment common.ImageUsages = C.VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT Samples1 common.SampleCounts = C.VK_SAMPLE_COUNT_1_BIT Samples2 common.SampleCounts = C.VK_SAMPLE_COUNT_2_BIT Samples4 common.SampleCounts = C.VK_SAMPLE_COUNT_4_BIT Samples8 common.SampleCounts = C.VK_SAMPLE_COUNT_8_BIT Samples16 common.SampleCounts = C.VK_SAMPLE_COUNT_16_BIT Samples32 common.SampleCounts = C.VK_SAMPLE_COUNT_32_BIT Samples64 common.SampleCounts = C.VK_SAMPLE_COUNT_64_BIT )
View Source
const ( SparseImageFormatSingleMipTail common.SparseImageFormatFlags = C.VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT SparseImageFormatAlignedMipSize common.SparseImageFormatFlags = C.VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT SparseImageFormatNonstandardBlockSize common.SparseImageFormatFlags = C.VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT AspectColor common.ImageAspectFlags = C.VK_IMAGE_ASPECT_COLOR_BIT AspectDepth common.ImageAspectFlags = C.VK_IMAGE_ASPECT_DEPTH_BIT AspectStencil common.ImageAspectFlags = C.VK_IMAGE_ASPECT_STENCIL_BIT AspectMetadata common.ImageAspectFlags = C.VK_IMAGE_ASPECT_METADATA_BIT )
View Source
const ( SwizzleIdentity common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_IDENTITY SwizzleZero common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_ZERO SwizzleOne common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_ONE SwizzleRed common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_R SwizzleGreen common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_G SwizzleBlue common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_B SwizzleAlpha common.ComponentSwizzle = C.VK_COMPONENT_SWIZZLE_A ViewType1D common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_1D ViewType2D common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_2D ViewType3D common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_3D ViewTypeCube common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_CUBE ViewType1DArray common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_1D_ARRAY ViewType2DArray common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_2D_ARRAY ViewTypeCubeArray common.ImageViewType = C.VK_IMAGE_VIEW_TYPE_CUBE_ARRAY )
View Source
const ( QueueGraphics common.QueueFlags = C.VK_QUEUE_GRAPHICS_BIT QueueCompute common.QueueFlags = C.VK_QUEUE_COMPUTE_BIT QueueTransfer common.QueueFlags = C.VK_QUEUE_TRANSFER_BIT QueueSparseBinding common.QueueFlags = C.VK_QUEUE_SPARSE_BINDING_BIT MemoryPropertyDeviceLocal common.MemoryProperties = C.VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT MemoryPropertyHostVisible common.MemoryProperties = C.VK_MEMORY_PROPERTY_HOST_VISIBLE_BIT MemoryPropertyHostCoherent common.MemoryProperties = C.VK_MEMORY_PROPERTY_HOST_COHERENT_BIT MemoryPropertyLazilyAllocated common.MemoryProperties = C.VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT MemoryHeapDeviceLocal common.MemoryHeapFlags = C.VK_MEMORY_HEAP_DEVICE_LOCAL_BIT DeviceOther common.PhysicalDeviceType = C.VK_PHYSICAL_DEVICE_TYPE_OTHER DeviceIntegratedGPU common.PhysicalDeviceType = C.VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU DeviceDiscreteGPU common.PhysicalDeviceType = C.VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU DeviceVirtualGPU common.PhysicalDeviceType = C.VK_PHYSICAL_DEVICE_TYPE_VIRTUAL_GPU DeviceCPU common.PhysicalDeviceType = C.VK_PHYSICAL_DEVICE_TYPE_CPU )
View Source
const ( PipelineCreateDisableOptimization common.PipelineCreateFlags = C.VK_PIPELINE_CREATE_DISABLE_OPTIMIZATION_BIT PipelineCreateAllowDerivatives common.PipelineCreateFlags = C.VK_PIPELINE_CREATE_ALLOW_DERIVATIVES_BIT PipelineCreateDerivative common.PipelineCreateFlags = C.VK_PIPELINE_CREATE_DERIVATIVE_BIT )
View Source
const ( PipelineStatisticInputAssemblyVertices common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_VERTICES_BIT PipelineStatisticInputAssemblyPrimitives common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_INPUT_ASSEMBLY_PRIMITIVES_BIT PipelineStatisticVertexShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_VERTEX_SHADER_INVOCATIONS_BIT PipelineStatisticGeometryShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_INVOCATIONS_BIT PipelineStatisticGeometryShaderPrimitives common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_GEOMETRY_SHADER_PRIMITIVES_BIT PipelineStatisticClippingInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_INVOCATIONS_BIT PipelineStatisticClippingPrimitives common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_CLIPPING_PRIMITIVES_BIT PipelineStatisticFragmentShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_FRAGMENT_SHADER_INVOCATIONS_BIT PipelineStatisticTessellationControlShaderPatches common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_CONTROL_SHADER_PATCHES_BIT PipelineStatisticTessellationEvaluationShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_TESSELLATION_EVALUATION_SHADER_INVOCATIONS_BIT PipelineStatisticComputeShaderInvocations common.PipelineStatistics = C.VK_QUERY_PIPELINE_STATISTIC_COMPUTE_SHADER_INVOCATIONS_BIT QueryTypeOcclusion common.QueryType = C.VK_QUERY_TYPE_OCCLUSION QueryTypePipelineStatistics common.QueryType = C.VK_QUERY_TYPE_PIPELINE_STATISTICS QueryTypeTimestamp common.QueryType = C.VK_QUERY_TYPE_TIMESTAMP QueryResult64Bit common.QueryResultFlags = C.VK_QUERY_RESULT_64_BIT QueryResultWait common.QueryResultFlags = C.VK_QUERY_RESULT_WAIT_BIT QueryResultWithAvailability common.QueryResultFlags = C.VK_QUERY_RESULT_WITH_AVAILABILITY_BIT QueryResultPartial common.QueryResultFlags = C.VK_QUERY_RESULT_PARTIAL_BIT )
View Source
const ( PipelineStageTopOfPipe common.PipelineStages = C.VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT PipelineStageDrawIndirect common.PipelineStages = C.VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT PipelineStageVertexInput common.PipelineStages = C.VK_PIPELINE_STAGE_VERTEX_INPUT_BIT PipelineStageVertexShader common.PipelineStages = C.VK_PIPELINE_STAGE_VERTEX_SHADER_BIT PipelineStageTessellationControlShader common.PipelineStages = C.VK_PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT PipelineStageTessellationEvaluationShader common.PipelineStages = C.VK_PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT PipelineStageGeometryShader common.PipelineStages = C.VK_PIPELINE_STAGE_GEOMETRY_SHADER_BIT PipelineStageFragmentShader common.PipelineStages = C.VK_PIPELINE_STAGE_FRAGMENT_SHADER_BIT PipelineStageEarlyFragmentTests common.PipelineStages = C.VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT PipelineStageLateFragmentTests common.PipelineStages = C.VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT PipelineStageColorAttachmentOutput common.PipelineStages = C.VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT PipelineStageComputeShader common.PipelineStages = C.VK_PIPELINE_STAGE_COMPUTE_SHADER_BIT PipelineStageTransfer common.PipelineStages = C.VK_PIPELINE_STAGE_TRANSFER_BIT PipelineStageBottomOfPipe common.PipelineStages = C.VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT PipelineStageHost common.PipelineStages = C.VK_PIPELINE_STAGE_HOST_BIT PipelineStageAllGraphics common.PipelineStages = C.VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT PipelineStageAllCommands common.PipelineStages = C.VK_PIPELINE_STAGE_ALL_COMMANDS_BIT )
View Source
const ( AttachmentDescriptionMayAlias common.AttachmentDescriptionFlags = C.VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT LoadOpLoad common.AttachmentLoadOp = C.VK_ATTACHMENT_LOAD_OP_LOAD LoadOpClear common.AttachmentLoadOp = C.VK_ATTACHMENT_LOAD_OP_CLEAR LoadOpDontCare common.AttachmentLoadOp = C.VK_ATTACHMENT_LOAD_OP_DONT_CARE StoreOpStore common.AttachmentStoreOp = C.VK_ATTACHMENT_STORE_OP_STORE StoreOpDontCare common.AttachmentStoreOp = C.VK_ATTACHMENT_STORE_OP_DONT_CARE DependencyByRegion common.DependencyFlags = C.VK_DEPENDENCY_BY_REGION_BIT BindGraphics common.PipelineBindPoint = C.VK_PIPELINE_BIND_POINT_GRAPHICS BindCompute common.PipelineBindPoint = C.VK_PIPELINE_BIND_POINT_COMPUTE SubpassExternal = int(C.VK_SUBPASS_EXTERNAL) )
View Source
const ( BorderColorFloatTransparentBlack common.BorderColor = C.VK_BORDER_COLOR_FLOAT_TRANSPARENT_BLACK BorderColorIntTransparentBlack common.BorderColor = C.VK_BORDER_COLOR_INT_TRANSPARENT_BLACK BorderColorFloatOpaqueBlack common.BorderColor = C.VK_BORDER_COLOR_FLOAT_OPAQUE_BLACK BorderColorIntOpaqueBlack common.BorderColor = C.VK_BORDER_COLOR_INT_OPAQUE_BLACK BorderColorFloatOpaqueWhite common.BorderColor = C.VK_BORDER_COLOR_FLOAT_OPAQUE_WHITE BorderColorIntOpaqueWhite common.BorderColor = C.VK_BORDER_COLOR_INT_OPAQUE_WHITE CompareNever common.CompareOp = C.VK_COMPARE_OP_NEVER CompareLess common.CompareOp = C.VK_COMPARE_OP_LESS CompareEqual common.CompareOp = C.VK_COMPARE_OP_EQUAL CompareLessOrEqual common.CompareOp = C.VK_COMPARE_OP_LESS_OR_EQUAL CompareGreater common.CompareOp = C.VK_COMPARE_OP_GREATER CompareNotEqual common.CompareOp = C.VK_COMPARE_OP_NOT_EQUAL CompareGreaterOrEqual common.CompareOp = C.VK_COMPARE_OP_GREATER_OR_EQUAL CompareAlways common.CompareOp = C.VK_COMPARE_OP_ALWAYS FilterNearest common.Filter = C.VK_FILTER_NEAREST FilterLinear common.Filter = C.VK_FILTER_LINEAR MipmapNearest common.MipmapMode = C.VK_SAMPLER_MIPMAP_MODE_NEAREST MipmapLinear common.MipmapMode = C.VK_SAMPLER_MIPMAP_MODE_LINEAR SamplerAddressModeRepeat common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_REPEAT SamplerAddressModeMirroredRepeat common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_MIRRORED_REPEAT SamplerAddressModeClampToEdge common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_EDGE SamplerAddressModeClampToBorder common.SamplerAddressMode = C.VK_SAMPLER_ADDRESS_MODE_CLAMP_TO_BORDER )
View Source
const ( BlendZero common.BlendFactor = C.VK_BLEND_FACTOR_ZERO BlendOne common.BlendFactor = C.VK_BLEND_FACTOR_ONE BlendSrcColor common.BlendFactor = C.VK_BLEND_FACTOR_SRC_COLOR BlendOneMinusSrcColor common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC_COLOR BlendDstColor common.BlendFactor = C.VK_BLEND_FACTOR_DST_COLOR BlendOneMinusDstColor common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_DST_COLOR BlendSrcAlpha common.BlendFactor = C.VK_BLEND_FACTOR_SRC_ALPHA BlendOneMinusSrcAlpha common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC_ALPHA BlendDstAlpha common.BlendFactor = C.VK_BLEND_FACTOR_DST_ALPHA BlendOneMinusDstAlpha common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_DST_ALPHA BlendConstantColor common.BlendFactor = C.VK_BLEND_FACTOR_CONSTANT_COLOR BlendOneMinusConstantColor common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_COLOR BlendConstantAlpha common.BlendFactor = C.VK_BLEND_FACTOR_CONSTANT_ALPHA BlendOneMinusConstantAlpha common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_CONSTANT_ALPHA BlendSrcAlphaSaturate common.BlendFactor = C.VK_BLEND_FACTOR_SRC_ALPHA_SATURATE BlendSrc1Color common.BlendFactor = C.VK_BLEND_FACTOR_SRC1_COLOR BlendOneMinusSrc1Color common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC1_COLOR BlendSrc1Alpha common.BlendFactor = C.VK_BLEND_FACTOR_SRC1_ALPHA BlendOneMinusSrc1Alpha common.BlendFactor = C.VK_BLEND_FACTOR_ONE_MINUS_SRC1_ALPHA BlendOpAdd common.BlendOp = C.VK_BLEND_OP_ADD BlendOpSubtract common.BlendOp = C.VK_BLEND_OP_SUBTRACT BlendOpMin common.BlendOp = C.VK_BLEND_OP_MIN BlendOpMax common.BlendOp = C.VK_BLEND_OP_MAX LogicOpClear common.LogicOp = C.VK_LOGIC_OP_CLEAR LogicOpAnd common.LogicOp = C.VK_LOGIC_OP_AND LogicOpAndReverse common.LogicOp = C.VK_LOGIC_OP_AND_REVERSE LogicOpCopy common.LogicOp = C.VK_LOGIC_OP_COPY LogicOpAndInverted common.LogicOp = C.VK_LOGIC_OP_AND_INVERTED LogicOpNoop common.LogicOp = C.VK_LOGIC_OP_NO_OP LogicOpXor common.LogicOp = C.VK_LOGIC_OP_XOR LogicOpOr common.LogicOp = C.VK_LOGIC_OP_OR LogicOpNor common.LogicOp = C.VK_LOGIC_OP_NOR LogicOpEquivalent common.LogicOp = C.VK_LOGIC_OP_EQUIVALENT LogicOpInvert common.LogicOp = C.VK_LOGIC_OP_INVERT LogicOpOrReverse common.LogicOp = C.VK_LOGIC_OP_OR_REVERSE LogicOpCopyInverted common.LogicOp = C.VK_LOGIC_OP_COPY_INVERTED LogicOpOrInverted common.LogicOp = C.VK_LOGIC_OP_OR_INVERTED LogicOpNand common.LogicOp = C.VK_LOGIC_OP_NAND LogicOpSet common.LogicOp = C.VK_LOGIC_OP_SET )
View Source
const ( StencilKeep common.StencilOp = C.VK_STENCIL_OP_KEEP StencilZero common.StencilOp = C.VK_STENCIL_OP_ZERO StencilReplace common.StencilOp = C.VK_STENCIL_OP_REPLACE StencilIncrementAndClamp common.StencilOp = C.VK_STENCIL_OP_INCREMENT_AND_CLAMP StencilDecrementAndClamp common.StencilOp = C.VK_STENCIL_OP_DECREMENT_AND_CLAMP StencilInvert common.StencilOp = C.VK_STENCIL_OP_INVERT StencilIncrementAndWrap common.StencilOp = C.VK_STENCIL_OP_INCREMENT_AND_WRAP StencilDecrementAndWrap common.StencilOp = C.VK_STENCIL_OP_DECREMENT_AND_WRAP )
View Source
const ( DynamicStateViewport common.DynamicState = C.VK_DYNAMIC_STATE_VIEWPORT DynamicStateScissor common.DynamicState = C.VK_DYNAMIC_STATE_SCISSOR DynamicStateLineWidth common.DynamicState = C.VK_DYNAMIC_STATE_LINE_WIDTH DynamicStateDepthBias common.DynamicState = C.VK_DYNAMIC_STATE_DEPTH_BIAS DynamicStateBlendConstants common.DynamicState = C.VK_DYNAMIC_STATE_BLEND_CONSTANTS DynamicStateDepthBounds common.DynamicState = C.VK_DYNAMIC_STATE_DEPTH_BOUNDS DynamicStateStencilCompareMask common.DynamicState = C.VK_DYNAMIC_STATE_STENCIL_COMPARE_MASK DynamicStateStencilWriteMask common.DynamicState = C.VK_DYNAMIC_STATE_STENCIL_WRITE_MASK DynamicStateStencilReference common.DynamicState = C.VK_DYNAMIC_STATE_STENCIL_REFERENCE )
View Source
const ( TopologyPointList common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_POINT_LIST TopologyLineList common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_LINE_LIST TopologyLineStrip common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_LINE_STRIP TopologyTriangleList common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST TopologyTriangleStrip common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP TopologyTriangleFan common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_TRIANGLE_FAN TopologyLineListWithAdjacency common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_LINE_LIST_WITH_ADJACENCY TopologyLineStripWithAdjacency common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_LINE_STRIP_WITH_ADJACENCY TopologyTriangleListWithAdjacency common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_TRIANGLE_LIST_WITH_ADJACENCY TopologyTriangleStripWithAdjacency common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP_WITH_ADJACENCY TopologyPatchlist common.PrimitiveTopology = C.VK_PRIMITIVE_TOPOLOGY_PATCH_LIST )
View Source
const ( PolygonModeFill common.PolygonMode = C.VK_POLYGON_MODE_FILL PolygonModeLine common.PolygonMode = C.VK_POLYGON_MODE_LINE PolygonModePoint common.PolygonMode = C.VK_POLYGON_MODE_POINT CullFront common.CullModes = C.VK_CULL_MODE_FRONT_BIT CullBack common.CullModes = C.VK_CULL_MODE_BACK_BIT FrontFaceCounterClockwise common.FrontFace = C.VK_FRONT_FACE_COUNTER_CLOCKWISE FrontFaceClockwise common.FrontFace = C.VK_FRONT_FACE_CLOCKWISE )
View Source
const ( StageVertex common.ShaderStages = C.VK_SHADER_STAGE_VERTEX_BIT StageTessellationControl common.ShaderStages = C.VK_SHADER_STAGE_TESSELLATION_CONTROL_BIT StageTessellationEvaluation common.ShaderStages = C.VK_SHADER_STAGE_TESSELLATION_EVALUATION_BIT StageGeometry common.ShaderStages = C.VK_SHADER_STAGE_GEOMETRY_BIT StageFragment common.ShaderStages = C.VK_SHADER_STAGE_FRAGMENT_BIT StageCompute common.ShaderStages = C.VK_SHADER_STAGE_COMPUTE_BIT StageAllGraphics common.ShaderStages = C.VK_SHADER_STAGE_ALL_GRAPHICS StageAll common.ShaderStages = C.VK_SHADER_STAGE_ALL )
View Source
const ( RateVertex common.InputRate = C.VK_VERTEX_INPUT_RATE_VERTEX RateInstance common.InputRate = C.VK_VERTEX_INPUT_RATE_INSTANCE )
View Source
const ( VKSuccess common.VkResult = C.VK_SUCCESS VKNotReady common.VkResult = C.VK_NOT_READY VKTimeout common.VkResult = C.VK_TIMEOUT VKEventSet common.VkResult = C.VK_EVENT_SET VKEventReset common.VkResult = C.VK_EVENT_RESET VKIncomplete common.VkResult = C.VK_INCOMPLETE VKErrorOutOfHostMemory common.VkResult = C.VK_ERROR_OUT_OF_HOST_MEMORY VKErrorOutOfDeviceMemory common.VkResult = C.VK_ERROR_OUT_OF_DEVICE_MEMORY VKErrorInitializationFailed common.VkResult = C.VK_ERROR_INITIALIZATION_FAILED VKErrorDeviceLost common.VkResult = C.VK_ERROR_DEVICE_LOST VKErrorMemoryMapFailed common.VkResult = C.VK_ERROR_MEMORY_MAP_FAILED VKErrorLayerNotPresent common.VkResult = C.VK_ERROR_LAYER_NOT_PRESENT VKErrorExtensionNotPresent common.VkResult = C.VK_ERROR_EXTENSION_NOT_PRESENT VKErrorFeatureNotPresent common.VkResult = C.VK_ERROR_FEATURE_NOT_PRESENT VKErrorIncompatibleDriver common.VkResult = C.VK_ERROR_INCOMPATIBLE_DRIVER VKErrorTooManyObjects common.VkResult = C.VK_ERROR_TOO_MANY_OBJECTS VKErrorFormatNotSupported common.VkResult = C.VK_ERROR_FORMAT_NOT_SUPPORTED VKErrorFragmentedPool common.VkResult = C.VK_ERROR_FRAGMENTED_POOL VKErrorUnknown common.VkResult = C.VK_ERROR_UNKNOWN )
View Source
const (
DescriptorPoolCreateFreeDescriptorSet common.DescriptorPoolCreateFlags = C.VK_DESCRIPTOR_POOL_CREATE_FREE_DESCRIPTOR_SET_BIT
)
View Source
const (
FenceCreateSignaled common.FenceCreateFlags = C.VK_FENCE_CREATE_SIGNALED_BIT
)
View Source
const (
SparseMemoryBindMetadata common.SparseMemoryBindFlags = C.VK_SPARSE_MEMORY_BIND_METADATA_BIT
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttachmentDescription ¶
type AttachmentDescription struct { Flags common.AttachmentDescriptionFlags Format common.DataFormat Samples common.SampleCounts LoadOp common.AttachmentLoadOp StoreOp common.AttachmentStoreOp StencilLoadOp common.AttachmentLoadOp StencilStoreOp common.AttachmentStoreOp InitialLayout common.ImageLayout FinalLayout common.ImageLayout }
type BeginOptions ¶
type BeginOptions struct { Flags common.BeginInfoFlags InheritanceInfo *InheritanceOptions common.HaveNext }
func (BeginOptions) PopulateCPointer ¶
func (BeginOptions) PopulateOutData ¶
type BindSparseOptions ¶
type BindSparseOptions struct { WaitSemaphores []Semaphore SignalSemaphores []Semaphore BufferBinds []SparseBufferMemoryBindInfo ImageOpaqueBinds []SparseImageOpaqueMemoryBindInfo ImageBinds []SparseImageMemoryBindInfo common.HaveNext }
func (BindSparseOptions) PopulateCPointer ¶
func (BindSparseOptions) PopulateOutData ¶
type Buffer ¶
type Buffer interface { Handle() driver.VkBuffer Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) MemoryRequirements() *MemoryRequirements BindBufferMemory(memory DeviceMemory, offset int) (common.VkResult, error) }
type BufferCopy ¶
func (BufferCopy) PopulateCPointer ¶
type BufferCreateOptions ¶
type BufferCreateOptions struct { Flags common.BufferCreateFlags BufferSize int Usage common.BufferUsages SharingMode common.SharingMode QueueFamilyIndices []int common.HaveNext }
func (BufferCreateOptions) PopulateCPointer ¶
func (BufferCreateOptions) PopulateOutData ¶
type BufferImageCopy ¶
type BufferImageCopy struct { BufferOffset int BufferRowLength int BufferImageHeight int ImageSubresource common.ImageSubresourceLayers ImageOffset common.Offset3D ImageExtent common.Extent3D }
func (BufferImageCopy) PopulateCPointer ¶
type BufferMemoryBarrierOptions ¶
type BufferMemoryBarrierOptions struct { SrcAccessMask common.AccessFlags DstAccessMask common.AccessFlags SrcQueueFamilyIndex int DstQueueFamilyIndex int Buffer Buffer Offset int Size int common.HaveNext }
func (BufferMemoryBarrierOptions) PopulateCPointer ¶
func (BufferMemoryBarrierOptions) PopulateOutData ¶
type BufferView ¶
type BufferView interface { Handle() driver.VkBufferView Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type BufferViewCreateOptions ¶
type BufferViewCreateOptions struct { Buffer Buffer Format common.DataFormat Offset int Range int common.HaveNext }
func (BufferViewCreateOptions) PopulateCPointer ¶
func (BufferViewCreateOptions) PopulateOutData ¶
type ClearAttachment ¶
type ClearAttachment struct { AspectMask common.ImageAspectFlags ColorAttachment int ClearValue common.ClearValue }
func (ClearAttachment) PopulateCPointer ¶
type ColorBlendAttachment ¶
type ColorBlendAttachment struct { BlendEnabled bool SrcColor common.BlendFactor DstColor common.BlendFactor ColorBlendOp common.BlendOp SrcAlpha common.BlendFactor DstAlpha common.BlendFactor AlphaBlendOp common.BlendOp WriteMask common.ColorComponents }
type ColorBlendStateOptions ¶
type ColorBlendStateOptions struct { LogicOpEnabled bool LogicOp common.LogicOp BlendConstants [4]float32 Attachments []ColorBlendAttachment common.HaveNext }
func (ColorBlendStateOptions) PopulateCPointer ¶
func (ColorBlendStateOptions) PopulateOutData ¶
type CommandBuffer ¶
type CommandBuffer interface { Handle() driver.VkCommandBuffer Driver() driver.Driver DeviceHandle() driver.VkDevice CommandPoolHandle() driver.VkCommandPool APIVersion() common.APIVersion Free() Begin(o BeginOptions) (common.VkResult, error) End() (common.VkResult, error) Reset(flags common.CommandBufferResetFlags) (common.VkResult, error) CommandsRecorded() int DrawsRecorded() int DispatchesRecorded() int CmdBeginRenderPass(contents common.SubpassContents, o RenderPassBeginOptions) error CmdEndRenderPass() CmdBindPipeline(bindPoint common.PipelineBindPoint, pipeline Pipeline) CmdDraw(vertexCount, instanceCount int, firstVertex, firstInstance uint32) CmdDrawIndexed(indexCount, instanceCount int, firstIndex uint32, vertexOffset int, firstInstance uint32) CmdBindVertexBuffers(buffers []Buffer, bufferOffsets []int) CmdBindIndexBuffer(buffer Buffer, offset int, indexType common.IndexType) CmdCopyBuffer(srcBuffer Buffer, dstBuffer Buffer, copyRegions []BufferCopy) error CmdBindDescriptorSets(bindPoint common.PipelineBindPoint, layout PipelineLayout, sets []DescriptorSet, dynamicOffsets []int) CmdPipelineBarrier(srcStageMask, dstStageMask common.PipelineStages, dependencies common.DependencyFlags, memoryBarriers []MemoryBarrierOptions, bufferMemoryBarriers []BufferMemoryBarrierOptions, imageMemoryBarriers []ImageMemoryBarrierOptions) error CmdCopyBufferToImage(buffer Buffer, image Image, layout common.ImageLayout, regions []BufferImageCopy) error CmdBlitImage(sourceImage Image, sourceImageLayout common.ImageLayout, destinationImage Image, destinationImageLayout common.ImageLayout, regions []ImageBlit, filter common.Filter) error CmdPushConstants(layout PipelineLayout, stageFlags common.ShaderStages, offset int, valueBytes []byte) CmdSetViewport(viewports []common.Viewport) CmdSetScissor(scissors []common.Rect2D) CmdCopyImage(srcImage Image, srcImageLayout common.ImageLayout, dstImage Image, dstImageLayout common.ImageLayout, regions []ImageCopy) error CmdNextSubpass(contents common.SubpassContents) CmdWaitEvents(events []Event, srcStageMask common.PipelineStages, dstStageMask common.PipelineStages, memoryBarriers []MemoryBarrierOptions, bufferMemoryBarriers []BufferMemoryBarrierOptions, imageMemoryBarriers []ImageMemoryBarrierOptions) error CmdSetEvent(event Event, stageMask common.PipelineStages) CmdClearColorImage(image Image, imageLayout common.ImageLayout, color common.ClearColorValue, ranges []common.ImageSubresourceRange) CmdResetQueryPool(queryPool QueryPool, startQuery, queryCount int) CmdBeginQuery(queryPool QueryPool, query int, flags common.QueryControlFlags) CmdEndQuery(queryPool QueryPool, query int) CmdCopyQueryPoolResults(queryPool QueryPool, firstQuery, queryCount int, dstBuffer Buffer, dstOffset, stride int, flags common.QueryResultFlags) CmdExecuteCommands(commandBuffers []CommandBuffer) CmdClearAttachments(attachments []ClearAttachment, rects []ClearRect) error CmdClearDepthStencilImage(image Image, imageLayout common.ImageLayout, depthStencil *common.ClearValueDepthStencil, ranges []common.ImageSubresourceRange) CmdCopyImageToBuffer(srcImage Image, srcImageLayout common.ImageLayout, dstBuffer Buffer, regions []BufferImageCopy) error CmdDispatch(groupCountX, groupCountY, groupCountZ int) CmdDispatchIndirect(buffer Buffer, offset int) CmdDrawIndexedIndirect(buffer Buffer, offset int, drawCount, stride int) CmdDrawIndirect(buffer Buffer, offset int, drawCount, stride int) CmdFillBuffer(dstBuffer Buffer, dstOffset int, size int, data uint32) CmdResetEvent(event Event, stageMask common.PipelineStages) CmdResolveImage(srcImage Image, srcImageLayout common.ImageLayout, dstImage Image, dstImageLayout common.ImageLayout, regions []ImageResolve) error CmdSetBlendConstants(blendConstants [4]float32) CmdSetDepthBias(depthBiasConstantFactor, depthBiasClamp, depthBiasSlopeFactor float32) CmdSetDepthBounds(min, max float32) CmdSetLineWidth(lineWidth float32) CmdSetStencilCompareMask(faceMask common.StencilFaces, compareMask uint32) CmdSetStencilReference(faceMask common.StencilFaces, reference uint32) CmdSetStencilWriteMask(faceMask common.StencilFaces, writeMask uint32) CmdUpdateBuffer(dstBuffer Buffer, dstOffset int, dataSize int, data []byte) CmdWriteTimestamp(pipelineStage common.PipelineStages, queryPool QueryPool, query int) }
type CommandBufferAllocateOptions ¶
type CommandBufferAllocateOptions struct { Level common.CommandBufferLevel BufferCount int CommandPool CommandPool common.HaveNext }
func (CommandBufferAllocateOptions) PopulateCPointer ¶
func (CommandBufferAllocateOptions) PopulateOutData ¶
type CommandPool ¶
type CommandPool interface { Handle() driver.VkCommandPool DeviceHandle() driver.VkDevice Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) Reset(flags common.CommandPoolResetFlags) (common.VkResult, error) }
type CommandPoolCreateOptions ¶
type CommandPoolCreateOptions struct { GraphicsQueueFamily *int Flags common.CommandPoolCreateFlags common.HaveNext }
func (CommandPoolCreateOptions) PopulateCPointer ¶
func (CommandPoolCreateOptions) PopulateOutData ¶
type ComponentMapping ¶
type ComponentMapping struct { R common.ComponentSwizzle G common.ComponentSwizzle B common.ComponentSwizzle A common.ComponentSwizzle }
type ComputePipelineCreateOptions ¶
type ComputePipelineCreateOptions struct { Flags common.PipelineCreateFlags Shader ShaderStageOptions Layout PipelineLayout BasePipeline Pipeline BasePipelineIndex int common.HaveNext }
func (ComputePipelineCreateOptions) PopulateCPointer ¶
func (ComputePipelineCreateOptions) PopulateOutData ¶
type CopyDescriptorSetOptions ¶
type CopyDescriptorSetOptions struct { Source DescriptorSet SourceBinding int SourceArrayElement int Destination DescriptorSet DestinationBinding int DestinationArrayElement int Count int common.HaveNext }
func (CopyDescriptorSetOptions) PopulateCPointer ¶
func (CopyDescriptorSetOptions) PopulateOutData ¶
type DepthStencilStateOptions ¶
type DepthStencilStateOptions struct { DepthTestEnable bool DepthWriteEnable bool DepthCompareOp common.CompareOp DepthBoundsTestEnable bool StencilTestEnable bool FrontStencilState StencilOpState BackStencilState StencilOpState MinDepthBounds float32 MaxDepthBounds float32 common.HaveNext }
func (DepthStencilStateOptions) PopulateCPointer ¶
func (DepthStencilStateOptions) PopulateOutData ¶
type DescriptorBufferInfo ¶
type DescriptorImageInfo ¶
type DescriptorImageInfo struct { Sampler Sampler ImageView ImageView ImageLayout common.ImageLayout }
type DescriptorLayoutBinding ¶
type DescriptorLayoutBinding struct { Binding int DescriptorType common.DescriptorType DescriptorCount int StageFlags common.ShaderStages ImmutableSamplers []Sampler }
type DescriptorPool ¶
type DescriptorPool interface { Handle() driver.VkDescriptorPool DeviceHandle() driver.VkDevice Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) Reset(flags common.DescriptorPoolResetFlags) (common.VkResult, error) }
type DescriptorPoolCreateOptions ¶
type DescriptorPoolCreateOptions struct { Flags common.DescriptorPoolCreateFlags MaxSets int PoolSizes []PoolSize common.HaveNext }
func (DescriptorPoolCreateOptions) PopulateCPointer ¶
func (DescriptorPoolCreateOptions) PopulateOutData ¶
type DescriptorSet ¶
type DescriptorSet interface { Handle() driver.VkDescriptorSet DescriptorPoolHandle() driver.VkDescriptorPool DeviceHandle() driver.VkDevice Driver() driver.Driver APIVersion() common.APIVersion Free() (common.VkResult, error) }
type DescriptorSetAllocateOptions ¶
type DescriptorSetAllocateOptions struct { DescriptorPool DescriptorPool AllocationLayouts []DescriptorSetLayout common.HaveNext }
func (DescriptorSetAllocateOptions) PopulateCPointer ¶
func (DescriptorSetAllocateOptions) PopulateOutData ¶
type DescriptorSetLayout ¶
type DescriptorSetLayout interface { Handle() driver.VkDescriptorSetLayout Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type DescriptorSetLayoutCreateOptions ¶
type DescriptorSetLayoutCreateOptions struct { Flags common.DescriptorSetLayoutCreateFlags Bindings []DescriptorLayoutBinding common.HaveNext }
func (DescriptorSetLayoutCreateOptions) PopulateCPointer ¶
func (DescriptorSetLayoutCreateOptions) PopulateOutData ¶
type Device ¶
type Device interface { Handle() driver.VkDevice Driver() driver.Driver APIVersion() common.APIVersion IsDeviceExtensionActive(extensionName string) bool CreateBuffer(allocationCallbacks *driver.AllocationCallbacks, o BufferCreateOptions) (Buffer, common.VkResult, error) CreateBufferView(allocationCallbacks *driver.AllocationCallbacks, o BufferViewCreateOptions) (BufferView, common.VkResult, error) CreateCommandPool(allocationCallbacks *driver.AllocationCallbacks, o CommandPoolCreateOptions) (CommandPool, common.VkResult, error) CreateDescriptorPool(allocationCallbacks *driver.AllocationCallbacks, o DescriptorPoolCreateOptions) (DescriptorPool, common.VkResult, error) CreateDescriptorSetLayout(allocationCallbacks *driver.AllocationCallbacks, o DescriptorSetLayoutCreateOptions) (DescriptorSetLayout, common.VkResult, error) CreateEvent(allocationCallbacks *driver.AllocationCallbacks, options EventCreateOptions) (Event, common.VkResult, error) CreateFence(allocationCallbacks *driver.AllocationCallbacks, o FenceCreateOptions) (Fence, common.VkResult, error) CreateFramebuffer(allocationCallbacks *driver.AllocationCallbacks, o FramebufferCreateOptions) (Framebuffer, common.VkResult, error) CreateGraphicsPipelines(pipelineCache PipelineCache, allocationCallbacks *driver.AllocationCallbacks, o []GraphicsPipelineCreateOptions) ([]Pipeline, common.VkResult, error) CreateComputePipelines(pipelineCache PipelineCache, allocationCallbacks *driver.AllocationCallbacks, o []ComputePipelineCreateOptions) ([]Pipeline, common.VkResult, error) CreateImage(allocationCallbacks *driver.AllocationCallbacks, options ImageCreateOptions) (Image, common.VkResult, error) CreateImageView(allocationCallbacks *driver.AllocationCallbacks, o ImageViewCreateOptions) (ImageView, common.VkResult, error) CreatePipelineCache(allocationCallbacks *driver.AllocationCallbacks, o PipelineCacheCreateOptions) (PipelineCache, common.VkResult, error) CreatePipelineLayout(allocationCallbacks *driver.AllocationCallbacks, o PipelineLayoutCreateOptions) (PipelineLayout, common.VkResult, error) CreateQueryPool(allocationCallbacks *driver.AllocationCallbacks, o QueryPoolCreateOptions) (QueryPool, common.VkResult, error) CreateRenderPass(allocationCallbacks *driver.AllocationCallbacks, o RenderPassCreateOptions) (RenderPass, common.VkResult, error) CreateSampler(allocationCallbacks *driver.AllocationCallbacks, o SamplerCreateOptions) (Sampler, common.VkResult, error) CreateSemaphore(allocationCallbacks *driver.AllocationCallbacks, o SemaphoreCreateOptions) (Semaphore, common.VkResult, error) CreateShaderModule(allocationCallbacks *driver.AllocationCallbacks, o ShaderModuleCreateOptions) (ShaderModule, common.VkResult, error) GetQueue(queueFamilyIndex int, queueIndex int) Queue AllocateMemory(allocationCallbacks *driver.AllocationCallbacks, o MemoryAllocateOptions) (DeviceMemory, common.VkResult, error) FreeMemory(deviceMemory DeviceMemory, allocationCallbacks *driver.AllocationCallbacks) AllocateCommandBuffers(o CommandBufferAllocateOptions) ([]CommandBuffer, common.VkResult, error) FreeCommandBuffers(buffers []CommandBuffer) AllocateDescriptorSets(o DescriptorSetAllocateOptions) ([]DescriptorSet, common.VkResult, error) FreeDescriptorSets(sets []DescriptorSet) (common.VkResult, error) Destroy(callbacks *driver.AllocationCallbacks) WaitForIdle() (common.VkResult, error) WaitForFences(waitForAll bool, timeout time.Duration, fences []Fence) (common.VkResult, error) ResetFences(fences []Fence) (common.VkResult, error) UpdateDescriptorSets(writes []WriteDescriptorSetOptions, copies []CopyDescriptorSetOptions) error FlushMappedMemoryRanges(ranges []MappedMemoryRangeOptions) (common.VkResult, error) InvalidateMappedMemoryRanges(ranges []MappedMemoryRangeOptions) (common.VkResult, error) }
type DeviceCreateOptions ¶
type DeviceCreateOptions struct { QueueFamilies []DeviceQueueCreateOptions EnabledFeatures *PhysicalDeviceFeatures ExtensionNames []string LayerNames []string common.HaveNext }
func (DeviceCreateOptions) PopulateCPointer ¶
func (DeviceCreateOptions) PopulateOutData ¶
type DeviceMemory ¶
type DeviceMemory interface { Handle() driver.VkDeviceMemory DeviceHandle() driver.VkDevice Driver() driver.Driver APIVersion() common.APIVersion MapMemory(offset int, size int, flags MemoryMapFlags) (unsafe.Pointer, common.VkResult, error) UnmapMemory() Free(callbacks *driver.AllocationCallbacks) Commitment() int FlushAll() (common.VkResult, error) InvalidateAll() (common.VkResult, error) }
type DeviceQueueCreateOptions ¶
type DeviceQueueCreateOptions struct { Flags common.DeviceQueueCreateFlags QueueFamilyIndex int CreatedQueuePriorities []float32 common.HaveNext }
func (DeviceQueueCreateOptions) PopulateCPointer ¶
func (DeviceQueueCreateOptions) PopulateOutData ¶
type DynamicStateOptions ¶
type DynamicStateOptions struct { DynamicStates []common.DynamicState common.HaveNext }
func (DynamicStateOptions) PopulateCPointer ¶
func (DynamicStateOptions) PopulateOutData ¶
type EventCreateOptions ¶
type EventCreateOptions struct { Flags common.EventCreateFlags common.HaveNext }
func (EventCreateOptions) PopulateCPointer ¶
func (EventCreateOptions) PopulateOutData ¶
type FenceCreateOptions ¶
type FenceCreateOptions struct { Flags common.FenceCreateFlags common.HaveNext }
func (FenceCreateOptions) PopulateCPointer ¶
func (FenceCreateOptions) PopulateOutData ¶
type FormatProperties ¶
type FormatProperties struct { LinearTilingFeatures common.FormatFeatures OptimalTilingFeatures common.FormatFeatures BufferFeatures common.FormatFeatures }
type Framebuffer ¶
type Framebuffer interface { Handle() driver.VkFramebuffer Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type FramebufferCreateOptions ¶
type FramebufferCreateOptions struct { Attachments []ImageView Flags common.FramebufferCreateFlags Width int Height int Layers uint32 RenderPass RenderPass common.HaveNext }
func (FramebufferCreateOptions) PopulateCPointer ¶
func (FramebufferCreateOptions) PopulateOutData ¶
type GraphicsPipelineCreateOptions ¶
type GraphicsPipelineCreateOptions struct { Flags common.PipelineCreateFlags ShaderStages []ShaderStageOptions VertexInput *VertexInputStateOptions InputAssembly *InputAssemblyStateOptions Tessellation *TessellationStateOptions Viewport *ViewportStateOptions Rasterization *RasterizationStateOptions Multisample *MultisampleStateOptions DepthStencil *DepthStencilStateOptions ColorBlend *ColorBlendStateOptions DynamicState *DynamicStateOptions Layout PipelineLayout RenderPass RenderPass SubPass int BasePipeline Pipeline BasePipelineIndex int common.HaveNext }
func (GraphicsPipelineCreateOptions) PopulateCPointer ¶
func (GraphicsPipelineCreateOptions) PopulateOutData ¶
type Image ¶
type Image interface { Handle() driver.VkImage Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) MemoryRequirements() *MemoryRequirements BindImageMemory(memory DeviceMemory, offset int) (common.VkResult, error) SubresourceLayout(subresource *common.ImageSubresource) *common.SubresourceLayout SparseMemoryRequirements() []SparseImageMemoryRequirements }
type ImageBlit ¶
type ImageBlit struct { SourceSubresource common.ImageSubresourceLayers SourceOffsets [2]common.Offset3D DestinationSubresource common.ImageSubresourceLayers DestinationOffsets [2]common.Offset3D }
type ImageCopy ¶
type ImageCopy struct { SrcSubresource common.ImageSubresourceLayers SrcOffset common.Offset3D DstSubresource common.ImageSubresourceLayers DstOffset common.Offset3D Extent common.Extent3D }
type ImageCreateOptions ¶
type ImageCreateOptions struct { Flags common.ImageCreateFlags ImageType common.ImageType Format common.DataFormat Extent common.Extent3D MipLevels int ArrayLayers int Samples common.SampleCounts Tiling common.ImageTiling Usage common.ImageUsages SharingMode common.SharingMode QueueFamilies []uint32 InitialLayout common.ImageLayout common.HaveNext }
func (ImageCreateOptions) PopulateCPointer ¶
func (ImageCreateOptions) PopulateOutData ¶
type ImageFormatProperties ¶
type ImageMemoryBarrierOptions ¶
type ImageMemoryBarrierOptions struct { SrcAccessMask common.AccessFlags DstAccessMask common.AccessFlags OldLayout common.ImageLayout NewLayout common.ImageLayout SrcQueueFamilyIndex int DstQueueFamilyIndex int Image Image SubresourceRange common.ImageSubresourceRange common.HaveNext }
func (ImageMemoryBarrierOptions) PopulateCPointer ¶
func (ImageMemoryBarrierOptions) PopulateOutData ¶
type ImageResolve ¶
type ImageResolve struct { SrcSubresource common.ImageSubresourceLayers SrcOffset common.Offset3D DstSubresource common.ImageSubresourceLayers DstOffset common.Offset3D Extent common.Extent3D }
func (ImageResolve) PopulateCPointer ¶
type ImageView ¶
type ImageView interface { Handle() driver.VkImageView Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type ImageViewCreateOptions ¶
type ImageViewCreateOptions struct { Image Image Flags common.ImageViewCreateFlags ViewType common.ImageViewType Format common.DataFormat Components ComponentMapping SubresourceRange common.ImageSubresourceRange common.HaveNext }
func (ImageViewCreateOptions) PopulateCPointer ¶
func (ImageViewCreateOptions) PopulateOutData ¶
type InheritanceOptions ¶
type InheritanceOptions struct { Framebuffer Framebuffer RenderPass RenderPass SubPass int OcclusionQueryEnable bool QueryFlags common.QueryControlFlags PipelineStatistics common.QueryPipelineStatisticFlags common.HaveNext }
func (InheritanceOptions) PopulateCPointer ¶
func (InheritanceOptions) PopulateOutData ¶
type InputAssemblyStateOptions ¶
type InputAssemblyStateOptions struct { Topology common.PrimitiveTopology EnablePrimitiveRestart bool common.HaveNext }
func (InputAssemblyStateOptions) PopulateCPointer ¶
func (InputAssemblyStateOptions) PopulateOutData ¶
type Instance ¶
type Instance interface { Handle() driver.VkInstance Driver() driver.Driver APIVersion() common.APIVersion IsInstanceExtensionActive(extensionName string) bool PhysicalDevices() ([]PhysicalDevice, common.VkResult, error) Destroy(callbacks *driver.AllocationCallbacks) }
type InstanceCreateOptions ¶
type InstanceCreateOptions struct { ApplicationName string ApplicationVersion common.Version EngineName string EngineVersion common.Version VulkanVersion common.APIVersion ExtensionNames []string LayerNames []string common.HaveNext }
func (InstanceCreateOptions) PopulateCPointer ¶
func (InstanceCreateOptions) PopulateOutData ¶
type MappedMemoryRangeOptions ¶
type MappedMemoryRangeOptions struct { Memory DeviceMemory Offset int Size int common.HaveNext }
func (MappedMemoryRangeOptions) PopulateCPointer ¶
func (MappedMemoryRangeOptions) PopulateOutData ¶
type MemoryAllocateOptions ¶
func (MemoryAllocateOptions) PopulateCPointer ¶
func (MemoryAllocateOptions) PopulateOutData ¶
type MemoryBarrierOptions ¶
type MemoryBarrierOptions struct { SrcAccessMask common.AccessFlags DstAccessMask common.AccessFlags common.HaveNext }
func (MemoryBarrierOptions) PopulateCPointer ¶
func (MemoryBarrierOptions) PopulateOutData ¶
type MemoryMapFlags ¶
type MemoryMapFlags int32
func (MemoryMapFlags) String ¶
func (f MemoryMapFlags) String() string
type MemoryRequirements ¶
type MultisampleStateOptions ¶
type MultisampleStateOptions struct { RasterizationSamples common.SampleCounts SampleShading bool MinSampleShading float32 SampleMask []uint32 AlphaToCoverage bool AlphaToOne bool common.HaveNext }
func (MultisampleStateOptions) PopulateCPointer ¶
func (MultisampleStateOptions) PopulateOutData ¶
type PhysicalDevice ¶
type PhysicalDevice interface { Handle() driver.VkPhysicalDevice Driver() driver.Driver InstanceAPIVersion() common.APIVersion DeviceAPIVersion() common.APIVersion CreateDevice(allocationCallbacks *driver.AllocationCallbacks, options DeviceCreateOptions) (Device, common.VkResult, error) QueueFamilyProperties() []*QueueFamily Properties() (*PhysicalDeviceProperties, error) Features() *PhysicalDeviceFeatures AvailableExtensions() (map[string]*common.ExtensionProperties, common.VkResult, error) AvailableExtensionsForLayer(layerName string) (map[string]*common.ExtensionProperties, common.VkResult, error) AvailableLayers() (map[string]*common.LayerProperties, common.VkResult, error) MemoryProperties() *PhysicalDeviceMemoryProperties FormatProperties(format common.DataFormat) *FormatProperties ImageFormatProperties(format common.DataFormat, imageType common.ImageType, tiling common.ImageTiling, usages common.ImageUsages, flags common.ImageCreateFlags) (*ImageFormatProperties, common.VkResult, error) SparseImageFormatProperties(format common.DataFormat, imageType common.ImageType, samples common.SampleCounts, usages common.ImageUsages, tiling common.ImageTiling) []SparseImageFormatProperties }
type PhysicalDeviceFeatures ¶
type PhysicalDeviceFeatures struct { RobustBufferAccess bool FullDrawIndexUint32 bool ImageCubeArray bool IndependentBlend bool GeometryShader bool TessellationShader bool SampleRateShading bool DualSrcBlend bool LogicOp bool MultiDrawIndirect bool DrawIndirectFirstInstance bool DepthClamp bool DepthBiasClamp bool FillModeNonSolid bool DepthBounds bool WideLines bool LargePoints bool AlphaToOne bool MultiViewport bool SamplerAnisotropy bool TextureCompressionEtc2 bool TextureCompressionAstcLdc bool TextureCompressionBc bool OcclusionQueryPrecise bool PipelineStatisticsQuery bool VertexPipelineStoresAndAtomics bool FragmentStoresAndAtomics bool ShaderTessellationAndGeometryPointSize bool ShaderImageGatherExtended bool ShaderStorageImageExtendedFormats bool ShaderStorageImageMultisample bool ShaderStorageImageReadWithoutFormat bool ShaderStorageImageWriteWithoutFormat bool ShaderUniformBufferArrayDynamicIndexing bool ShaderSampledImageArrayDynamicIndexing bool ShaderStorageBufferArrayDynamicIndexing bool ShaderStorageImageArrayDynamicIndexing bool ShaderClipDistance bool ShaderCullDistance bool ShaderFloat64 bool ShaderInt64 bool ShaderInt16 bool ShaderResourceResidency bool ShaderResourceMinLod bool SparseBinding bool SparseResidencyBuffer bool SparseResidencyImage2D bool SparseResidencyImage3D bool SparseResidency2Samples bool SparseResidency4Samples bool SparseResidency8Samples bool SparseResidency16Samples bool SparseResidencyAliased bool VariableMultisampleRate bool InheritedQueries bool }
func (*PhysicalDeviceFeatures) PopulateCPointer ¶
func (*PhysicalDeviceFeatures) PopulateFromCPointer ¶
func (p *PhysicalDeviceFeatures) PopulateFromCPointer(cPointer unsafe.Pointer)
type PhysicalDeviceLimits ¶
type PhysicalDeviceLimits struct { MaxImageDimension1D int MaxImageDimension2D int MaxImageDimension3D int MaxImageDimensionCube int MaxImageArrayLayers int MaxTexelBufferElements int MaxUniformBufferRange int MaxStorageBufferRange int MaxPushConstantsSize int MaxMemoryAllocationCount int MaxSamplerAllocationCount int BufferImageGranularity int SparseAddressSpaceSize int MaxBoundDescriptorSets int MaxPerStageDescriptorSamplers int MaxPerStageDescriptorUniformBuffers int MaxPerStageDescriptorStorageBuffers int MaxPerStageDescriptorSampledImages int MaxPerStageDescriptorStorageImages int MaxPerStageDescriptorInputAttachments int MaxPerStageResources int MaxDescriptorSetSamplers int MaxDescriptorSetUniformBuffers int MaxDescriptorSetUniformBuffersDynamic int MaxDescriptorSetStorageBuffers int MaxDescriptorSetStorageBuffersDynamic int MaxDescriptorSetSampledImages int MaxDescriptorSetStorageImages int MaxDescriptorSetInputAttachments int MaxVertexInputAttributes int MaxVertexInputBindings int MaxVertexInputAttributeOffset int MaxVertexInputBindingStride int MaxVertexOutputComponents int MaxTessellationGenerationLevel int MaxTessellationPatchSize int MaxTessellationControlPerVertexInputComponents int MaxTessellationControlPerVertexOutputComponents int MaxTessellationControlPerPatchOutputComponents int MaxTessellationControlTotalOutputComponents int MaxTessellationEvaluationInputComponents int MaxTessellationEvaluationOutputComponents int MaxGeometryShaderInvocations int MaxGeometryInputComponents int MaxGeometryOutputComponents int MaxGeometryOutputVertices int MaxGeometryTotalOutputComponents int MaxFragmentInputComponents int MaxFragmentOutputAttachments int MaxFragmentDualSrcAttachments int MaxFragmentCombinedOutputResources int MaxComputeWorkGroupCount [3]int MaxComputeWorkGroupInvocations int MaxComputeWorkGroupSize [3]int SubPixelPrecisionBits int SubTexelPrecisionBits int MipmapPrecisionBits int MaxDrawIndexedIndexValue int MaxDrawIndirectCount int MaxSamplerLodBias float32 MaxSamplerAnisotropy float32 MaxViewports int MaxViewportDimensions [2]int ViewportBoundsRange [2]float32 ViewportSubPixelBits int MinMemoryMapAlignment int MinTexelBufferOffsetAlignment int MinUniformBufferOffsetAlignment int MinStorageBufferOffsetAlignment int MinTexelOffset int MaxTexelOffset int MinTexelGatherOffset int MaxTexelGatherOffset int MinInterpolationOffset float32 MaxInterpolationOffset float32 SubPixelInterpolationOffsetBits int MaxFramebufferWidth int MaxFramebufferHeight int MaxFramebufferLayers int FramebufferColorSampleCounts common.SampleCounts FramebufferDepthSampleCounts common.SampleCounts FramebufferStencilSampleCounts common.SampleCounts FramebufferNoAttachmentsSampleCounts common.SampleCounts MaxColorAttachments int SampledImageColorSampleCounts common.SampleCounts SampledImageIntegerSampleCounts common.SampleCounts SampledImageDepthSampleCounts common.SampleCounts SampledImageStencilSampleCounts common.SampleCounts StorageImageSampleCounts common.SampleCounts MaxSampleMaskWords int TimestampComputeAndGraphics bool TimestampPeriod float32 MaxClipDistances int MaxCullDistances int MaxCombinedClipAndCullDistances int DiscreteQueuePriorities int PointSizeRange [2]float32 LineWidthRange [2]float32 PointSizeGranularity float32 LineWidthGranularity float32 StrictLines bool StandardSampleLocations bool OptimalBufferCopyOffsetAlignment int OptimalBufferCopyRowPitchAlignment int NonCoherentAtomSize int }
type PhysicalDeviceMemoryProperties ¶
type PhysicalDeviceMemoryProperties struct { MemoryTypes []common.MemoryType MemoryHeaps []common.MemoryHeap }
type PhysicalDeviceProperties ¶
type PhysicalDeviceProperties struct { Type common.PhysicalDeviceType Name string APIVersion common.APIVersion DriverVersion common.Version VendorID uint32 DeviceID uint32 PipelineCacheUUID uuid.UUID Limits *PhysicalDeviceLimits SparseProperties *PhysicalDeviceSparseProperties }
func (*PhysicalDeviceProperties) PopulateFromCPointer ¶
func (p *PhysicalDeviceProperties) PopulateFromCPointer(cPointer unsafe.Pointer) error
type Pipeline ¶
type Pipeline interface { Handle() driver.VkPipeline Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type PipelineCache ¶
type PipelineCache interface { Handle() driver.VkPipelineCache Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) CacheData() ([]byte, common.VkResult, error) MergePipelineCaches(srcCaches []PipelineCache) (common.VkResult, error) }
type PipelineCacheCreateOptions ¶
type PipelineCacheCreateOptions struct { Flags common.PipelineCacheCreateFlags InitialData []byte common.HaveNext }
func (PipelineCacheCreateOptions) PopulateCPointer ¶
func (PipelineCacheCreateOptions) PopulateOutData ¶
type PipelineLayout ¶
type PipelineLayout interface { Handle() driver.VkPipelineLayout Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type PipelineLayoutCreateOptions ¶
type PipelineLayoutCreateOptions struct { SetLayouts []DescriptorSetLayout PushConstantRanges []PushConstantRange common.HaveNext }
func (PipelineLayoutCreateOptions) PopulateCPointer ¶
func (PipelineLayoutCreateOptions) PopulateOutData ¶
type PoolSize ¶
type PoolSize struct { Type common.DescriptorType DescriptorCount int }
type PushConstantRange ¶
type PushConstantRange struct { Stages common.ShaderStages Offset int Size int }
type QueryPool ¶
type QueryPool interface { Handle() driver.VkQueryPool Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) PopulateResults(firstQuery, queryCount int, results []byte, resultStride int, flags common.QueryResultFlags) (common.VkResult, error) }
type QueryPoolCreateOptions ¶
type QueryPoolCreateOptions struct { QueryType common.QueryType QueryCount int PipelineStatistics common.PipelineStatistics common.HaveNext }
func (QueryPoolCreateOptions) PopulateCPointer ¶
func (QueryPoolCreateOptions) PopulateOutData ¶
type QueueFamily ¶
type RasterizationStateOptions ¶
type RasterizationStateOptions struct { DepthClamp bool RasterizerDiscard bool PolygonMode common.PolygonMode CullMode common.CullModes FrontFace common.FrontFace DepthBias bool DepthBiasClamp float32 DepthBiasConstantFactor float32 DepthBiasSlopeFactor float32 LineWidth float32 common.HaveNext }
func (RasterizationStateOptions) PopulateCPointer ¶
func (RasterizationStateOptions) PopulateOutData ¶
type RenderPass ¶
type RenderPass interface { Handle() driver.VkRenderPass Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) RenderAreaGranularity() common.Extent2D }
type RenderPassBeginOptions ¶
type RenderPassBeginOptions struct { RenderPass RenderPass Framebuffer Framebuffer RenderArea common.Rect2D ClearValues []common.ClearValue common.HaveNext }
func (RenderPassBeginOptions) PopulateCPointer ¶
func (RenderPassBeginOptions) PopulateOutData ¶
type RenderPassCreateOptions ¶
type RenderPassCreateOptions struct { Flags common.RenderPassCreateFlags Attachments []AttachmentDescription SubPassDescriptions []SubPassDescription SubPassDependencies []SubPassDependency common.HaveNext }
func (RenderPassCreateOptions) PopulateCPointer ¶
func (RenderPassCreateOptions) PopulateOutData ¶
type Sampler ¶
type Sampler interface { Handle() driver.VkSampler Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type SamplerCreateOptions ¶
type SamplerCreateOptions struct { Flags common.SamplerCreateFlags MagFilter common.Filter MinFilter common.Filter MipmapMode common.MipmapMode AddressModeU common.SamplerAddressMode AddressModeV common.SamplerAddressMode AddressModeW common.SamplerAddressMode MipLodBias float32 MinLod float32 MaxLod float32 AnisotropyEnable bool MaxAnisotropy float32 CompareEnable bool CompareOp common.CompareOp BorderColor common.BorderColor UnnormalizedCoordinates bool common.HaveNext }
func (SamplerCreateOptions) PopulateCPointer ¶
func (SamplerCreateOptions) PopulateOutData ¶
type Semaphore ¶
type Semaphore interface { Handle() driver.VkSemaphore Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type SemaphoreCreateOptions ¶
func (SemaphoreCreateOptions) PopulateCPointer ¶
func (SemaphoreCreateOptions) PopulateOutData ¶
type ShaderModule ¶
type ShaderModule interface { Handle() driver.VkShaderModule Driver() driver.Driver APIVersion() common.APIVersion Destroy(callbacks *driver.AllocationCallbacks) }
type ShaderModuleCreateOptions ¶
func (ShaderModuleCreateOptions) PopulateCPointer ¶
func (ShaderModuleCreateOptions) PopulateOutData ¶
type ShaderStageOptions ¶
type ShaderStageOptions struct { Flags common.ShaderStageCreateFlags Name string Stage common.ShaderStages Shader ShaderModule SpecializationInfo map[uint32]any common.HaveNext }
func (ShaderStageOptions) PopulateCPointer ¶
func (ShaderStageOptions) PopulateOutData ¶
type SparseBufferMemoryBindInfo ¶
type SparseBufferMemoryBindInfo struct { Buffer Buffer Binds []SparseMemoryBind }
type SparseImageFormatProperties ¶
type SparseImageFormatProperties struct { AspectMask common.ImageAspectFlags ImageGranularity common.Extent3D Flags common.SparseImageFormatFlags }
type SparseImageMemoryBind ¶
type SparseImageMemoryBind struct { Subresource common.ImageSubresource Offset common.Offset3D Extent common.Extent3D Memory DeviceMemory MemoryOffset int Flags common.SparseMemoryBindFlags }
type SparseImageMemoryBindInfo ¶
type SparseImageMemoryBindInfo struct { Image Image Binds []SparseImageMemoryBind }
type SparseImageMemoryRequirements ¶
type SparseImageMemoryRequirements struct { FormatProperties SparseImageFormatProperties ImageMipTailFirstLod int ImageMipTailSize int ImageMipTailOffset int ImageMipTailStride int }
type SparseImageOpaqueMemoryBindInfo ¶
type SparseImageOpaqueMemoryBindInfo struct { Image Image Binds []SparseMemoryBind }
type SparseMemoryBind ¶
type SparseMemoryBind struct { ResourceOffset int Size int Memory DeviceMemory MemoryOffset int Flags common.SparseMemoryBindFlags }
func (SparseMemoryBind) PopulateCPointer ¶
type StencilOpState ¶
type SubPassDependency ¶
type SubPassDependency struct { Flags common.DependencyFlags SrcSubPassIndex int DstSubPassIndex int SrcStageMask common.PipelineStages DstStageMask common.PipelineStages SrcAccessMask common.AccessFlags DstAccessMask common.AccessFlags }
type SubPassDescription ¶
type SubPassDescription struct { Flags common.SubPassDescriptionFlags BindPoint common.PipelineBindPoint InputAttachments []common.AttachmentReference ColorAttachments []common.AttachmentReference ResolveAttachments []common.AttachmentReference DepthStencilAttachment *common.AttachmentReference PreservedAttachmentIndices []int }
type SubmitOptions ¶
type SubmitOptions struct { CommandBuffers []CommandBuffer WaitSemaphores []Semaphore WaitDstStages []common.PipelineStages SignalSemaphores []Semaphore common.HaveNext }
func (SubmitOptions) PopulateCPointer ¶
func (SubmitOptions) PopulateOutData ¶
type TessellationStateOptions ¶
func (TessellationStateOptions) PopulateCPointer ¶
func (TessellationStateOptions) PopulateOutData ¶
type VertexAttributeDescription ¶
type VertexAttributeDescription struct { Location uint32 Binding int Format common.DataFormat Offset int }
type VertexInputStateOptions ¶
type VertexInputStateOptions struct { VertexBindingDescriptions []VertexBindingDescription VertexAttributeDescriptions []VertexAttributeDescription common.HaveNext }
func (VertexInputStateOptions) PopulateCPointer ¶
func (VertexInputStateOptions) PopulateOutData ¶
type ViewportStateOptions ¶
type ViewportStateOptions struct { Viewports []common.Viewport Scissors []common.Rect2D common.HaveNext }
func (ViewportStateOptions) PopulateCPointer ¶
func (ViewportStateOptions) PopulateOutData ¶
type WriteDescriptorSetExtensionSource ¶
type WriteDescriptorSetExtensionSource interface {
WriteDescriptorSetCount() int
}
type WriteDescriptorSetOptions ¶
type WriteDescriptorSetOptions struct { DstSet DescriptorSet DstBinding int DstArrayElement int DescriptorType common.DescriptorType ImageInfo []DescriptorImageInfo BufferInfo []DescriptorBufferInfo TexelBufferView []BufferView common.HaveNext }
func (WriteDescriptorSetOptions) PopulateCPointer ¶
func (WriteDescriptorSetOptions) PopulateOutData ¶
Source Files ¶
- access_flags.go
- buffer.go
- buffer_copy.go
- buffer_view.go
- clear.go
- command_barrier.go
- command_begin.go
- command_buffer.go
- command_pool.go
- command_render_pass.go
- data_format.go
- descriptor_pool.go
- descriptor_set.go
- descriptor_set_layout.go
- device_createinfo.go
- device_memory.go
- device_queuefamily.go
- event.go
- fence_createinfo.go
- format_properties.go
- framebuffer.go
- iface.go
- image.go
- image_blit.go
- image_copy.go
- image_format_properties.go
- image_resolve.go
- image_sparse.go
- image_view_createinfo.go
- instance_createinfo.go
- memory_requirements.go
- physical_device_features.go
- physical_device_limits.go
- physical_device_properties.go
- pipeline_cache.go
- pipeline_createinfo.go
- pipeline_layout.go
- query_pool.go
- queue.go
- queue_submit.go
- render_pass_createinfo.go
- sampler.go
- semaphore_createinfo.go
- shader_module_createinfo.go
- stage_colorblend_createinfo.go
- stage_depthstencil_createinfo.go
- stage_dynamic_state_createinfo.go
- stage_input_assembly_createinfo.go
- stage_multisample_createinfo.go
- stage_rasterizer_createinfo.go
- stage_shader.go
- stage_tessellation_createinfo.go
- stage_vertex_input_createinfo.go
- stage_viewport_createinfo.go
- vk_result.go
Click to show internal directories.
Click to hide internal directories.