vulkan-0.1.0.0: Bindings to the Vulkan graphics API.

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan

Contents

Synopsis

Constants

pattern VK_MAX_PHYSICAL_DEVICE_NAME_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern VK_UUID_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern VK_MAX_EXTENSION_NAME_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern VK_MAX_DESCRIPTION_SIZE :: forall a. (Num a, Eq a) => a Source #

pattern VK_MAX_MEMORY_TYPES :: forall a. (Num a, Eq a) => a Source #

pattern VK_MAX_MEMORY_HEAPS :: forall a. (Num a, Eq a) => a Source #

pattern VK_LOD_CLAMP_NONE :: forall a. (Fractional a, Eq a) => a Source #

pattern VK_TRUE :: forall a. (Num a, Eq a) => a Source #

type VK_TRUE = 1 Source #

pattern VK_FALSE :: forall a. (Num a, Eq a) => a Source #

type VK_FALSE = 0 Source #

Base Types

Handle Types

FuncPointer Types

Flags

VkFramebufferCreateFlags

VkQueryPoolCreateFlags

VkRenderPassCreateFlags

VkSamplerCreateFlags

VkPipelineLayoutCreateFlags

VkPipelineCacheCreateFlags

VkPipelineDepthStencilStateCreateFlags

VkPipelineDynamicStateCreateFlags

VkPipelineColorBlendStateCreateFlags

VkPipelineMultisampleStateCreateFlags

VkPipelineRasterizationStateCreateFlags

VkPipelineViewportStateCreateFlags

VkPipelineTessellationStateCreateFlags

VkPipelineInputAssemblyStateCreateFlags

VkPipelineVertexInputStateCreateFlags

VkPipelineShaderStageCreateFlags

VkDescriptorSetLayoutCreateFlags

VkBufferViewCreateFlags

VkInstanceCreateFlags

VkDeviceCreateFlags

VkDeviceQueueCreateFlags

VkQueueFlags

newtype VkQueueFlagBits Source #

Constructors

VkQueueFlagBits VkFlags 

Instances

Eq VkQueueFlagBits Source # 
Storable VkQueueFlagBits Source # 
Bits VkQueueFlagBits Source # 
FiniteBits VkQueueFlagBits Source # 

type VkQueueFlags = VkQueueFlagBits Source #

Alias for VkQueueFlagBits

pattern VK_QUEUE_GRAPHICS_BIT :: VkQueueFlagBits Source #

Queue supports graphics operations

pattern VK_QUEUE_COMPUTE_BIT :: VkQueueFlagBits Source #

Queue supports compute operations

pattern VK_QUEUE_TRANSFER_BIT :: VkQueueFlagBits Source #

Queue supports transfer operations

pattern VK_QUEUE_SPARSE_BINDING_BIT :: VkQueueFlagBits Source #

Queue supports sparse resource memory management operations

VkMemoryPropertyFlags

newtype VkMemoryPropertyFlagBits Source #

Instances

Eq VkMemoryPropertyFlagBits Source # 
Storable VkMemoryPropertyFlagBits Source # 
Bits VkMemoryPropertyFlagBits Source # 
FiniteBits VkMemoryPropertyFlagBits Source # 

type VkMemoryPropertyFlags = VkMemoryPropertyFlagBits Source #

Alias for VkMemoryPropertyFlagBits

pattern VK_MEMORY_PROPERTY_DEVICE_LOCAL_BIT :: VkMemoryPropertyFlagBits Source #

If otherwise stated, then allocate memory on device

pattern VK_MEMORY_PROPERTY_HOST_COHERENT_BIT :: VkMemoryPropertyFlagBits Source #

Memory will have io coherency. If not set, application may need to use vkFlushMappedMemoryRanges and vkInvalidateMappedMemoryRanges to flushinvalidate host cache

pattern VK_MEMORY_PROPERTY_HOST_CACHED_BIT :: VkMemoryPropertyFlagBits Source #

Memory will be cached by the host

pattern VK_MEMORY_PROPERTY_LAZILY_ALLOCATED_BIT :: VkMemoryPropertyFlagBits Source #

Memory may be allocated by the driver when it is required

VkMemoryHeapFlags

newtype VkMemoryHeapFlagBits Source #

Instances

Eq VkMemoryHeapFlagBits Source # 
Storable VkMemoryHeapFlagBits Source # 
Bits VkMemoryHeapFlagBits Source # 
FiniteBits VkMemoryHeapFlagBits Source # 

type VkMemoryHeapFlags = VkMemoryHeapFlagBits Source #

Alias for VkMemoryHeapFlagBits

pattern VK_MEMORY_HEAP_DEVICE_LOCAL_BIT :: VkMemoryHeapFlagBits Source #

If set, heap represents device memory

VkAccessFlags

newtype VkAccessFlagBits Source #

Instances

Eq VkAccessFlagBits Source # 
Storable VkAccessFlagBits Source # 
Bits VkAccessFlagBits Source # 
FiniteBits VkAccessFlagBits Source # 

type VkAccessFlags = VkAccessFlagBits Source #

Alias for VkAccessFlagBits

pattern VK_ACCESS_INDIRECT_COMMAND_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of indirect command reads

pattern VK_ACCESS_INDEX_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of index reads

pattern VK_ACCESS_VERTEX_ATTRIBUTE_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of vertex attribute reads

pattern VK_ACCESS_UNIFORM_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of uniform buffer reads

pattern VK_ACCESS_INPUT_ATTACHMENT_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of input attachment reads

pattern VK_ACCESS_SHADER_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of shader reads

pattern VK_ACCESS_SHADER_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of shader writes

pattern VK_ACCESS_COLOR_ATTACHMENT_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of color attachment reads

pattern VK_ACCESS_COLOR_ATTACHMENT_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of color attachment writes

pattern VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of depth/stencil attachment reads

pattern VK_ACCESS_DEPTH_STENCIL_ATTACHMENT_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of depth/stencil attachment writes

pattern VK_ACCESS_TRANSFER_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of transfer reads

pattern VK_ACCESS_TRANSFER_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of transfer writes

pattern VK_ACCESS_HOST_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of host reads

pattern VK_ACCESS_HOST_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of host writes

pattern VK_ACCESS_MEMORY_READ_BIT :: VkAccessFlagBits Source #

Controls coherency of memory reads

pattern VK_ACCESS_MEMORY_WRITE_BIT :: VkAccessFlagBits Source #

