Documentation ¶
Index ¶
- Constants
- Variables
- func AllocOptionSlice[T any, O Options](allocator *cgoparam.Allocator, o []O) (*T, error)
- func AllocOptions(allocator *cgoparam.Allocator, o Options, ...) (unsafe.Pointer, error)
- func AllocSlice[T any, A CAllocatable](allocator *cgoparam.Allocator, a []A) (*T, error)
- func ConvertSlice[T any, U any](values []T, mapping func(in T) U) []U
- func OfType[T any](values []any) (T, bool)
- func PopulateOutData(o Options, cPointer unsafe.Pointer, helpers ...any) error
- func PopulateOutDataSlice[T any, O Options](o []O, cSlicePointer unsafe.Pointer, helpers ...any) error
- func TimeoutNanoseconds(timeout time.Duration) uint64
- type APIVersion
- func (v APIVersion) IsAtLeast(otherVersion APIVersion) bool
- func (v APIVersion) Major() uint32
- func (v APIVersion) MatchesMajorVersion(otherVersion APIVersion) bool
- func (v APIVersion) MatchesMinorVersion(otherVersion APIVersion) bool
- func (v APIVersion) Max(otherVersion APIVersion) APIVersion
- func (v APIVersion) Min(otherVersion APIVersion) APIVersion
- func (v APIVersion) Minor() uint32
- func (v APIVersion) Patch() uint32
- func (v APIVersion) String() string
- func (v APIVersion) Variant() uint32
- type AccessFlags
- type AllocationCallbackOptions
- type AllocationFunction
- type AttachmentDescriptionFlags
- type AttachmentLoadOp
- type AttachmentReference
- type AttachmentStoreOp
- type BeginInfoFlags
- type BlendFactor
- type BlendOp
- type BorderColor
- type BufferCreateFlags
- type BufferUsages
- type CAllocatable
- type ClearColorValue
- type ClearValue
- type ClearValueDepthStencil
- type ClearValueFloat
- type ClearValueInt32
- type ClearValueUint32
- type ColorComponents
- type ColorSpace
- type CommandBufferLevel
- type CommandBufferResetFlags
- type CommandPoolCreateFlags
- type CommandPoolResetFlags
- type CompareOp
- type ComponentSwizzle
- type CompositeAlphaModes
- type CullModes
- type DataFormat
- type DependencyFlags
- type DescriptorPoolCreateFlags
- type DescriptorPoolResetFlags
- type DescriptorSetLayoutCreateFlags
- type DescriptorType
- type DeviceQueueCreateFlags
- type DynamicState
- type EventCreateFlags
- type ExtensionProperties
- type Extent2D
- type Extent3D
- type FenceCreateFlags
- type Filter
- type FlagStringMapping
- type FormatFeatures
- type FramebufferCreateFlags
- type FreeFunction
- type FrontFace
- type HaveNext
- type ImageAspectFlags
- type ImageCreateFlags
- type ImageLayout
- type ImageSubresource
- type ImageSubresourceLayers
- type ImageSubresourceRange
- type ImageTiling
- type ImageType
- type ImageUsages
- type ImageViewCreateFlags
- type ImageViewType
- type IndexType
- type InputRate
- type InternalAllocationNotification
- type InternalAllocationType
- type InternalFreeNotification
- type LayerProperties
- type LogicOp
- type MemoryHeap
- type MemoryHeapFlags
- type MemoryProperties
- type MemoryType
- type MipmapMode
- type ObjectType
- type Offset2D
- type Offset3D
- type Options
- type PhysicalDeviceType
- type PipelineBindPoint
- type PipelineCacheCreateFlags
- type PipelineCacheHeaderVersion
- type PipelineCreateFlags
- type PipelineStages
- type PipelineStatistics
- type PolygonMode
- type PrimitiveTopology
- type QueryControlFlags
- type QueryPipelineStatisticFlags
- type QueryResultFlags
- type QueryType
- type QueueFlags
- type ReallocationFunction
- type Rect2D
- type RenderPassCreateFlags
- type SampleCounts
- type SamplerAddressMode
- type SamplerCreateFlags
- type ShaderStageCreateFlags
- type ShaderStages
- type SharingMode
- type SparseImageFormatFlags
- type SparseMemoryBindFlags
- type StencilFaces
- type StencilOp
- type SubPassDescriptionFlags
- type SubpassContents
- type SubresourceLayout
- type SystemAllocationScope
- type Version
- type Viewport
- type VkResult
- type VkResultError
Constants ¶
View Source
const AttachmentUnused int = -1
View Source
const (
InternalAllocationExecutable = C.VK_INTERNAL_ALLOCATION_TYPE_EXECUTABLE
)
View Source
const NoTimeout = time.Duration(^int64(0))
Variables ¶
View Source
var ByteOrder = binary.LittleEndian
Functions ¶
func AllocOptionSlice ¶
func AllocOptions ¶
func AllocSlice ¶
func AllocSlice[T any, A CAllocatable](allocator *cgoparam.Allocator, a []A) (*T, error)
func ConvertSlice ¶
func PopulateOutData ¶
func PopulateOutDataSlice ¶
func TimeoutNanoseconds ¶
Types ¶
type APIVersion ¶
type APIVersion uint32
const ( Vulkan1_0 APIVersion = C.VK_API_VERSION_1_0 Vulkan1_1 APIVersion = C.VK_API_VERSION_1_1 Vulkan1_2 APIVersion = C.VK_API_VERSION_1_2 )
func (APIVersion) IsAtLeast ¶
func (v APIVersion) IsAtLeast(otherVersion APIVersion) bool
func (APIVersion) Major ¶
func (v APIVersion) Major() uint32
func (APIVersion) MatchesMajorVersion ¶
func (v APIVersion) MatchesMajorVersion(otherVersion APIVersion) bool
func (APIVersion) MatchesMinorVersion ¶
func (v APIVersion) MatchesMinorVersion(otherVersion APIVersion) bool
func (APIVersion) Max ¶
func (v APIVersion) Max(otherVersion APIVersion) APIVersion
func (APIVersion) Min ¶
func (v APIVersion) Min(otherVersion APIVersion) APIVersion
func (APIVersion) Minor ¶
func (v APIVersion) Minor() uint32
func (APIVersion) Patch ¶
func (v APIVersion) Patch() uint32
func (APIVersion) String ¶
func (v APIVersion) String() string
func (APIVersion) Variant ¶
func (v APIVersion) Variant() uint32
type AccessFlags ¶
type AccessFlags int32
func (AccessFlags) Register ¶
func (f AccessFlags) Register(str string)
func (AccessFlags) String ¶
func (f AccessFlags) String() string
type AllocationCallbackOptions ¶
type AllocationCallbackOptions struct { UserData any Allocation AllocationFunction Reallocation ReallocationFunction Free FreeFunction InternalAllocation InternalAllocationNotification InternalFree InternalFreeNotification }
type AllocationFunction ¶
type AttachmentDescriptionFlags ¶
type AttachmentDescriptionFlags int32
func (AttachmentDescriptionFlags) Register ¶
func (f AttachmentDescriptionFlags) Register(str string)
func (AttachmentDescriptionFlags) String ¶
func (f AttachmentDescriptionFlags) String() string
type AttachmentLoadOp ¶
type AttachmentLoadOp int32
func (AttachmentLoadOp) Register ¶
func (e AttachmentLoadOp) Register(str string)
func (AttachmentLoadOp) String ¶
func (e AttachmentLoadOp) String() string
type AttachmentReference ¶
type AttachmentReference struct { AttachmentIndex int Layout ImageLayout }
type AttachmentStoreOp ¶
type AttachmentStoreOp int32
func (AttachmentStoreOp) Register ¶
func (e AttachmentStoreOp) Register(str string)
func (AttachmentStoreOp) String ¶
func (e AttachmentStoreOp) String() string
type BeginInfoFlags ¶
type BeginInfoFlags int32
func (BeginInfoFlags) Register ¶
func (f BeginInfoFlags) Register(str string)
func (BeginInfoFlags) String ¶
func (f BeginInfoFlags) String() string
type BlendFactor ¶
type BlendFactor int32
func (BlendFactor) Register ¶
func (e BlendFactor) Register(str string)
func (BlendFactor) String ¶
func (e BlendFactor) String() string
type BorderColor ¶
type BorderColor int32
func (BorderColor) Register ¶
func (e BorderColor) Register(str string)
func (BorderColor) String ¶
func (e BorderColor) String() string
type BufferCreateFlags ¶
type BufferCreateFlags int32
func (BufferCreateFlags) Register ¶
func (f BufferCreateFlags) Register(str string)
func (BufferCreateFlags) String ¶
func (f BufferCreateFlags) String() string
type BufferUsages ¶
type BufferUsages int32
func (BufferUsages) Register ¶
func (f BufferUsages) Register(str string)
func (BufferUsages) String ¶
func (f BufferUsages) String() string
type CAllocatable ¶
type ClearColorValue ¶
type ClearValue ¶
type ClearValueDepthStencil ¶
func (ClearValueDepthStencil) PopulateValueUnion ¶
func (s ClearValueDepthStencil) PopulateValueUnion(c unsafe.Pointer)
type ClearValueFloat ¶
type ClearValueFloat [4]float32
func (ClearValueFloat) PopulateColorUnion ¶
func (v ClearValueFloat) PopulateColorUnion(c unsafe.Pointer)
func (ClearValueFloat) PopulateValueUnion ¶
func (v ClearValueFloat) PopulateValueUnion(c unsafe.Pointer)
type ClearValueInt32 ¶
type ClearValueInt32 [4]int32
func (ClearValueInt32) PopulateColorUnion ¶
func (v ClearValueInt32) PopulateColorUnion(c unsafe.Pointer)
func (ClearValueInt32) PopulateValueUnion ¶
func (v ClearValueInt32) PopulateValueUnion(c unsafe.Pointer)
type ClearValueUint32 ¶
type ClearValueUint32 [4]uint32
func (ClearValueUint32) PopulateColorUnion ¶
func (v ClearValueUint32) PopulateColorUnion(c unsafe.Pointer)
func (ClearValueUint32) PopulateValueUnion ¶
func (v ClearValueUint32) PopulateValueUnion(c unsafe.Pointer)
type ColorComponents ¶
type ColorComponents int32
const ( ComponentRed ColorComponents = C.VK_COLOR_COMPONENT_R_BIT ComponentGreen ColorComponents = C.VK_COLOR_COMPONENT_G_BIT ComponentBlue ColorComponents = C.VK_COLOR_COMPONENT_B_BIT ComponentAlpha ColorComponents = C.VK_COLOR_COMPONENT_A_BIT )
func (ColorComponents) String ¶
func (c ColorComponents) String() string
type ColorSpace ¶
type ColorSpace int32
func (ColorSpace) Register ¶
func (e ColorSpace) Register(str string)
func (ColorSpace) String ¶
func (e ColorSpace) String() string
type CommandBufferLevel ¶
type CommandBufferLevel int32
func (CommandBufferLevel) Register ¶
func (e CommandBufferLevel) Register(str string)
func (CommandBufferLevel) String ¶
func (e CommandBufferLevel) String() string
type CommandBufferResetFlags ¶
type CommandBufferResetFlags int32
func (CommandBufferResetFlags) Register ¶
func (f CommandBufferResetFlags) Register(str string)
func (CommandBufferResetFlags) String ¶
func (f CommandBufferResetFlags) String() string
type CommandPoolCreateFlags ¶
type CommandPoolCreateFlags int32
func (CommandPoolCreateFlags) Register ¶
func (f CommandPoolCreateFlags) Register(str string)
func (CommandPoolCreateFlags) String ¶
func (f CommandPoolCreateFlags) String() string
type CommandPoolResetFlags ¶
type CommandPoolResetFlags int32
func (CommandPoolResetFlags) Register ¶
func (f CommandPoolResetFlags) Register(str string)
func (CommandPoolResetFlags) String ¶
func (f CommandPoolResetFlags) String() string
type ComponentSwizzle ¶
type ComponentSwizzle int32
func (ComponentSwizzle) Register ¶
func (e ComponentSwizzle) Register(str string)
func (ComponentSwizzle) String ¶
func (e ComponentSwizzle) String() string
type CompositeAlphaModes ¶
type CompositeAlphaModes int32
func (CompositeAlphaModes) Register ¶
func (f CompositeAlphaModes) Register(str string)
func (CompositeAlphaModes) String ¶
func (f CompositeAlphaModes) String() string
type DataFormat ¶
type DataFormat int32
func (DataFormat) Register ¶
func (e DataFormat) Register(str string)
func (DataFormat) String ¶
func (e DataFormat) String() string
type DependencyFlags ¶
type DependencyFlags int32
func (DependencyFlags) Register ¶
func (f DependencyFlags) Register(str string)
func (DependencyFlags) String ¶
func (f DependencyFlags) String() string
type DescriptorPoolCreateFlags ¶
type DescriptorPoolCreateFlags int32
func (DescriptorPoolCreateFlags) Register ¶
func (f DescriptorPoolCreateFlags) Register(str string)
func (DescriptorPoolCreateFlags) String ¶
func (f DescriptorPoolCreateFlags) String() string
type DescriptorPoolResetFlags ¶
type DescriptorPoolResetFlags int32
func (DescriptorPoolResetFlags) Register ¶
func (f DescriptorPoolResetFlags) Register(str string)
func (DescriptorPoolResetFlags) String ¶
func (f DescriptorPoolResetFlags) String() string
type DescriptorSetLayoutCreateFlags ¶
type DescriptorSetLayoutCreateFlags int32
func (DescriptorSetLayoutCreateFlags) Register ¶
func (f DescriptorSetLayoutCreateFlags) Register(str string)
func (DescriptorSetLayoutCreateFlags) String ¶
func (f DescriptorSetLayoutCreateFlags) String() string
type DescriptorType ¶
type DescriptorType int32
func (DescriptorType) Register ¶
func (e DescriptorType) Register(str string)
func (DescriptorType) String ¶
func (e DescriptorType) String() string
type DeviceQueueCreateFlags ¶
type DeviceQueueCreateFlags int32
func (DeviceQueueCreateFlags) Register ¶
func (f DeviceQueueCreateFlags) Register(str string)
func (DeviceQueueCreateFlags) String ¶
func (f DeviceQueueCreateFlags) String() string
type DynamicState ¶
type DynamicState int32
func (DynamicState) Register ¶
func (e DynamicState) Register(str string)
func (DynamicState) String ¶
func (e DynamicState) String() string
type EventCreateFlags ¶
type EventCreateFlags int32
func (EventCreateFlags) Register ¶
func (f EventCreateFlags) Register(str string)
func (EventCreateFlags) String ¶
func (f EventCreateFlags) String() string
type ExtensionProperties ¶
type FenceCreateFlags ¶
type FenceCreateFlags int32
func (FenceCreateFlags) Register ¶
func (f FenceCreateFlags) Register(str string)
func (FenceCreateFlags) String ¶
func (f FenceCreateFlags) String() string
type FlagStringMapping ¶
type FlagStringMapping[T flags] struct {
// contains filtered or unexported fields
}
func NewFlagStringMapping ¶
func NewFlagStringMapping[T flags]() FlagStringMapping[T]
func (FlagStringMapping[T]) FlagsToString ¶
func (m FlagStringMapping[T]) FlagsToString(value T) string
func (FlagStringMapping[T]) Register ¶
func (m FlagStringMapping[T]) Register(value T, str string)
type FormatFeatures ¶
type FormatFeatures int32
func (FormatFeatures) Register ¶
func (f FormatFeatures) Register(str string)
func (FormatFeatures) String ¶
func (f FormatFeatures) String() string
type FramebufferCreateFlags ¶
type FramebufferCreateFlags int32
func (FramebufferCreateFlags) Register ¶
func (f FramebufferCreateFlags) Register(str string)
func (FramebufferCreateFlags) String ¶
func (f FramebufferCreateFlags) String() string
type FreeFunction ¶
type ImageAspectFlags ¶
type ImageAspectFlags int32
func (ImageAspectFlags) Register ¶
func (f ImageAspectFlags) Register(str string)
func (ImageAspectFlags) String ¶
func (f ImageAspectFlags) String() string
type ImageCreateFlags ¶
type ImageCreateFlags int32
func (ImageCreateFlags) Register ¶
func (f ImageCreateFlags) Register(str string)
func (ImageCreateFlags) String ¶
func (f ImageCreateFlags) String() string
type ImageLayout ¶
type ImageLayout int32
func (ImageLayout) Register ¶
func (e ImageLayout) Register(str string)
func (ImageLayout) String ¶
func (e ImageLayout) String() string
type ImageSubresource ¶
type ImageSubresource struct { AspectMask ImageAspectFlags MipLevel uint32 ArrayLayer uint32 }
type ImageSubresourceLayers ¶
type ImageSubresourceLayers struct { AspectMask ImageAspectFlags MipLevel int BaseArrayLayer int LayerCount int }
type ImageSubresourceRange ¶
type ImageSubresourceRange struct { AspectMask ImageAspectFlags BaseMipLevel int LevelCount int BaseArrayLayer int LayerCount int }
type ImageTiling ¶
type ImageTiling int32
func (ImageTiling) Register ¶
func (e ImageTiling) Register(str string)
func (ImageTiling) String ¶
func (e ImageTiling) String() string
type ImageUsages ¶
type ImageUsages int32
func (ImageUsages) Register ¶
func (f ImageUsages) Register(str string)
func (ImageUsages) String ¶
func (f ImageUsages) String() string
type ImageViewCreateFlags ¶
type ImageViewCreateFlags int32
func (ImageViewCreateFlags) Register ¶
func (f ImageViewCreateFlags) Register(str string)
func (ImageViewCreateFlags) String ¶
func (f ImageViewCreateFlags) String() string
type ImageViewType ¶
type ImageViewType int32
func (ImageViewType) Register ¶
func (e ImageViewType) Register(str string)
func (ImageViewType) String ¶
func (e ImageViewType) String() string
type InternalAllocationNotification ¶
type InternalAllocationNotification func(userData any, size int, allocationType InternalAllocationType, allocationScope SystemAllocationScope)
type InternalAllocationType ¶
type InternalAllocationType int32
func (InternalAllocationType) Register ¶
func (e InternalAllocationType) Register(str string)
func (InternalAllocationType) String ¶
func (e InternalAllocationType) String() string
type InternalFreeNotification ¶
type InternalFreeNotification func(userData any, size int, allocationType InternalAllocationType, allocationScope SystemAllocationScope)
type LayerProperties ¶
type MemoryHeap ¶
type MemoryHeap struct { Size int Flags MemoryHeapFlags }
type MemoryHeapFlags ¶
type MemoryHeapFlags int32
func (MemoryHeapFlags) Register ¶
func (f MemoryHeapFlags) Register(str string)
func (MemoryHeapFlags) String ¶
func (f MemoryHeapFlags) String() string
type MemoryProperties ¶
type MemoryProperties int32
func (MemoryProperties) Register ¶
func (f MemoryProperties) Register(str string)
func (MemoryProperties) String ¶
func (f MemoryProperties) String() string
type MemoryType ¶
type MemoryType struct { Properties MemoryProperties HeapIndex int }
type MipmapMode ¶
type MipmapMode int32
func (MipmapMode) Register ¶
func (e MipmapMode) Register(str string)
func (MipmapMode) String ¶
func (e MipmapMode) String() string
type ObjectType ¶
type ObjectType int32
const ( ObjectTypeUnknown ObjectType = C.VK_OBJECT_TYPE_UNKNOWN ObjectTypeInstance ObjectType = C.VK_OBJECT_TYPE_INSTANCE ObjectTypePhysicalDevice ObjectType = C.VK_OBJECT_TYPE_PHYSICAL_DEVICE ObjectTypeDevice ObjectType = C.VK_OBJECT_TYPE_DEVICE ObjectTypeQueue ObjectType = C.VK_OBJECT_TYPE_QUEUE ObjectTypeSemaphore ObjectType = C.VK_OBJECT_TYPE_SEMAPHORE ObjectTypeCommandBuffer ObjectType = C.VK_OBJECT_TYPE_COMMAND_BUFFER ObjectTypeFence ObjectType = C.VK_OBJECT_TYPE_FENCE ObjectTypeDeviceMemory ObjectType = C.VK_OBJECT_TYPE_DEVICE_MEMORY ObjectTypeBuffer ObjectType = C.VK_OBJECT_TYPE_BUFFER ObjectTypeImage ObjectType = C.VK_OBJECT_TYPE_IMAGE ObjectTypeEvent ObjectType = C.VK_OBJECT_TYPE_EVENT ObjectTypeQueryPool ObjectType = C.VK_OBJECT_TYPE_QUERY_POOL ObjectTypeBufferView ObjectType = C.VK_OBJECT_TYPE_BUFFER_VIEW ObjectTypeImageView ObjectType = C.VK_OBJECT_TYPE_IMAGE_VIEW ObjectTypeShaderModule ObjectType = C.VK_OBJECT_TYPE_SHADER_MODULE ObjectTypePipelineCache ObjectType = C.VK_OBJECT_TYPE_PIPELINE_CACHE ObjectTypePipelineLayout ObjectType = C.VK_OBJECT_TYPE_PIPELINE_LAYOUT ObjectTypeRenderPass ObjectType = C.VK_OBJECT_TYPE_RENDER_PASS ObjectTypePipeline ObjectType = C.VK_OBJECT_TYPE_PIPELINE ObjectTypeDescriptorSetLayout ObjectType = C.VK_OBJECT_TYPE_DESCRIPTOR_SET_LAYOUT ObjectTypeSampler ObjectType = C.VK_OBJECT_TYPE_SAMPLER ObjectTypeDescriptorPool ObjectType = C.VK_OBJECT_TYPE_DESCRIPTOR_POOL ObjectTypeDescriptorSet ObjectType = C.VK_OBJECT_TYPE_DESCRIPTOR_SET ObjectTypeFramebuffer ObjectType = C.VK_OBJECT_TYPE_FRAMEBUFFER ObjectTypeCommandPool ObjectType = C.VK_OBJECT_TYPE_COMMAND_POOL )
func (ObjectType) Register ¶
func (e ObjectType) Register(str string)
func (ObjectType) String ¶
func (e ObjectType) String() string
type PhysicalDeviceType ¶
type PhysicalDeviceType int32
func (PhysicalDeviceType) Register ¶
func (e PhysicalDeviceType) Register(str string)
func (PhysicalDeviceType) String ¶
func (e PhysicalDeviceType) String() string
type PipelineBindPoint ¶
type PipelineBindPoint int32
func (PipelineBindPoint) Register ¶
func (e PipelineBindPoint) Register(str string)
func (PipelineBindPoint) String ¶
func (e PipelineBindPoint) String() string
type PipelineCacheCreateFlags ¶
type PipelineCacheCreateFlags int32
func (PipelineCacheCreateFlags) Register ¶
func (f PipelineCacheCreateFlags) Register(str string)
func (PipelineCacheCreateFlags) String ¶
func (f PipelineCacheCreateFlags) String() string
type PipelineCacheHeaderVersion ¶
type PipelineCacheHeaderVersion int32
const (
PipelineCacheHeaderVersion1 PipelineCacheHeaderVersion = C.VK_PIPELINE_CACHE_HEADER_VERSION_ONE
)
func (PipelineCacheHeaderVersion) Register ¶
func (e PipelineCacheHeaderVersion) Register(str string)
func (PipelineCacheHeaderVersion) String ¶
func (e PipelineCacheHeaderVersion) String() string
type PipelineCreateFlags ¶
type PipelineCreateFlags int32
func (PipelineCreateFlags) Register ¶
func (f PipelineCreateFlags) Register(str string)
func (PipelineCreateFlags) String ¶
func (f PipelineCreateFlags) String() string
type PipelineStages ¶
type PipelineStages int32
func (PipelineStages) Register ¶
func (f PipelineStages) Register(str string)
func (PipelineStages) String ¶
func (f PipelineStages) String() string
type PipelineStatistics ¶
type PipelineStatistics int32
func (PipelineStatistics) Register ¶
func (f PipelineStatistics) Register(str string)
func (PipelineStatistics) String ¶
func (f PipelineStatistics) String() string
type PolygonMode ¶
type PolygonMode int32
func (PolygonMode) Register ¶
func (e PolygonMode) Register(str string)
func (PolygonMode) String ¶
func (e PolygonMode) String() string
type PrimitiveTopology ¶
type PrimitiveTopology int32
func (PrimitiveTopology) Register ¶
func (e PrimitiveTopology) Register(str string)
func (PrimitiveTopology) String ¶
func (e PrimitiveTopology) String() string
type QueryControlFlags ¶
type QueryControlFlags int32
func (QueryControlFlags) Register ¶
func (f QueryControlFlags) Register(str string)
func (QueryControlFlags) String ¶
func (f QueryControlFlags) String() string
type QueryPipelineStatisticFlags ¶
type QueryPipelineStatisticFlags int32
func (QueryPipelineStatisticFlags) Register ¶
func (f QueryPipelineStatisticFlags) Register(str string)
func (QueryPipelineStatisticFlags) String ¶
func (f QueryPipelineStatisticFlags) String() string
type QueryResultFlags ¶
type QueryResultFlags int32
func (QueryResultFlags) Register ¶
func (f QueryResultFlags) Register(str string)
func (QueryResultFlags) String ¶
func (f QueryResultFlags) String() string
type QueueFlags ¶
type QueueFlags int32
func (QueueFlags) Register ¶
func (f QueueFlags) Register(str string)
func (QueueFlags) String ¶
func (f QueueFlags) String() string
type ReallocationFunction ¶
type RenderPassCreateFlags ¶
type RenderPassCreateFlags int32
func (RenderPassCreateFlags) Register ¶
func (f RenderPassCreateFlags) Register(str string)
func (RenderPassCreateFlags) String ¶
func (f RenderPassCreateFlags) String() string
type SampleCounts ¶
type SampleCounts int32
func (SampleCounts) Count ¶
func (f SampleCounts) Count() int
func (SampleCounts) RegisterSamples ¶
func (f SampleCounts) RegisterSamples(str string, sampleCount int)
func (SampleCounts) String ¶
func (f SampleCounts) String() string
type SamplerAddressMode ¶
type SamplerAddressMode int32
func (SamplerAddressMode) Register ¶
func (e SamplerAddressMode) Register(str string)
func (SamplerAddressMode) String ¶
func (e SamplerAddressMode) String() string
type SamplerCreateFlags ¶
type SamplerCreateFlags int32
func (SamplerCreateFlags) Register ¶
func (f SamplerCreateFlags) Register(str string)
func (SamplerCreateFlags) String ¶
func (f SamplerCreateFlags) String() string
type ShaderStageCreateFlags ¶
type ShaderStageCreateFlags int32
func (ShaderStageCreateFlags) Register ¶
func (f ShaderStageCreateFlags) Register(str string)
func (ShaderStageCreateFlags) String ¶
func (f ShaderStageCreateFlags) String() string
type ShaderStages ¶
type ShaderStages int32
func (ShaderStages) Register ¶
func (f ShaderStages) Register(str string)
func (ShaderStages) String ¶
func (f ShaderStages) String() string
type SharingMode ¶
type SharingMode int32
func (SharingMode) Register ¶
func (e SharingMode) Register(str string)
func (SharingMode) String ¶
func (e SharingMode) String() string
type SparseImageFormatFlags ¶
type SparseImageFormatFlags int32
func (SparseImageFormatFlags) Register ¶
func (f SparseImageFormatFlags) Register(str string)
func (SparseImageFormatFlags) String ¶
func (f SparseImageFormatFlags) String() string
type SparseMemoryBindFlags ¶
type SparseMemoryBindFlags int32
func (SparseMemoryBindFlags) Register ¶
func (f SparseMemoryBindFlags) Register(str string)
func (SparseMemoryBindFlags) String ¶
func (f SparseMemoryBindFlags) String() string
type StencilFaces ¶
type StencilFaces int32
func (StencilFaces) Register ¶
func (f StencilFaces) Register(str string)
func (StencilFaces) String ¶
func (f StencilFaces) String() string
type SubPassDescriptionFlags ¶
type SubPassDescriptionFlags int32
func (SubPassDescriptionFlags) Register ¶
func (f SubPassDescriptionFlags) Register(str string)
func (SubPassDescriptionFlags) String ¶
func (f SubPassDescriptionFlags) String() string
type SubpassContents ¶
type SubpassContents int32
func (SubpassContents) Register ¶
func (e SubpassContents) Register(str string)
func (SubpassContents) String ¶
func (e SubpassContents) String() string
type SubresourceLayout ¶
type SystemAllocationScope ¶
type SystemAllocationScope int32
const ( SystemAllocationScopeCommand SystemAllocationScope = C.VK_SYSTEM_ALLOCATION_SCOPE_COMMAND SystemAllocationScopeObject SystemAllocationScope = C.VK_SYSTEM_ALLOCATION_SCOPE_OBJECT SystemAllocationScopeCache SystemAllocationScope = C.VK_SYSTEM_ALLOCATION_SCOPE_CACHE SystemAllocationScopeDevice SystemAllocationScope = C.VK_SYSTEM_ALLOCATION_SCOPE_DEVICE SystemAllocationScopeInstance SystemAllocationScope = C.VK_SYSTEM_ALLOCATION_SCOPE_INSTANCE )
func (SystemAllocationScope) Register ¶
func (e SystemAllocationScope) Register(str string)
func (SystemAllocationScope) String ¶
func (e SystemAllocationScope) String() string
type VkResultError ¶
type VkResultError struct {
// contains filtered or unexported fields
}
func (*VkResultError) Error ¶
func (err *VkResultError) Error() string
Source Files ¶
- allocation.go
- api_version.go
- attachment_reference.go
- byteorder_amd64.go
- clear_values.go
- color_components.go
- device_memory.go
- enum.go
- extension_properties.go
- extent.go
- flags.go
- image_subresource.go
- layer_properties.go
- object_type.go
- offset.go
- options.go
- pipeline_cache_header_version.go
- timeout.go
- version.go
- viewport.go
- vk_result.go
Click to show internal directories.
Click to hide internal directories.