Controls coherency of memory writes

VkBufferUsageFlags

newtype VkBufferUsageFlagBits Source #

Instances

Eq VkBufferUsageFlagBits Source # 
Storable VkBufferUsageFlagBits Source # 
Bits VkBufferUsageFlagBits Source # 
FiniteBits VkBufferUsageFlagBits Source # 

type VkBufferUsageFlags = VkBufferUsageFlagBits Source #

Alias for VkBufferUsageFlagBits

pattern VK_BUFFER_USAGE_TRANSFER_SRC_BIT :: VkBufferUsageFlagBits Source #

Can be used as a source of transfer operations

pattern VK_BUFFER_USAGE_TRANSFER_DST_BIT :: VkBufferUsageFlagBits Source #

Can be used as a destination of transfer operations

pattern VK_BUFFER_USAGE_INDEX_BUFFER_BIT :: VkBufferUsageFlagBits Source #

Can be used as source of fixed-function index fetch (index buffer)

pattern VK_BUFFER_USAGE_VERTEX_BUFFER_BIT :: VkBufferUsageFlagBits Source #

Can be used as source of fixed-function vertex fetch (VBO)

pattern VK_BUFFER_USAGE_INDIRECT_BUFFER_BIT :: VkBufferUsageFlagBits Source #

Can be the source of indirect parameters (e.g. indirect buffer, parameter buffer)

VkBufferCreateFlags

newtype VkBufferCreateFlagBits Source #

Instances

Eq VkBufferCreateFlagBits Source # 
Storable VkBufferCreateFlagBits Source # 
Bits VkBufferCreateFlagBits Source # 
FiniteBits VkBufferCreateFlagBits Source # 

type VkBufferCreateFlags = VkBufferCreateFlagBits Source #

Alias for VkBufferCreateFlagBits

pattern VK_BUFFER_CREATE_SPARSE_BINDING_BIT :: VkBufferCreateFlagBits Source #

Buffer should support sparse backing

pattern VK_BUFFER_CREATE_SPARSE_RESIDENCY_BIT :: VkBufferCreateFlagBits Source #

Buffer should support sparse backing with partial residency

pattern VK_BUFFER_CREATE_SPARSE_ALIASED_BIT :: VkBufferCreateFlagBits Source #

Buffer should support constent data access to physical memory blocks mapped into multiple locations of sparse buffers

VkShaderStageFlags

newtype VkShaderStageFlagBits Source #

Instances

Eq VkShaderStageFlagBits Source # 
Storable VkShaderStageFlagBits Source # 
Bits VkShaderStageFlagBits Source # 
FiniteBits VkShaderStageFlagBits Source # 

type VkShaderStageFlags = VkShaderStageFlagBits Source #

Alias for VkShaderStageFlagBits

VkImageUsageFlags

newtype VkImageUsageFlagBits Source #

Instances

Eq VkImageUsageFlagBits Source # 
Storable VkImageUsageFlagBits Source # 
Bits VkImageUsageFlagBits Source # 
FiniteBits VkImageUsageFlagBits Source # 

type VkImageUsageFlags = VkImageUsageFlagBits Source #

Alias for VkImageUsageFlagBits

pattern VK_IMAGE_USAGE_TRANSFER_SRC_BIT :: VkImageUsageFlagBits Source #

Can be used as a source of transfer operations

pattern VK_IMAGE_USAGE_TRANSFER_DST_BIT :: VkImageUsageFlagBits Source #

Can be used as a destination of transfer operations

pattern VK_IMAGE_USAGE_SAMPLED_BIT :: VkImageUsageFlagBits Source #

Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)

pattern VK_IMAGE_USAGE_STORAGE_BIT :: VkImageUsageFlagBits Source #

Can be used as storage image (STORAGE_IMAGE descriptor type)

pattern VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: VkImageUsageFlagBits Source #

Can be used as framebuffer color attachment

pattern VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkImageUsageFlagBits Source #

Can be used as framebuffer depth/stencil attachment

pattern VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: VkImageUsageFlagBits Source #

Image data not needed outside of rendering

pattern VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: VkImageUsageFlagBits Source #

Can be used as framebuffer input attachment

VkImageCreateFlags

newtype VkImageCreateFlagBits Source #

Instances

Eq VkImageCreateFlagBits Source # 
Storable VkImageCreateFlagBits Source # 
Bits VkImageCreateFlagBits Source # 
FiniteBits VkImageCreateFlagBits Source # 

type VkImageCreateFlags = VkImageCreateFlagBits Source #

Alias for VkImageCreateFlagBits

pattern VK_IMAGE_CREATE_SPARSE_BINDING_BIT :: VkImageCreateFlagBits Source #

Image should support sparse backing

pattern VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT :: VkImageCreateFlagBits Source #

Image should support sparse backing with partial residency

pattern VK_IMAGE_CREATE_SPARSE_ALIASED_BIT :: VkImageCreateFlagBits Source #

Image should support constent data access to physical memory blocks mapped into multiple locations of sparse images

pattern VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT :: VkImageCreateFlagBits Source #

Allows image views to have different format than the base image

pattern VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT :: VkImageCreateFlagBits Source #

Allows creating image views with cube type from the created image

VkImageViewCreateFlags

VkPipelineCreateFlags

newtype VkPipelineCreateFlagBits Source #

Instances

Eq VkPipelineCreateFlagBits Source # 
Storable VkPipelineCreateFlagBits Source # 
Bits VkPipelineCreateFlagBits Source # 
FiniteBits VkPipelineCreateFlagBits Source # 

type VkPipelineCreateFlags = VkPipelineCreateFlagBits Source #

Alias for VkPipelineCreateFlagBits

VkColorComponentFlags

newtype VkColorComponentFlagBits Source #

Instances

Eq VkColorComponentFlagBits Source # 
Storable VkColorComponentFlagBits Source # 
Bits VkColorComponentFlagBits Source # 
FiniteBits VkColorComponentFlagBits Source # 

type VkColorComponentFlags = VkColorComponentFlagBits Source #

Alias for VkColorComponentFlagBits

VkFenceCreateFlags

newtype VkFenceCreateFlagBits Source #

Instances

Eq VkFenceCreateFlagBits Source # 
Storable VkFenceCreateFlagBits Source # 
Bits VkFenceCreateFlagBits Source # 
FiniteBits VkFenceCreateFlagBits Source # 

type VkFenceCreateFlags = VkFenceCreateFlagBits Source #

Alias for VkFenceCreateFlagBits

VkSemaphoreCreateFlags

VkFormatFeatureFlags

newtype VkFormatFeatureFlagBits Source #

Instances

Eq VkFormatFeatureFlagBits Source # 
Storable VkFormatFeatureFlagBits Source # 
Bits VkFormatFeatureFlagBits Source # 
FiniteBits VkFormatFeatureFlagBits Source # 

type VkFormatFeatureFlags = VkFormatFeatureFlagBits Source #

Alias for VkFormatFeatureFlagBits

pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for sampled images (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)

pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for storage images (STORAGE_IMAGE descriptor type)

pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureFlagBits Source #

Format supports atomic operations in case it's used for storage images

pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for uniform texel buffers (TBOs)

pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for storage texel buffers (IBOs)

pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureFlagBits Source #

Format supports atomic operations in case it's used for storage texel buffers

pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for vertex buffers (VBOs)

pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for color attachment images

pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureFlagBits Source #

Format supports blending in case it's used for color attachment images

pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureFlagBits Source #

Format can be used for depth/stencil attachment images

pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureFlagBits Source #

Format can be used as the source image of blits with vkCmdBlitImage

pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureFlagBits Source #

Format can be used as the destination image of blits with vkCmdBlitImage

pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureFlagBits Source #

Format can be filtered with VK_FILTER_LINEAR when being sampled

VkQueryControlFlags

newtype VkQueryControlFlagBits Source #

Instances

Eq VkQueryControlFlagBits Source # 
Storable VkQueryControlFlagBits Source # 
Bits VkQueryControlFlagBits Source # 
FiniteBits VkQueryControlFlagBits Source # 

type VkQueryControlFlags = VkQueryControlFlagBits Source #

Alias for VkQueryControlFlagBits

pattern VK_QUERY_CONTROL_PRECISE_BIT :: VkQueryControlFlagBits Source #

Require precise results to be collected by the query

VkQueryResultFlags

newtype VkQueryResultFlagBits Source #

Instances

Eq VkQueryResultFlagBits Source # 
Storable VkQueryResultFlagBits Source # 
Bits VkQueryResultFlagBits Source # 
FiniteBits VkQueryResultFlagBits Source # 

type VkQueryResultFlags = VkQueryResultFlagBits Source #

Alias for VkQueryResultFlagBits

pattern VK_QUERY_RESULT_64_BIT :: VkQueryResultFlagBits Source #

Results of the queries are written to the destination buffer as 64-bit values

pattern VK_QUERY_RESULT_WAIT_BIT :: VkQueryResultFlagBits Source #

Results of the queries are waited on before proceeding with the result copy

pattern VK_QUERY_RESULT_WITH_AVAILABILITY_BIT :: VkQueryResultFlagBits Source #

Besides the results of the query, the availability of the results is also written

pattern VK_QUERY_RESULT_PARTIAL_BIT :: VkQueryResultFlagBits Source #

Copy the partial results of the query even if the final results aren't available

VkShaderModuleCreateFlags

VkEventCreateFlags

VkCommandPoolCreateFlags

newtype VkCommandPoolCreateFlagBits Source #

Instances

Eq VkCommandPoolCreateFlagBits Source # 
Storable VkCommandPoolCreateFlagBits Source # 
Bits VkCommandPoolCreateFlagBits Source # 

Methods

(.&.) :: VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits #

(.|.) :: VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits #

xor :: VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits #

complement :: VkCommandPoolCreateFlagBits -> VkCommandPoolCreateFlagBits #

shift :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

rotate :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

zeroBits :: VkCommandPoolCreateFlagBits #

bit :: Int -> VkCommandPoolCreateFlagBits #

setBit :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

clearBit :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

complementBit :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

testBit :: VkCommandPoolCreateFlagBits -> Int -> Bool #

bitSizeMaybe :: VkCommandPoolCreateFlagBits -> Maybe Int #

bitSize :: VkCommandPoolCreateFlagBits -> Int #

isSigned :: VkCommandPoolCreateFlagBits -> Bool #

shiftL :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

unsafeShiftL :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

shiftR :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

unsafeShiftR :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

rotateL :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

rotateR :: VkCommandPoolCreateFlagBits -> Int -> VkCommandPoolCreateFlagBits #

popCount :: VkCommandPoolCreateFlagBits -> Int #

FiniteBits VkCommandPoolCreateFlagBits Source # 

type VkCommandPoolCreateFlags = VkCommandPoolCreateFlagBits Source #

Alias for VkCommandPoolCreateFlagBits

pattern VK_COMMAND_POOL_CREATE_TRANSIENT_BIT :: VkCommandPoolCreateFlagBits Source #

Command buffers have a short lifetime

pattern VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT :: VkCommandPoolCreateFlagBits Source #

Command buffers may release their memory individually

VkCommandPoolResetFlags

newtype VkCommandPoolResetFlagBits Source #

Instances

Eq VkCommandPoolResetFlagBits Source # 
Storable VkCommandPoolResetFlagBits Source # 
Bits VkCommandPoolResetFlagBits Source # 

Methods

(.&.) :: VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits #

(.|.) :: VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits #

xor :: VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits #

complement :: VkCommandPoolResetFlagBits -> VkCommandPoolResetFlagBits #

shift :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

rotate :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

zeroBits :: VkCommandPoolResetFlagBits #

bit :: Int -> VkCommandPoolResetFlagBits #

setBit :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

clearBit :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

complementBit :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

testBit :: VkCommandPoolResetFlagBits -> Int -> Bool #

bitSizeMaybe :: VkCommandPoolResetFlagBits -> Maybe Int #

bitSize :: VkCommandPoolResetFlagBits -> Int #

isSigned :: VkCommandPoolResetFlagBits -> Bool #

shiftL :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

unsafeShiftL :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

shiftR :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

unsafeShiftR :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

rotateL :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

rotateR :: VkCommandPoolResetFlagBits -> Int -> VkCommandPoolResetFlagBits #

popCount :: VkCommandPoolResetFlagBits -> Int #

FiniteBits VkCommandPoolResetFlagBits Source # 

type VkCommandPoolResetFlags = VkCommandPoolResetFlagBits Source #

Alias for VkCommandPoolResetFlagBits

VkCommandBufferResetFlags

newtype VkCommandBufferResetFlagBits Source #

Instances

Eq VkCommandBufferResetFlagBits Source # 
Storable VkCommandBufferResetFlagBits Source # 
Bits VkCommandBufferResetFlagBits Source # 

Methods

(.&.) :: VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits #

(.|.) :: VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits #

xor :: VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits #

complement :: VkCommandBufferResetFlagBits -> VkCommandBufferResetFlagBits #

shift :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

rotate :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

zeroBits :: VkCommandBufferResetFlagBits #

bit :: Int -> VkCommandBufferResetFlagBits #

setBit :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

clearBit :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

complementBit :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

testBit :: VkCommandBufferResetFlagBits -> Int -> Bool #

bitSizeMaybe :: VkCommandBufferResetFlagBits -> Maybe Int #

bitSize :: VkCommandBufferResetFlagBits -> Int #

isSigned :: VkCommandBufferResetFlagBits -> Bool #

shiftL :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

unsafeShiftL :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

shiftR :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

unsafeShiftR :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

rotateL :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

rotateR :: VkCommandBufferResetFlagBits -> Int -> VkCommandBufferResetFlagBits #

popCount :: VkCommandBufferResetFlagBits -> Int #

FiniteBits VkCommandBufferResetFlagBits Source # 

type VkCommandBufferResetFlags = VkCommandBufferResetFlagBits Source #

Alias for VkCommandBufferResetFlagBits

VkCommandBufferUsageFlags

newtype VkCommandBufferUsageFlagBits Source #

Instances

Eq VkCommandBufferUsageFlagBits Source # 
Storable VkCommandBufferUsageFlagBits Source # 
Bits VkCommandBufferUsageFlagBits Source # 

Methods

(.&.) :: VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits #

(.|.) :: VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits #

xor :: VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits #

complement :: VkCommandBufferUsageFlagBits -> VkCommandBufferUsageFlagBits #

shift :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

rotate :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

zeroBits :: VkCommandBufferUsageFlagBits #

bit :: Int -> VkCommandBufferUsageFlagBits #

setBit :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

clearBit :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

complementBit :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

testBit :: VkCommandBufferUsageFlagBits -> Int -> Bool #

bitSizeMaybe :: VkCommandBufferUsageFlagBits -> Maybe Int #

bitSize :: VkCommandBufferUsageFlagBits -> Int #

isSigned :: VkCommandBufferUsageFlagBits -> Bool #

shiftL :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

unsafeShiftL :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

shiftR :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

unsafeShiftR :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

rotateL :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

rotateR :: VkCommandBufferUsageFlagBits -> Int -> VkCommandBufferUsageFlagBits #

popCount :: VkCommandBufferUsageFlagBits -> Int #

FiniteBits VkCommandBufferUsageFlagBits Source # 

type VkCommandBufferUsageFlags = VkCommandBufferUsageFlagBits Source #

Alias for VkCommandBufferUsageFlagBits

pattern VK_COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT :: VkCommandBufferUsageFlagBits Source #

Command buffer may be submitted/executed more than once simultaneously

VkQueryPipelineStatisticFlags

newtype VkQueryPipelineStatisticFlagBits Source #

Instances

Eq VkQueryPipelineStatisticFlagBits Source # 
Storable VkQueryPipelineStatisticFlagBits Source # 
Bits VkQueryPipelineStatisticFlagBits Source # 

Methods

(.&.) :: VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits #

(.|.) :: VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits #

xor :: VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits #

complement :: VkQueryPipelineStatisticFlagBits -> VkQueryPipelineStatisticFlagBits #

shift :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

rotate :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

zeroBits :: VkQueryPipelineStatisticFlagBits #

bit :: Int -> VkQueryPipelineStatisticFlagBits #

setBit :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

clearBit :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

complementBit :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

testBit :: VkQueryPipelineStatisticFlagBits -> Int -> Bool #

bitSizeMaybe :: VkQueryPipelineStatisticFlagBits -> Maybe Int #

bitSize :: VkQueryPipelineStatisticFlagBits -> Int #

isSigned :: VkQueryPipelineStatisticFlagBits -> Bool #

shiftL :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

unsafeShiftL :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

shiftR :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

unsafeShiftR :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

rotateL :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

rotateR :: VkQueryPipelineStatisticFlagBits -> Int -> VkQueryPipelineStatisticFlagBits #

popCount :: VkQueryPipelineStatisticFlagBits -> Int #

FiniteBits VkQueryPipelineStatisticFlagBits Source # 

type VkQueryPipelineStatisticFlags = VkQueryPipelineStatisticFlagBits Source #

Alias for VkQueryPipelineStatisticFlagBits

VkMemoryMapFlags

VkImageAspectFlags

newtype VkImageAspectFlagBits Source #

Instances

Eq VkImageAspectFlagBits Source # 
Storable VkImageAspectFlagBits Source # 
Bits VkImageAspectFlagBits Source # 
FiniteBits VkImageAspectFlagBits Source # 

type VkImageAspectFlags = VkImageAspectFlagBits Source #

Alias for VkImageAspectFlagBits

VkSparseMemoryBindFlags

newtype VkSparseMemoryBindFlagBits Source #

Instances

Eq VkSparseMemoryBindFlagBits Source # 
Storable VkSparseMemoryBindFlagBits Source # 
Bits VkSparseMemoryBindFlagBits Source # 

Methods

(.&.) :: VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits #

(.|.) :: VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits #

xor :: VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits #

complement :: VkSparseMemoryBindFlagBits -> VkSparseMemoryBindFlagBits #

shift :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

rotate :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

zeroBits :: VkSparseMemoryBindFlagBits #

bit :: Int -> VkSparseMemoryBindFlagBits #

setBit :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

clearBit :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

complementBit :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

testBit :: VkSparseMemoryBindFlagBits -> Int -> Bool #

bitSizeMaybe :: VkSparseMemoryBindFlagBits -> Maybe Int #

bitSize :: VkSparseMemoryBindFlagBits -> Int #

isSigned :: VkSparseMemoryBindFlagBits -> Bool #

shiftL :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

unsafeShiftL :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

shiftR :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

unsafeShiftR :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

rotateL :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

rotateR :: VkSparseMemoryBindFlagBits -> Int -> VkSparseMemoryBindFlagBits #

popCount :: VkSparseMemoryBindFlagBits -> Int #

FiniteBits VkSparseMemoryBindFlagBits Source # 

type VkSparseMemoryBindFlags = VkSparseMemoryBindFlagBits Source #

Alias for VkSparseMemoryBindFlagBits

pattern VK_SPARSE_MEMORY_BIND_METADATA_BIT :: VkSparseMemoryBindFlagBits Source #

Operation binds resource metadata to memory

VkSparseImageFormatFlags

newtype VkSparseImageFormatFlagBits Source #

Instances

Eq VkSparseImageFormatFlagBits Source # 
Storable VkSparseImageFormatFlagBits Source # 
Bits VkSparseImageFormatFlagBits Source # 

Methods

(.&.) :: VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits #

(.|.) :: VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits #

xor :: VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits #

complement :: VkSparseImageFormatFlagBits -> VkSparseImageFormatFlagBits #

shift :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

rotate :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

zeroBits :: VkSparseImageFormatFlagBits #

bit :: Int -> VkSparseImageFormatFlagBits #

setBit :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

clearBit :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

complementBit :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

testBit :: VkSparseImageFormatFlagBits -> Int -> Bool #

bitSizeMaybe :: VkSparseImageFormatFlagBits -> Maybe Int #

bitSize :: VkSparseImageFormatFlagBits -> Int #

isSigned :: VkSparseImageFormatFlagBits -> Bool #

shiftL :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

unsafeShiftL :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

shiftR :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

unsafeShiftR :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

rotateL :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

rotateR :: VkSparseImageFormatFlagBits -> Int -> VkSparseImageFormatFlagBits #

popCount :: VkSparseImageFormatFlagBits -> Int #

FiniteBits VkSparseImageFormatFlagBits Source # 

type VkSparseImageFormatFlags = VkSparseImageFormatFlagBits Source #

Alias for VkSparseImageFormatFlagBits

pattern VK_SPARSE_IMAGE_FORMAT_SINGLE_MIPTAIL_BIT :: VkSparseImageFormatFlagBits Source #

Image uses a single miptail region for all array layers

pattern VK_SPARSE_IMAGE_FORMAT_ALIGNED_MIP_SIZE_BIT :: VkSparseImageFormatFlagBits Source #

Image requires mip levels to be an exact multiple of the sparse image block size for non-miptail levels.

pattern VK_SPARSE_IMAGE_FORMAT_NONSTANDARD_BLOCK_SIZE_BIT :: VkSparseImageFormatFlagBits Source #

Image uses a non-standard sparse block size

VkSubpassDescriptionFlags

VkPipelineStageFlags

newtype VkPipelineStageFlagBits Source #

Instances

Eq VkPipelineStageFlagBits Source # 
Storable VkPipelineStageFlagBits Source # 
Bits VkPipelineStageFlagBits Source # 
FiniteBits VkPipelineStageFlagBits Source # 

type VkPipelineStageFlags = VkPipelineStageFlagBits Source #

Alias for VkPipelineStageFlagBits

pattern VK_PIPELINE_STAGE_TOP_OF_PIPE_BIT :: VkPipelineStageFlagBits Source #

Before subsequent commands are processed

pattern VK_PIPELINE_STAGE_DRAW_INDIRECT_BIT :: VkPipelineStageFlagBits Source #

Draw/DispatchIndirect command fetch

pattern VK_PIPELINE_STAGE_EARLY_FRAGMENT_TESTS_BIT :: VkPipelineStageFlagBits Source #

Early fragment (depth and stencil) tests

pattern VK_PIPELINE_STAGE_LATE_FRAGMENT_TESTS_BIT :: VkPipelineStageFlagBits Source #

Late fragment (depth and stencil) tests

pattern VK_PIPELINE_STAGE_BOTTOM_OF_PIPE_BIT :: VkPipelineStageFlagBits Source #

After previous commands have completed

pattern VK_PIPELINE_STAGE_HOST_BIT :: VkPipelineStageFlagBits Source #

Indicates host (CPU) is a source/sink of the dependency

pattern VK_PIPELINE_STAGE_ALL_GRAPHICS_BIT :: VkPipelineStageFlagBits Source #

All stages of the graphics pipeline

pattern VK_PIPELINE_STAGE_ALL_COMMANDS_BIT :: VkPipelineStageFlagBits Source #

All stages supported on the queue

VkSampleCountFlags

newtype VkSampleCountFlagBits Source #

Instances

Eq VkSampleCountFlagBits Source # 
Storable VkSampleCountFlagBits Source # 
Bits VkSampleCountFlagBits Source # 
FiniteBits VkSampleCountFlagBits Source # 

type VkSampleCountFlags = VkSampleCountFlagBits Source #

Alias for VkSampleCountFlagBits

pattern VK_SAMPLE_COUNT_1_BIT :: VkSampleCountFlagBits Source #

Sample count 1 supported

pattern VK_SAMPLE_COUNT_2_BIT :: VkSampleCountFlagBits Source #

Sample count 2 supported

pattern VK_SAMPLE_COUNT_4_BIT :: VkSampleCountFlagBits Source #

Sample count 4 supported

pattern VK_SAMPLE_COUNT_8_BIT :: VkSampleCountFlagBits Source #

Sample count 8 supported

pattern VK_SAMPLE_COUNT_16_BIT :: VkSampleCountFlagBits Source #

Sample count 16 supported

pattern VK_SAMPLE_COUNT_32_BIT :: VkSampleCountFlagBits Source #

Sample count 32 supported

pattern VK_SAMPLE_COUNT_64_BIT :: VkSampleCountFlagBits Source #

Sample count 64 supported

VkAttachmentDescriptionFlags

newtype VkAttachmentDescriptionFlagBits Source #

Instances

Eq VkAttachmentDescriptionFlagBits Source # 
Storable VkAttachmentDescriptionFlagBits Source # 
Bits VkAttachmentDescriptionFlagBits Source # 

Methods

(.&.) :: VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits #

(.|.) :: VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits #

xor :: VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits #

complement :: VkAttachmentDescriptionFlagBits -> VkAttachmentDescriptionFlagBits #

shift :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

rotate :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

zeroBits :: VkAttachmentDescriptionFlagBits #

bit :: Int -> VkAttachmentDescriptionFlagBits #

setBit :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

clearBit :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

complementBit :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

testBit :: VkAttachmentDescriptionFlagBits -> Int -> Bool #

bitSizeMaybe :: VkAttachmentDescriptionFlagBits -> Maybe Int #

bitSize :: VkAttachmentDescriptionFlagBits -> Int #

isSigned :: VkAttachmentDescriptionFlagBits -> Bool #

shiftL :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

unsafeShiftL :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

shiftR :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

unsafeShiftR :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

rotateL :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

rotateR :: VkAttachmentDescriptionFlagBits -> Int -> VkAttachmentDescriptionFlagBits #

popCount :: VkAttachmentDescriptionFlagBits -> Int #

FiniteBits VkAttachmentDescriptionFlagBits Source # 

type VkAttachmentDescriptionFlags = VkAttachmentDescriptionFlagBits Source #

Alias for VkAttachmentDescriptionFlagBits

pattern VK_ATTACHMENT_DESCRIPTION_MAY_ALIAS_BIT :: VkAttachmentDescriptionFlagBits Source #

The attachment may alias physical memory of another attachment in the same render pass

VkStencilFaceFlags

newtype VkStencilFaceFlagBits Source #

Instances

Eq VkStencilFaceFlagBits Source # 
Storable VkStencilFaceFlagBits Source # 
Bits VkStencilFaceFlagBits Source # 
FiniteBits VkStencilFaceFlagBits Source # 

type VkStencilFaceFlags = VkStencilFaceFlagBits Source #

Alias for VkStencilFaceFlagBits

VkCullModeFlags

newtype VkCullModeFlagBits Source #

Instances

Eq VkCullModeFlagBits Source # 
Storable VkCullModeFlagBits Source # 
Bits VkCullModeFlagBits Source # 
FiniteBits VkCullModeFlagBits Source # 

type VkCullModeFlags = VkCullModeFlagBits Source #

Alias for VkCullModeFlagBits

VkDescriptorPoolCreateFlags

newtype VkDescriptorPoolCreateFlagBits Source #

Instances

Eq VkDescriptorPoolCreateFlagBits Source # 
Storable VkDescriptorPoolCreateFlagBits Source # 
Bits VkDescriptorPoolCreateFlagBits Source # 

Methods

(.&.) :: VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits #

(.|.) :: VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits #

xor :: VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits #

complement :: VkDescriptorPoolCreateFlagBits -> VkDescriptorPoolCreateFlagBits #

shift :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

rotate :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

zeroBits :: VkDescriptorPoolCreateFlagBits #

bit :: Int -> VkDescriptorPoolCreateFlagBits #

setBit :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

clearBit :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

complementBit :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

testBit :: VkDescriptorPoolCreateFlagBits -> Int -> Bool #

bitSizeMaybe :: VkDescriptorPoolCreateFlagBits -> Maybe Int #

bitSize :: VkDescriptorPoolCreateFlagBits -> Int #

isSigned :: VkDescriptorPoolCreateFlagBits -> Bool #

shiftL :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

unsafeShiftL :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

shiftR :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

unsafeShiftR :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

rotateL :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

rotateR :: VkDescriptorPoolCreateFlagBits -> Int -> VkDescriptorPoolCreateFlagBits #

popCount :: VkDescriptorPoolCreateFlagBits -> Int #

FiniteBits VkDescriptorPoolCreateFlagBits Source # 

type VkDescriptorPoolCreateFlags = VkDescriptorPoolCreateFlagBits Source #

Alias for VkDescriptorPoolCreateFlagBits

VkDescriptorPoolResetFlags

VkDependencyFlags

newtype VkDependencyFlagBits Source #

Instances

Eq VkDependencyFlagBits Source # 
Storable VkDependencyFlagBits Source # 
Bits VkDependencyFlagBits Source # 
FiniteBits VkDependencyFlagBits Source # 

type VkDependencyFlags = VkDependencyFlagBits Source #

Alias for VkDependencyFlagBits

pattern VK_DEPENDENCY_BY_REGION_BIT :: VkDependencyFlagBits Source #

Dependency is per pixel region

VkCompositeAlphaFlagsKHR

newtype VkCompositeAlphaFlagBitsKHR Source #

Instances

Eq VkCompositeAlphaFlagBitsKHR Source # 
Storable VkCompositeAlphaFlagBitsKHR Source # 
Bits VkCompositeAlphaFlagBitsKHR Source # 

Methods

(.&.) :: VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR #

(.|.) :: VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR #

xor :: VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR #

complement :: VkCompositeAlphaFlagBitsKHR -> VkCompositeAlphaFlagBitsKHR #

shift :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

rotate :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

zeroBits :: VkCompositeAlphaFlagBitsKHR #

bit :: Int -> VkCompositeAlphaFlagBitsKHR #

setBit :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

clearBit :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

complementBit :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

testBit :: VkCompositeAlphaFlagBitsKHR -> Int -> Bool #

bitSizeMaybe :: VkCompositeAlphaFlagBitsKHR -> Maybe Int #

bitSize :: VkCompositeAlphaFlagBitsKHR -> Int #

isSigned :: VkCompositeAlphaFlagBitsKHR -> Bool #

shiftL :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

unsafeShiftL :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

shiftR :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

unsafeShiftR :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

rotateL :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

rotateR :: VkCompositeAlphaFlagBitsKHR -> Int -> VkCompositeAlphaFlagBitsKHR #

popCount :: VkCompositeAlphaFlagBitsKHR -> Int #

FiniteBits VkCompositeAlphaFlagBitsKHR Source # 

type VkCompositeAlphaFlagsKHR = VkCompositeAlphaFlagBitsKHR Source #

Alias for VkCompositeAlphaFlagBitsKHR

VkDisplayPlaneAlphaFlagsKHR

newtype VkDisplayPlaneAlphaFlagBitsKHR Source #

Instances

Eq VkDisplayPlaneAlphaFlagBitsKHR Source # 
Storable VkDisplayPlaneAlphaFlagBitsKHR Source # 
Bits VkDisplayPlaneAlphaFlagBitsKHR Source # 

Methods

(.&.) :: VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR #

(.|.) :: VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR #

xor :: VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR #

complement :: VkDisplayPlaneAlphaFlagBitsKHR -> VkDisplayPlaneAlphaFlagBitsKHR #

shift :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

rotate :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

zeroBits :: VkDisplayPlaneAlphaFlagBitsKHR #

bit :: Int -> VkDisplayPlaneAlphaFlagBitsKHR #

setBit :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

clearBit :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

complementBit :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

testBit :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> Bool #

bitSizeMaybe :: VkDisplayPlaneAlphaFlagBitsKHR -> Maybe Int #

bitSize :: VkDisplayPlaneAlphaFlagBitsKHR -> Int #

isSigned :: VkDisplayPlaneAlphaFlagBitsKHR -> Bool #

shiftL :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

unsafeShiftL :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

shiftR :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

unsafeShiftR :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

rotateL :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

rotateR :: VkDisplayPlaneAlphaFlagBitsKHR -> Int -> VkDisplayPlaneAlphaFlagBitsKHR #

popCount :: VkDisplayPlaneAlphaFlagBitsKHR -> Int #

FiniteBits VkDisplayPlaneAlphaFlagBitsKHR Source # 

type VkDisplayPlaneAlphaFlagsKHR = VkDisplayPlaneAlphaFlagBitsKHR Source #

Alias for VkDisplayPlaneAlphaFlagBitsKHR

VkSurfaceTransformFlagsKHR

newtype VkSurfaceTransformFlagBitsKHR Source #

Instances

Eq VkSurfaceTransformFlagBitsKHR Source # 
Storable VkSurfaceTransformFlagBitsKHR Source # 
Bits VkSurfaceTransformFlagBitsKHR Source # 

Methods

(.&.) :: VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR #

(.|.) :: VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR #

xor :: VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR #

complement :: VkSurfaceTransformFlagBitsKHR -> VkSurfaceTransformFlagBitsKHR #

shift :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

rotate :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

zeroBits :: VkSurfaceTransformFlagBitsKHR #

bit :: Int -> VkSurfaceTransformFlagBitsKHR #

setBit :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

clearBit :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

complementBit :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

testBit :: VkSurfaceTransformFlagBitsKHR -> Int -> Bool #

bitSizeMaybe :: VkSurfaceTransformFlagBitsKHR -> Maybe Int #

bitSize :: VkSurfaceTransformFlagBitsKHR -> Int #

isSigned :: VkSurfaceTransformFlagBitsKHR -> Bool #

shiftL :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

unsafeShiftL :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

shiftR :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

unsafeShiftR :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

rotateL :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

rotateR :: VkSurfaceTransformFlagBitsKHR -> Int -> VkSurfaceTransformFlagBitsKHR #

popCount :: VkSurfaceTransformFlagBitsKHR -> Int #

FiniteBits VkSurfaceTransformFlagBitsKHR Source # 

type VkSurfaceTransformFlagsKHR = VkSurfaceTransformFlagBitsKHR Source #

Alias for VkSurfaceTransformFlagBitsKHR

VkSwapchainCreateFlagsKHR

VkDisplayModeCreateFlagsKHR

VkDisplaySurfaceCreateFlagsKHR

VkAndroidSurfaceCreateFlagsKHR

VkMirSurfaceCreateFlagsKHR

VkWaylandSurfaceCreateFlagsKHR

VkWin32SurfaceCreateFlagsKHR

VkXlibSurfaceCreateFlagsKHR

VkXcbSurfaceCreateFlagsKHR

VkDebugReportFlagsEXT

newtype VkDebugReportFlagBitsEXT Source #

Instances

Eq VkDebugReportFlagBitsEXT Source # 
Storable VkDebugReportFlagBitsEXT Source # 
Bits VkDebugReportFlagBitsEXT Source # 
FiniteBits VkDebugReportFlagBitsEXT Source # 

type VkDebugReportFlagsEXT = VkDebugReportFlagBitsEXT Source #

Alias for VkDebugReportFlagBitsEXT

Enumerations

VkImageLayout

pattern VK_IMAGE_LAYOUT_UNDEFINED :: VkImageLayout Source #

Implicit layout an image is when its contents are undefined due to various reasons (e.g. right after creation)

pattern VK_IMAGE_LAYOUT_GENERAL :: VkImageLayout Source #

General layout when image can be used for any kind of access

pattern VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is only used for color attachment read/write

pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is only used for depthstencil attachment readwrite

pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is used for read only depth/stencil attachment and shader access

pattern VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is used for read only shader access

pattern VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is used only as source of transfer operations

pattern VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL :: VkImageLayout Source #

Optimal layout when image is used only as destination of transfer operations

pattern VK_IMAGE_LAYOUT_PREINITIALIZED :: VkImageLayout Source #

Initial layout used when the data is populated by the CPU

VkAttachmentLoadOp

VkAttachmentStoreOp

VkImageType

VkImageTiling

VkImageViewType

VkCommandBufferLevel

VkComponentSwizzle

VkDescriptorType

VkQueryType

VkBorderColor

VkPipelineBindPoint

VkPipelineCacheHeaderVersion

VkPrimitiveTopology

VkSharingMode

VkIndexType

VkFilter

VkSamplerMipmapMode

pattern VK_SAMPLER_MIPMAP_MODE_NEAREST :: VkSamplerMipmapMode Source #

Choose nearest mip level

pattern VK_SAMPLER_MIPMAP_MODE_LINEAR :: VkSamplerMipmapMode Source #

Linear filter between mip levels

VkSamplerAddressMode

VkCompareOp

VkPolygonMode

VkFrontFace

VkBlendFactor

VkBlendOp

VkStencilOp

VkLogicOp

VkInternalAllocationType

VkSystemAllocationScope

VkPhysicalDeviceType

VkVertexInputRate

VkFormat

newtype VkFormat Source #

Vulkan format definitions

Constructors

VkFormat Int32 

VkStructureType

VkSubpassContents

VkResult

newtype VkResult Source #

Error and return codes

Constructors

VkResult Int32 

pattern VK_SUCCESS :: VkResult Source #

Command completed successfully

pattern VK_NOT_READY :: VkResult Source #

A fence or query has not yet completed

pattern VK_TIMEOUT :: VkResult Source #

A wait operation has not completed in the specified time

pattern VK_EVENT_SET :: VkResult Source #

An event is signaled

pattern VK_EVENT_RESET :: VkResult Source #

An event is unsignalled

pattern VK_INCOMPLETE :: VkResult Source #

A return array was too small for the resul

pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult Source #

A host memory allocation has failed

pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult Source #

A device memory allocation has failed

pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult Source #

The logical device has been lost. See

pattern VK_ERROR_DEVICE_LOST :: VkResult Source #

Initialization of a object has failed

pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult Source #

Mapping of a memory object has failed

pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult Source #

Layer specified does not exist

pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult Source #

Extension specified does not exist

pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult Source #

Requested feature is not available on this device

pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult Source #

Unable to find a Vulkan driver

pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult Source #

Too many objects of the type have already been created

pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult Source #

Requested format is not supported on this device

VkDynamicState

VkPresentModeKHR

VkColorSpaceKHR

VkDebugReportObjectTypeEXT

VkDebugReportErrorEXT

Struct Types

data VkPipelineRasterizationStateCreateInfo Source #

data VkGraphicsPipelineCreateInfo Source #

data VkPhysicalDeviceFeatures Source #

Constructors

VkPhysicalDeviceFeatures 

Fields

data VkPhysicalDeviceLimits Source #

Constructors

VkPhysicalDeviceLimits 

Fields

Union Types

data VkClearColorValue Source #

/ Union allowing specification of floating point, integer, or unsigned integer color data. Actual value selected is based on imageattachment being cleared.

Constructors

VkFloat (Vec (ToPeano 4) CFloat) 
VkInt (Vec (ToPeano 4) Int32) 
VkUint (Vec (ToPeano 4) Word32) 

data VkClearValue Source #

// Union allowing specification of color or depth and stencil values. Actual value selected is based on attachment being cleared.

Commands

vkCreateInstance

vkDestroyInstance

vkEnumeratePhysicalDevices

vkGetDeviceProcAddr

vkGetInstanceProcAddr

vkGetPhysicalDeviceProperties

vkGetPhysicalDeviceQueueFamilyProperties

vkGetPhysicalDeviceMemoryProperties

vkGetPhysicalDeviceFeatures

vkGetPhysicalDeviceFormatProperties

vkGetPhysicalDeviceImageFormatProperties

vkCreateDevice

vkDestroyDevice

vkEnumerateInstanceLayerProperties

vkEnumerateInstanceExtensionProperties

vkEnumerateDeviceLayerProperties

vkEnumerateDeviceExtensionProperties

vkGetDeviceQueue

vkQueueSubmit

vkQueueWaitIdle

vkDeviceWaitIdle

vkAllocateMemory

vkFreeMemory

vkMapMemory

vkUnmapMemory

vkFlushMappedMemoryRanges

vkInvalidateMappedMemoryRanges

vkGetDeviceMemoryCommitment

vkGetBufferMemoryRequirements

vkBindBufferMemory

vkGetImageMemoryRequirements

vkBindImageMemory

vkGetImageSparseMemoryRequirements

vkGetPhysicalDeviceSparseImageFormatProperties

vkQueueBindSparse

vkCreateFence

vkDestroyFence

vkResetFences

vkGetFenceStatus

vkWaitForFences

vkCreateSemaphore

vkDestroySemaphore

vkCreateEvent

vkDestroyEvent

vkGetEventStatus

vkSetEvent

vkResetEvent

vkCreateQueryPool

vkDestroyQueryPool

vkGetQueryPoolResults

vkCreateBuffer

vkDestroyBuffer

vkCreateBufferView

vkDestroyBufferView

vkCreateImage

vkDestroyImage

vkGetImageSubresourceLayout

vkCreateImageView

vkDestroyImageView

vkCreateShaderModule

vkDestroyShaderModule

vkCreatePipelineCache

vkDestroyPipelineCache

vkGetPipelineCacheData

vkMergePipelineCaches

vkCreateGraphicsPipelines

vkCreateComputePipelines

vkDestroyPipeline

vkCreatePipelineLayout

vkDestroyPipelineLayout

vkCreateSampler

vkDestroySampler

vkCreateDescriptorSetLayout

vkDestroyDescriptorSetLayout

vkCreateDescriptorPool

vkDestroyDescriptorPool

vkResetDescriptorPool

vkAllocateDescriptorSets

vkFreeDescriptorSets

vkUpdateDescriptorSets

vkCreateFramebuffer

vkDestroyFramebuffer

vkCreateRenderPass

vkDestroyRenderPass

vkGetRenderAreaGranularity

vkCreateCommandPool

vkDestroyCommandPool

vkResetCommandPool

vkAllocateCommandBuffers

vkFreeCommandBuffers

vkBeginCommandBuffer

vkEndCommandBuffer

vkResetCommandBuffer

vkCmdBindPipeline

vkCmdSetViewport

vkCmdSetScissor

vkCmdSetLineWidth

vkCmdSetDepthBias

vkCmdSetBlendConstants

vkCmdSetDepthBounds

vkCmdSetStencilCompareMask

vkCmdSetStencilWriteMask

vkCmdSetStencilReference

vkCmdBindDescriptorSets

vkCmdBindIndexBuffer

vkCmdBindVertexBuffers

vkCmdDraw

vkCmdDrawIndexed

vkCmdDrawIndirect

vkCmdDrawIndexedIndirect

vkCmdDispatch

vkCmdDispatchIndirect

vkCmdCopyBuffer

vkCmdCopyImage

vkCmdBlitImage

vkCmdCopyBufferToImage

vkCmdCopyImageToBuffer

vkCmdUpdateBuffer

vkCmdFillBuffer

vkCmdClearColorImage

vkCmdClearDepthStencilImage

vkCmdClearAttachments

vkCmdResolveImage

vkCmdSetEvent

vkCmdResetEvent

vkCmdWaitEvents

vkCmdPipelineBarrier

vkCmdBeginQuery

vkCmdEndQuery

vkCmdResetQueryPool

vkCmdWriteTimestamp

vkCmdCopyQueryPoolResults

vkCmdPushConstants

vkCmdBeginRenderPass

vkCmdNextSubpass

vkCmdEndRenderPass

vkCmdExecuteCommands

vkGetPhysicalDeviceDisplayPropertiesKHR

vkGetPhysicalDeviceDisplayPlanePropertiesKHR

vkGetDisplayPlaneSupportedDisplaysKHR

vkGetDisplayModePropertiesKHR

vkCreateDisplayModeKHR

vkGetDisplayPlaneCapabilitiesKHR

vkCreateDisplayPlaneSurfaceKHR

vkCreateSharedSwapchainsKHR

vkDestroySurfaceKHR

vkGetPhysicalDeviceSurfaceSupportKHR

vkGetPhysicalDeviceSurfaceCapabilitiesKHR

vkGetPhysicalDeviceSurfaceFormatsKHR

vkGetPhysicalDeviceSurfacePresentModesKHR

vkCreateSwapchainKHR

vkDestroySwapchainKHR

vkGetSwapchainImagesKHR

vkAcquireNextImageKHR

vkQueuePresentKHR

vkGetPhysicalDeviceWin32PresentationSupportKHR

vkCreateDebugReportCallbackEXT

vkDestroyDebugReportCallbackEXT

vkDebugReportMessageEXT