vulkan-api-1.3.0.0: Low-level low-overhead vulkan api bindings

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Ext.VK_KHR_display_swapchain

Contents

Synopsis

Documentation

newtype VkBool32 Source #

Constructors

VkBool32 Word32 
Instances
Bounded VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkBool32 Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkDeviceSize Source #

Constructors

VkDeviceSize Word64 
Instances
Bounded VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkDeviceSize Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkFlags Source #

Constructors

VkFlags Word32 
Instances
Bounded VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Methods

(==) :: VkFlags -> VkFlags -> Bool #

(/=) :: VkFlags -> VkFlags -> Bool #

Integral VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkFlags Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

newtype VkSampleMask Source #

Constructors

VkSampleMask Word32 
Instances
Bounded VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Enum VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Eq VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Integral VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Num VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Ord VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Read VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Real VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Show VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Storable VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

Bits VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

FiniteBits VkSampleMask Source # 
Instance details

Defined in Graphics.Vulkan.Types.BaseTypes

type VkDisplayPresentInfoKHR = VkStruct VkDisplayPresentInfoKHR' Source #

typedef struct VkDisplayPresentInfoKHR {
    VkStructureType sType;
    const void*                      pNext;
    VkRect2D                         srcRect;
    VkRect2D                         dstRect;
    VkBool32                         persistent;
} VkDisplayPresentInfoKHR;

VkDisplayPresentInfoKHR registry at www.khronos.org

type VkExtent2D = VkStruct VkExtent2D' Source #

typedef struct VkExtent2D {
    uint32_t        width;
    uint32_t        height;
} VkExtent2D;

VkExtent2D registry at www.khronos.org

type VkOffset2D = VkStruct VkOffset2D' Source #

typedef struct VkOffset2D {
    int32_t        x;
    int32_t        y;
} VkOffset2D;

VkOffset2D registry at www.khronos.org

type VkPresentInfoKHR = VkStruct VkPresentInfoKHR' Source #

typedef struct VkPresentInfoKHR {
    VkStructureType sType;
    const void*  pNext;
    uint32_t         waitSemaphoreCount;
    const VkSemaphore* pWaitSemaphores;
    uint32_t                         swapchainCount;
    const VkSwapchainKHR* pSwapchains;
    const uint32_t* pImageIndices;
    VkResult* pResults;
} VkPresentInfoKHR;

VkPresentInfoKHR registry at www.khronos.org

type VkRect2D = VkStruct VkRect2D' Source #

typedef struct VkRect2D {
    VkOffset2D     offset;
    VkExtent2D     extent;
} VkRect2D;

VkRect2D registry at www.khronos.org

newtype VkResult Source #

API result codes

type = enum

VkResult registry at www.khronos.org

Constructors

VkResult Int32 

Bundled Patterns

pattern VK_SUCCESS :: VkResult

Command completed successfully

pattern VK_NOT_READY :: VkResult

A fence or query has not yet completed

pattern VK_TIMEOUT :: VkResult

A wait operation has not completed in the specified time

pattern VK_EVENT_SET :: VkResult

An event is signaled

pattern VK_EVENT_RESET :: VkResult

An event is unsignaled

pattern VK_INCOMPLETE :: VkResult

A return array was too small for the result

pattern VK_ERROR_OUT_OF_HOST_MEMORY :: VkResult

A host memory allocation has failed

pattern VK_ERROR_OUT_OF_DEVICE_MEMORY :: VkResult

A device memory allocation has failed

pattern VK_ERROR_INITIALIZATION_FAILED :: VkResult

Initialization of a object has failed

pattern VK_ERROR_DEVICE_LOST :: VkResult

The logical device has been lost. See

pattern VK_ERROR_MEMORY_MAP_FAILED :: VkResult

Mapping of a memory object has failed

pattern VK_ERROR_LAYER_NOT_PRESENT :: VkResult

Layer specified does not exist

pattern VK_ERROR_EXTENSION_NOT_PRESENT :: VkResult

Extension specified does not exist

pattern VK_ERROR_FEATURE_NOT_PRESENT :: VkResult

Requested feature is not available on this device

pattern VK_ERROR_INCOMPATIBLE_DRIVER :: VkResult

Unable to find a Vulkan driver

pattern VK_ERROR_TOO_MANY_OBJECTS :: VkResult

Too many objects of the type have already been created

pattern VK_ERROR_FORMAT_NOT_SUPPORTED :: VkResult

Requested format is not supported on this device

pattern VK_ERROR_FRAGMENTED_POOL :: VkResult

A requested pool allocation has failed due to fragmentation of the pool's memory

Instances
Enum VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Eq VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Ord VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Read VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Show VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

Storable VkResult Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Result

newtype VkStructureType Source #

Structure type enumerant

type = enum

VkStructureType registry at www.khronos.org

Constructors

VkStructureType Int32 

Bundled Patterns

pattern VK_STRUCTURE_TYPE_APPLICATION_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_INSTANCE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_DEVICE_QUEUE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_DEVICE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_SUBMIT_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_MEMORY_ALLOCATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_MAPPED_MEMORY_RANGE :: VkStructureType 
pattern VK_STRUCTURE_TYPE_BIND_SPARSE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_FENCE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_SEMAPHORE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_EVENT_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_QUERY_POOL_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_BUFFER_VIEW_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_IMAGE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_IMAGE_VIEW_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_SHADER_MODULE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_CACHE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_SHADER_STAGE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_VERTEX_INPUT_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_INPUT_ASSEMBLY_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_VIEWPORT_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_RASTERIZATION_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_MULTISAMPLE_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_COLOR_BLEND_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_DYNAMIC_STATE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_GRAPHICS_PIPELINE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COMPUTE_PIPELINE_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_PIPELINE_LAYOUT_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_SAMPLER_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_LAYOUT_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_DESCRIPTOR_SET_ALLOCATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COPY_DESCRIPTOR_SET :: VkStructureType 
pattern VK_STRUCTURE_TYPE_FRAMEBUFFER_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_RENDER_PASS_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_ALLOCATE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_INHERITANCE_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_COMMAND_BUFFER_BEGIN_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_RENDER_PASS_BEGIN_INFO :: VkStructureType 
pattern VK_STRUCTURE_TYPE_BUFFER_MEMORY_BARRIER :: VkStructureType 
pattern VK_STRUCTURE_TYPE_IMAGE_MEMORY_BARRIER :: VkStructureType 
pattern VK_STRUCTURE_TYPE_MEMORY_BARRIER :: VkStructureType 
pattern VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO :: VkStructureType

Reserved for internal use by the loader, layers, and ICDs

pattern VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO :: VkStructureType

Reserved for internal use by the loader, layers, and ICDs

Instances
Enum VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

Eq VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

Ord VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

Read VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

Show VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

Storable VkStructureType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.StructureType

type VkCreateSharedSwapchainsKHR = "vkCreateSharedSwapchainsKHR" Source #

type HS_vkCreateSharedSwapchainsKHR Source #

Arguments

 = VkDevice

device

-> Word32

swapchainCount

-> Ptr VkSwapchainCreateInfoKHR

pCreateInfos

-> Ptr VkAllocationCallbacks

pAllocator

-> Ptr VkSwapchainKHR

pSwapchains

-> IO VkResult 

Success codes: VK_SUCCESS.

Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR.

VkResult vkCreateSharedSwapchainsKHR
    ( VkDevice device
    , uint32_t swapchainCount
    , const VkSwapchainCreateInfoKHR* pCreateInfos
    , const VkAllocationCallbacks* pAllocator
    , VkSwapchainKHR* pSwapchains
    )

vkCreateSharedSwapchainsKHR registry at www.khronos.org

vkCreateSharedSwapchainsKHR Source #

Arguments

:: VkDevice

device

-> Word32

swapchainCount

-> Ptr VkSwapchainCreateInfoKHR

pCreateInfos

-> Ptr VkAllocationCallbacks

pAllocator

-> Ptr VkSwapchainKHR

pSwapchains

-> IO VkResult 

Success codes: VK_SUCCESS.

Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR.

VkResult vkCreateSharedSwapchainsKHR
    ( VkDevice device
    , uint32_t swapchainCount
    , const VkSwapchainCreateInfoKHR* pCreateInfos
    , const VkAllocationCallbacks* pAllocator
    , VkSwapchainKHR* pSwapchains
    )

vkCreateSharedSwapchainsKHR registry at www.khronos.org

Note: When useNativeFFI-1-0 cabal flag is enabled, this function is linked statically as a foreign import call to C Vulkan loader. Otherwise, it is looked up dynamically at runtime using dlsym-like machinery (platform-dependent).

Independently of the flag setting, you can lookup the function manually at runtime:

myCreateSharedSwapchainsKHR <- vkGetDeviceProc @VkCreateSharedSwapchainsKHR vkDevice

or less efficient:

myCreateSharedSwapchainsKHR <- vkGetProc @VkCreateSharedSwapchainsKHR

Note: vkCreateSharedSwapchainsKHRUnsafe and vkCreateSharedSwapchainsKHRSafe are the unsafe and safe FFI imports of this function, respectively. vkCreateSharedSwapchainsKHR is an alias of vkCreateSharedSwapchainsKHRUnsafe when the useUnsafeFFIDefault cabal flag is enabled; otherwise, it is an alias of vkCreateSharedSwapchainsKHRSafe.

vkCreateSharedSwapchainsKHRUnsafe Source #

Arguments

:: VkDevice

device

-> Word32

swapchainCount

-> Ptr VkSwapchainCreateInfoKHR

pCreateInfos

-> Ptr VkAllocationCallbacks

pAllocator

-> Ptr VkSwapchainKHR

pSwapchains

-> IO VkResult 

Success codes: VK_SUCCESS.

Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR.

VkResult vkCreateSharedSwapchainsKHR
    ( VkDevice device
    , uint32_t swapchainCount
    , const VkSwapchainCreateInfoKHR* pCreateInfos
    , const VkAllocationCallbacks* pAllocator
    , VkSwapchainKHR* pSwapchains
    )

vkCreateSharedSwapchainsKHR registry at www.khronos.org

Note: When useNativeFFI-1-0 cabal flag is enabled, this function is linked statically as a foreign import call to C Vulkan loader. Otherwise, it is looked up dynamically at runtime using dlsym-like machinery (platform-dependent).

Independently of the flag setting, you can lookup the function manually at runtime:

myCreateSharedSwapchainsKHR <- vkGetDeviceProc @VkCreateSharedSwapchainsKHR vkDevice

or less efficient:

myCreateSharedSwapchainsKHR <- vkGetProc @VkCreateSharedSwapchainsKHR

Note: vkCreateSharedSwapchainsKHRUnsafe and vkCreateSharedSwapchainsKHRSafe are the unsafe and safe FFI imports of this function, respectively. vkCreateSharedSwapchainsKHR is an alias of vkCreateSharedSwapchainsKHRUnsafe when the useUnsafeFFIDefault cabal flag is enabled; otherwise, it is an alias of vkCreateSharedSwapchainsKHRSafe.

vkCreateSharedSwapchainsKHRSafe Source #

Arguments

:: VkDevice

device

-> Word32

swapchainCount

-> Ptr VkSwapchainCreateInfoKHR

pCreateInfos

-> Ptr VkAllocationCallbacks

pAllocator

-> Ptr VkSwapchainKHR

pSwapchains

-> IO VkResult 

Success codes: VK_SUCCESS.

Error codes: VK_ERROR_OUT_OF_HOST_MEMORY, VK_ERROR_OUT_OF_DEVICE_MEMORY, VK_ERROR_INCOMPATIBLE_DISPLAY_KHR, VK_ERROR_DEVICE_LOST, VK_ERROR_SURFACE_LOST_KHR.

VkResult vkCreateSharedSwapchainsKHR
    ( VkDevice device
    , uint32_t swapchainCount
    , const VkSwapchainCreateInfoKHR* pCreateInfos
    , const VkAllocationCallbacks* pAllocator
    , VkSwapchainKHR* pSwapchains
    )

vkCreateSharedSwapchainsKHR registry at www.khronos.org

Note: When useNativeFFI-1-0 cabal flag is enabled, this function is linked statically as a foreign import call to C Vulkan loader. Otherwise, it is looked up dynamically at runtime using dlsym-like machinery (platform-dependent).

Independently of the flag setting, you can lookup the function manually at runtime:

myCreateSharedSwapchainsKHR <- vkGetDeviceProc @VkCreateSharedSwapchainsKHR vkDevice

or less efficient:

myCreateSharedSwapchainsKHR <- vkGetProc @VkCreateSharedSwapchainsKHR

Note: vkCreateSharedSwapchainsKHRUnsafe and vkCreateSharedSwapchainsKHRSafe are the unsafe and safe FFI imports of this function, respectively. vkCreateSharedSwapchainsKHR is an alias of vkCreateSharedSwapchainsKHRUnsafe when the useUnsafeFFIDefault cabal flag is enabled; otherwise, it is an alias of vkCreateSharedSwapchainsKHRSafe.

newtype VkColorComponentBitmask (a :: FlagType) Source #

Instances
Eq (VkColorComponentBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Ord (VkColorComponentBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Read (VkColorComponentBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Show (VkColorComponentBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Storable (VkColorComponentBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Bits (VkColorComponentBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Methods

(.&.) :: VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask #

(.|.) :: VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask #

xor :: VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask #

complement :: VkColorComponentBitmask FlagMask -> VkColorComponentBitmask FlagMask #

shift :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

rotate :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

zeroBits :: VkColorComponentBitmask FlagMask #

bit :: Int -> VkColorComponentBitmask FlagMask #

setBit :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

clearBit :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

complementBit :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

testBit :: VkColorComponentBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkColorComponentBitmask FlagMask -> Maybe Int #

bitSize :: VkColorComponentBitmask FlagMask -> Int #

isSigned :: VkColorComponentBitmask FlagMask -> Bool #

shiftL :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

unsafeShiftL :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

shiftR :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

unsafeShiftR :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

rotateL :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

rotateR :: VkColorComponentBitmask FlagMask -> Int -> VkColorComponentBitmask FlagMask #

popCount :: VkColorComponentBitmask FlagMask -> Int #

FiniteBits (VkColorComponentBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

newtype VkColorSpaceKHR Source #

Constructors

VkColorSpaceKHR Int32 
Instances
Enum VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Eq VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Ord VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Read VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Show VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

Storable VkColorSpaceKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Color

newtype VkCompositeAlphaBitmaskKHR (a :: FlagType) Source #

Instances
Eq (VkCompositeAlphaBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Ord (VkCompositeAlphaBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Read (VkCompositeAlphaBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Show (VkCompositeAlphaBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Storable (VkCompositeAlphaBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Bits (VkCompositeAlphaBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

Methods

(.&.) :: VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask #

(.|.) :: VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask #

xor :: VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask #

complement :: VkCompositeAlphaBitmaskKHR FlagMask -> VkCompositeAlphaBitmaskKHR FlagMask #

shift :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

rotate :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

zeroBits :: VkCompositeAlphaBitmaskKHR FlagMask #

bit :: Int -> VkCompositeAlphaBitmaskKHR FlagMask #

setBit :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

clearBit :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

complementBit :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

testBit :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> Bool #

bitSizeMaybe :: VkCompositeAlphaBitmaskKHR FlagMask -> Maybe Int #

bitSize :: VkCompositeAlphaBitmaskKHR FlagMask -> Int #

isSigned :: VkCompositeAlphaBitmaskKHR FlagMask -> Bool #

shiftL :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

unsafeShiftL :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

shiftR :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

unsafeShiftR :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

rotateL :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

rotateR :: VkCompositeAlphaBitmaskKHR FlagMask -> Int -> VkCompositeAlphaBitmaskKHR FlagMask #

popCount :: VkCompositeAlphaBitmaskKHR FlagMask -> Int #

FiniteBits (VkCompositeAlphaBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.CompositeAlphaFlagsKHR

newtype VkFormat Source #

Vulkan format definitions

type = enum

VkFormat registry at www.khronos.org

Constructors

VkFormat Int32 

Bundled Patterns

pattern VK_FORMAT_UNDEFINED :: VkFormat 
pattern VK_FORMAT_R4G4_UNORM_PACK8 :: VkFormat 
pattern VK_FORMAT_R4G4B4A4_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_B4G4R4A4_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_R5G6B5_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_B5G6R5_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_R5G5B5A1_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_B5G5R5A1_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_A1R5G5B5_UNORM_PACK16 :: VkFormat 
pattern VK_FORMAT_R8_UNORM :: VkFormat 
pattern VK_FORMAT_R8_SNORM :: VkFormat 
pattern VK_FORMAT_R8_USCALED :: VkFormat 
pattern VK_FORMAT_R8_SSCALED :: VkFormat 
pattern VK_FORMAT_R8_UINT :: VkFormat 
pattern VK_FORMAT_R8_SINT :: VkFormat 
pattern VK_FORMAT_R8_SRGB :: VkFormat 
pattern VK_FORMAT_R8G8_UNORM :: VkFormat 
pattern VK_FORMAT_R8G8_SNORM :: VkFormat 
pattern VK_FORMAT_R8G8_USCALED :: VkFormat 
pattern VK_FORMAT_R8G8_SSCALED :: VkFormat 
pattern VK_FORMAT_R8G8_UINT :: VkFormat 
pattern VK_FORMAT_R8G8_SINT :: VkFormat 
pattern VK_FORMAT_R8G8_SRGB :: VkFormat 
pattern VK_FORMAT_R8G8B8_UNORM :: VkFormat 
pattern VK_FORMAT_R8G8B8_SNORM :: VkFormat 
pattern VK_FORMAT_R8G8B8_USCALED :: VkFormat 
pattern VK_FORMAT_R8G8B8_SSCALED :: VkFormat 
pattern VK_FORMAT_R8G8B8_UINT :: VkFormat 
pattern VK_FORMAT_R8G8B8_SINT :: VkFormat 
pattern VK_FORMAT_R8G8B8_SRGB :: VkFormat 
pattern VK_FORMAT_B8G8R8_UNORM :: VkFormat 
pattern VK_FORMAT_B8G8R8_SNORM :: VkFormat 
pattern VK_FORMAT_B8G8R8_USCALED :: VkFormat 
pattern VK_FORMAT_B8G8R8_SSCALED :: VkFormat 
pattern VK_FORMAT_B8G8R8_UINT :: VkFormat 
pattern VK_FORMAT_B8G8R8_SINT :: VkFormat 
pattern VK_FORMAT_B8G8R8_SRGB :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_UNORM :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_SNORM :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_USCALED :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_SSCALED :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_UINT :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_SINT :: VkFormat 
pattern VK_FORMAT_R8G8B8A8_SRGB :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_UNORM :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_SNORM :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_USCALED :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_SSCALED :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_UINT :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_SINT :: VkFormat 
pattern VK_FORMAT_B8G8R8A8_SRGB :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_UNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_SNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_USCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_SSCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_UINT_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_SINT_PACK32 :: VkFormat 
pattern VK_FORMAT_A8B8G8R8_SRGB_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_UNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_SNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_USCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_SSCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_UINT_PACK32 :: VkFormat 
pattern VK_FORMAT_A2R10G10B10_SINT_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_UNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_SNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_USCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_SSCALED_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_UINT_PACK32 :: VkFormat 
pattern VK_FORMAT_A2B10G10R10_SINT_PACK32 :: VkFormat 
pattern VK_FORMAT_R16_UNORM :: VkFormat 
pattern VK_FORMAT_R16_SNORM :: VkFormat 
pattern VK_FORMAT_R16_USCALED :: VkFormat 
pattern VK_FORMAT_R16_SSCALED :: VkFormat 
pattern VK_FORMAT_R16_UINT :: VkFormat 
pattern VK_FORMAT_R16_SINT :: VkFormat 
pattern VK_FORMAT_R16_SFLOAT :: VkFormat 
pattern VK_FORMAT_R16G16_UNORM :: VkFormat 
pattern VK_FORMAT_R16G16_SNORM :: VkFormat 
pattern VK_FORMAT_R16G16_USCALED :: VkFormat 
pattern VK_FORMAT_R16G16_SSCALED :: VkFormat 
pattern VK_FORMAT_R16G16_UINT :: VkFormat 
pattern VK_FORMAT_R16G16_SINT :: VkFormat 
pattern VK_FORMAT_R16G16_SFLOAT :: VkFormat 
pattern VK_FORMAT_R16G16B16_UNORM :: VkFormat 
pattern VK_FORMAT_R16G16B16_SNORM :: VkFormat 
pattern VK_FORMAT_R16G16B16_USCALED :: VkFormat 
pattern VK_FORMAT_R16G16B16_SSCALED :: VkFormat 
pattern VK_FORMAT_R16G16B16_UINT :: VkFormat 
pattern VK_FORMAT_R16G16B16_SINT :: VkFormat 
pattern VK_FORMAT_R16G16B16_SFLOAT :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_UNORM :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_SNORM :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_USCALED :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_SSCALED :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_UINT :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_SINT :: VkFormat 
pattern VK_FORMAT_R16G16B16A16_SFLOAT :: VkFormat 
pattern VK_FORMAT_R32_UINT :: VkFormat 
pattern VK_FORMAT_R32_SINT :: VkFormat 
pattern VK_FORMAT_R32_SFLOAT :: VkFormat 
pattern VK_FORMAT_R32G32_UINT :: VkFormat 
pattern VK_FORMAT_R32G32_SINT :: VkFormat 
pattern VK_FORMAT_R32G32_SFLOAT :: VkFormat 
pattern VK_FORMAT_R32G32B32_UINT :: VkFormat 
pattern VK_FORMAT_R32G32B32_SINT :: VkFormat 
pattern VK_FORMAT_R32G32B32_SFLOAT :: VkFormat 
pattern VK_FORMAT_R32G32B32A32_UINT :: VkFormat 
pattern VK_FORMAT_R32G32B32A32_SINT :: VkFormat 
pattern VK_FORMAT_R32G32B32A32_SFLOAT :: VkFormat 
pattern VK_FORMAT_R64_UINT :: VkFormat 
pattern VK_FORMAT_R64_SINT :: VkFormat 
pattern VK_FORMAT_R64_SFLOAT :: VkFormat 
pattern VK_FORMAT_R64G64_UINT :: VkFormat 
pattern VK_FORMAT_R64G64_SINT :: VkFormat 
pattern VK_FORMAT_R64G64_SFLOAT :: VkFormat 
pattern VK_FORMAT_R64G64B64_UINT :: VkFormat 
pattern VK_FORMAT_R64G64B64_SINT :: VkFormat 
pattern VK_FORMAT_R64G64B64_SFLOAT :: VkFormat 
pattern VK_FORMAT_R64G64B64A64_UINT :: VkFormat 
pattern VK_FORMAT_R64G64B64A64_SINT :: VkFormat 
pattern VK_FORMAT_R64G64B64A64_SFLOAT :: VkFormat 
pattern VK_FORMAT_B10G11R11_UFLOAT_PACK32 :: VkFormat 
pattern VK_FORMAT_E5B9G9R9_UFLOAT_PACK32 :: VkFormat 
pattern VK_FORMAT_D16_UNORM :: VkFormat 
pattern VK_FORMAT_X8_D24_UNORM_PACK32 :: VkFormat 
pattern VK_FORMAT_D32_SFLOAT :: VkFormat 
pattern VK_FORMAT_S8_UINT :: VkFormat 
pattern VK_FORMAT_D16_UNORM_S8_UINT :: VkFormat 
pattern VK_FORMAT_D24_UNORM_S8_UINT :: VkFormat 
pattern VK_FORMAT_D32_SFLOAT_S8_UINT :: VkFormat 
pattern VK_FORMAT_BC1_RGB_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC1_RGB_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_BC1_RGBA_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC1_RGBA_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_BC2_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC2_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_BC3_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC3_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_BC4_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC4_SNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC5_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC5_SNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC6H_UFLOAT_BLOCK :: VkFormat 
pattern VK_FORMAT_BC6H_SFLOAT_BLOCK :: VkFormat 
pattern VK_FORMAT_BC7_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_BC7_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_EAC_R11_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_EAC_R11_SNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_EAC_R11G11_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_EAC_R11G11_SNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_4x4_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_4x4_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_5x4_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_5x4_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_5x5_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_5x5_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_6x5_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_6x5_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_6x6_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_6x6_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x5_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x5_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x6_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x6_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x8_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_8x8_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x5_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x5_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x6_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x6_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x8_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x8_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x10_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_10x10_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_12x10_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_12x10_SRGB_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_12x12_UNORM_BLOCK :: VkFormat 
pattern VK_FORMAT_ASTC_12x12_SRGB_BLOCK :: VkFormat 
Instances
Enum VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Eq VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Ord VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Read VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Show VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Storable VkFormat Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

newtype VkFormatFeatureBitmask (a :: FlagType) Source #

Bundled Patterns

pattern VkFormatFeatureFlagBits :: VkFlags -> VkFormatFeatureBitmask FlagBit 
pattern VkFormatFeatureFlags :: VkFlags -> VkFormatFeatureBitmask FlagMask 
pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT :: VkFormatFeatureBitmask a

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

bitpos = 0

pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_BIT :: VkFormatFeatureBitmask a

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

bitpos = 1

pattern VK_FORMAT_FEATURE_STORAGE_IMAGE_ATOMIC_BIT :: VkFormatFeatureBitmask a

Format supports atomic operations in case it is used for storage images

bitpos = 2

pattern VK_FORMAT_FEATURE_UNIFORM_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a

Format can be used for uniform texel buffers (TBOs)

bitpos = 3

pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_BIT :: VkFormatFeatureBitmask a

Format can be used for storage texel buffers (IBOs)

bitpos = 4

pattern VK_FORMAT_FEATURE_STORAGE_TEXEL_BUFFER_ATOMIC_BIT :: VkFormatFeatureBitmask a

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

bitpos = 5

pattern VK_FORMAT_FEATURE_VERTEX_BUFFER_BIT :: VkFormatFeatureBitmask a

Format can be used for vertex buffers (VBOs)

bitpos = 6

pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BIT :: VkFormatFeatureBitmask a

Format can be used for color attachment images

bitpos = 7

pattern VK_FORMAT_FEATURE_COLOR_ATTACHMENT_BLEND_BIT :: VkFormatFeatureBitmask a

Format supports blending in case it is used for color attachment images

bitpos = 8

pattern VK_FORMAT_FEATURE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkFormatFeatureBitmask a

Format can be used for depth/stencil attachment images

bitpos = 9

pattern VK_FORMAT_FEATURE_BLIT_SRC_BIT :: VkFormatFeatureBitmask a

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

bitpos = 10

pattern VK_FORMAT_FEATURE_BLIT_DST_BIT :: VkFormatFeatureBitmask a

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

bitpos = 11

pattern VK_FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT :: VkFormatFeatureBitmask a

Format can be filtered with VK_FILTER_LINEAR when being sampled

bitpos = 12

Instances
Eq (VkFormatFeatureBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Ord (VkFormatFeatureBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Read (VkFormatFeatureBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Show (VkFormatFeatureBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Storable (VkFormatFeatureBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Bits (VkFormatFeatureBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

Methods

(.&.) :: VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask #

(.|.) :: VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask #

xor :: VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask #

complement :: VkFormatFeatureBitmask FlagMask -> VkFormatFeatureBitmask FlagMask #

shift :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

rotate :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

zeroBits :: VkFormatFeatureBitmask FlagMask #

bit :: Int -> VkFormatFeatureBitmask FlagMask #

setBit :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

clearBit :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

complementBit :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

testBit :: VkFormatFeatureBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkFormatFeatureBitmask FlagMask -> Maybe Int #

bitSize :: VkFormatFeatureBitmask FlagMask -> Int #

isSigned :: VkFormatFeatureBitmask FlagMask -> Bool #

shiftL :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

unsafeShiftL :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

shiftR :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

unsafeShiftR :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

rotateL :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

rotateR :: VkFormatFeatureBitmask FlagMask -> Int -> VkFormatFeatureBitmask FlagMask #

popCount :: VkFormatFeatureBitmask FlagMask -> Int #

FiniteBits (VkFormatFeatureBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Format

newtype VkImageAspectBitmask (a :: FlagType) Source #

Instances
Eq (VkImageAspectBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord (VkImageAspectBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read (VkImageAspectBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show (VkImageAspectBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable (VkImageAspectBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Bits (VkImageAspectBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Methods

(.&.) :: VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask #

(.|.) :: VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask #

xor :: VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask #

complement :: VkImageAspectBitmask FlagMask -> VkImageAspectBitmask FlagMask #

shift :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

rotate :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

zeroBits :: VkImageAspectBitmask FlagMask #

bit :: Int -> VkImageAspectBitmask FlagMask #

setBit :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

clearBit :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

complementBit :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

testBit :: VkImageAspectBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkImageAspectBitmask FlagMask -> Maybe Int #

bitSize :: VkImageAspectBitmask FlagMask -> Int #

isSigned :: VkImageAspectBitmask FlagMask -> Bool #

shiftL :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

unsafeShiftL :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

shiftR :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

unsafeShiftR :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

rotateL :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

rotateR :: VkImageAspectBitmask FlagMask -> Int -> VkImageAspectBitmask FlagMask #

popCount :: VkImageAspectBitmask FlagMask -> Int #

FiniteBits (VkImageAspectBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageCreateBitmask (a :: FlagType) Source #

Bundled Patterns

pattern VkImageCreateFlagBits :: VkFlags -> VkImageCreateBitmask FlagBit 
pattern VkImageCreateFlags :: VkFlags -> VkImageCreateBitmask FlagMask 
pattern VK_IMAGE_CREATE_SPARSE_BINDING_BIT :: VkImageCreateBitmask a

Image should support sparse backing

bitpos = 0

pattern VK_IMAGE_CREATE_SPARSE_RESIDENCY_BIT :: VkImageCreateBitmask a

Image should support sparse backing with partial residency

bitpos = 1

pattern VK_IMAGE_CREATE_SPARSE_ALIASED_BIT :: VkImageCreateBitmask a

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

bitpos = 2

pattern VK_IMAGE_CREATE_MUTABLE_FORMAT_BIT :: VkImageCreateBitmask a

Allows image views to have different format than the base image

bitpos = 3

pattern VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT :: VkImageCreateBitmask a

Allows creating image views with cube type from the created image

bitpos = 4

Instances
Eq (VkImageCreateBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord (VkImageCreateBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read (VkImageCreateBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show (VkImageCreateBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable (VkImageCreateBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Bits (VkImageCreateBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Methods

(.&.) :: VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask #

(.|.) :: VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask #

xor :: VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask #

complement :: VkImageCreateBitmask FlagMask -> VkImageCreateBitmask FlagMask #

shift :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

rotate :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

zeroBits :: VkImageCreateBitmask FlagMask #

bit :: Int -> VkImageCreateBitmask FlagMask #

setBit :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

clearBit :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

complementBit :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

testBit :: VkImageCreateBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkImageCreateBitmask FlagMask -> Maybe Int #

bitSize :: VkImageCreateBitmask FlagMask -> Int #

isSigned :: VkImageCreateBitmask FlagMask -> Bool #

shiftL :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

unsafeShiftL :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

shiftR :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

unsafeShiftR :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

rotateL :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

rotateR :: VkImageCreateBitmask FlagMask -> Int -> VkImageCreateBitmask FlagMask #

popCount :: VkImageCreateBitmask FlagMask -> Int #

FiniteBits (VkImageCreateBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageLayout Source #

Constructors

VkImageLayout Int32 

Bundled Patterns

pattern VK_IMAGE_LAYOUT_UNDEFINED :: VkImageLayout

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

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

pattern VK_IMAGE_LAYOUT_COLOR_ATTACHMENT_OPTIMAL :: VkImageLayout

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

pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL :: VkImageLayout

Optimal layout when image is only used for depthstencil attachment readwrite

pattern VK_IMAGE_LAYOUT_DEPTH_STENCIL_READ_ONLY_OPTIMAL :: VkImageLayout

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

pattern VK_IMAGE_LAYOUT_SHADER_READ_ONLY_OPTIMAL :: VkImageLayout

Optimal layout when image is used for read only shader access

pattern VK_IMAGE_LAYOUT_TRANSFER_SRC_OPTIMAL :: VkImageLayout

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

pattern VK_IMAGE_LAYOUT_TRANSFER_DST_OPTIMAL :: VkImageLayout

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

pattern VK_IMAGE_LAYOUT_PREINITIALIZED :: VkImageLayout

Initial layout used when the data is populated by the CPU

Instances
Enum VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Eq VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable VkImageLayout Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageTiling Source #

Constructors

VkImageTiling Int32 
Instances
Enum VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Eq VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable VkImageTiling Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageType Source #

Constructors

VkImageType Int32 

Bundled Patterns

pattern VK_IMAGE_TYPE_1D :: VkImageType 
pattern VK_IMAGE_TYPE_2D :: VkImageType 
pattern VK_IMAGE_TYPE_3D :: VkImageType 
Instances
Enum VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Eq VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable VkImageType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageUsageBitmask (a :: FlagType) Source #

Bundled Patterns

pattern VkImageUsageFlagBits :: VkFlags -> VkImageUsageBitmask FlagBit 
pattern VkImageUsageFlags :: VkFlags -> VkImageUsageBitmask FlagMask 
pattern VK_IMAGE_USAGE_TRANSFER_SRC_BIT :: VkImageUsageBitmask a

Can be used as a source of transfer operations

bitpos = 0

pattern VK_IMAGE_USAGE_TRANSFER_DST_BIT :: VkImageUsageBitmask a

Can be used as a destination of transfer operations

bitpos = 1

pattern VK_IMAGE_USAGE_SAMPLED_BIT :: VkImageUsageBitmask a

Can be sampled from (SAMPLED_IMAGE and COMBINED_IMAGE_SAMPLER descriptor types)

bitpos = 2

pattern VK_IMAGE_USAGE_STORAGE_BIT :: VkImageUsageBitmask a

Can be used as storage image (STORAGE_IMAGE descriptor type)

bitpos = 3

pattern VK_IMAGE_USAGE_COLOR_ATTACHMENT_BIT :: VkImageUsageBitmask a

Can be used as framebuffer color attachment

bitpos = 4

pattern VK_IMAGE_USAGE_DEPTH_STENCIL_ATTACHMENT_BIT :: VkImageUsageBitmask a

Can be used as framebuffer depth/stencil attachment

bitpos = 5

pattern VK_IMAGE_USAGE_TRANSIENT_ATTACHMENT_BIT :: VkImageUsageBitmask a

Image data not needed outside of rendering

bitpos = 6

pattern VK_IMAGE_USAGE_INPUT_ATTACHMENT_BIT :: VkImageUsageBitmask a

Can be used as framebuffer input attachment

bitpos = 7

Instances
Eq (VkImageUsageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord (VkImageUsageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read (VkImageUsageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show (VkImageUsageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable (VkImageUsageBitmask a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Bits (VkImageUsageBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Methods

(.&.) :: VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask #

(.|.) :: VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask #

xor :: VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask #

complement :: VkImageUsageBitmask FlagMask -> VkImageUsageBitmask FlagMask #

shift :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

rotate :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

zeroBits :: VkImageUsageBitmask FlagMask #

bit :: Int -> VkImageUsageBitmask FlagMask #

setBit :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

clearBit :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

complementBit :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

testBit :: VkImageUsageBitmask FlagMask -> Int -> Bool #

bitSizeMaybe :: VkImageUsageBitmask FlagMask -> Maybe Int #

bitSize :: VkImageUsageBitmask FlagMask -> Int #

isSigned :: VkImageUsageBitmask FlagMask -> Bool #

shiftL :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

unsafeShiftL :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

shiftR :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

unsafeShiftR :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

rotateL :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

rotateR :: VkImageUsageBitmask FlagMask -> Int -> VkImageUsageBitmask FlagMask #

popCount :: VkImageUsageBitmask FlagMask -> Int #

FiniteBits (VkImageUsageBitmask FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkImageViewType Source #

Constructors

VkImageViewType Int32 
Instances
Enum VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Eq VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Ord VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Read VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Show VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

Storable VkImageViewType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Image

newtype VkInternalAllocationType Source #

Instances
Enum VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

Eq VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

Ord VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

Read VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

Show VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

Storable VkInternalAllocationType Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.InternalAllocationType

newtype VkPresentModeKHR Source #

Constructors

VkPresentModeKHR Int32 
Instances
Enum VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

Eq VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

Ord VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

Read VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

Show VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

Storable VkPresentModeKHR Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.PresentModeKHR

newtype VkSharingMode Source #

Constructors

VkSharingMode Int32 
Instances
Enum VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

Eq VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

Ord VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

Read VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

Show VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

Storable VkSharingMode Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SharingMode

newtype VkSurfaceCounterBitmaskEXT (a :: FlagType) Source #

Instances
Eq (VkSurfaceCounterBitmaskEXT a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Ord (VkSurfaceCounterBitmaskEXT a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Read (VkSurfaceCounterBitmaskEXT a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Show (VkSurfaceCounterBitmaskEXT a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Storable (VkSurfaceCounterBitmaskEXT a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Bits (VkSurfaceCounterBitmaskEXT FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Methods

(.&.) :: VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask #

(.|.) :: VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask #

xor :: VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask #

complement :: VkSurfaceCounterBitmaskEXT FlagMask -> VkSurfaceCounterBitmaskEXT FlagMask #

shift :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

rotate :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

zeroBits :: VkSurfaceCounterBitmaskEXT FlagMask #

bit :: Int -> VkSurfaceCounterBitmaskEXT FlagMask #

setBit :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

clearBit :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

complementBit :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

testBit :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> Bool #

bitSizeMaybe :: VkSurfaceCounterBitmaskEXT FlagMask -> Maybe Int #

bitSize :: VkSurfaceCounterBitmaskEXT FlagMask -> Int #

isSigned :: VkSurfaceCounterBitmaskEXT FlagMask -> Bool #

shiftL :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

unsafeShiftL :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

shiftR :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

unsafeShiftR :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

rotateL :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

rotateR :: VkSurfaceCounterBitmaskEXT FlagMask -> Int -> VkSurfaceCounterBitmaskEXT FlagMask #

popCount :: VkSurfaceCounterBitmaskEXT FlagMask -> Int #

FiniteBits (VkSurfaceCounterBitmaskEXT FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

newtype VkSurfaceTransformBitmaskKHR (a :: FlagType) Source #

Instances
Eq (VkSurfaceTransformBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Ord (VkSurfaceTransformBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Read (VkSurfaceTransformBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Show (VkSurfaceTransformBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Storable (VkSurfaceTransformBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Bits (VkSurfaceTransformBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

Methods

(.&.) :: VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask #

(.|.) :: VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask #

xor :: VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask #

complement :: VkSurfaceTransformBitmaskKHR FlagMask -> VkSurfaceTransformBitmaskKHR FlagMask #

shift :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

rotate :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

zeroBits :: VkSurfaceTransformBitmaskKHR FlagMask #

bit :: Int -> VkSurfaceTransformBitmaskKHR FlagMask #

setBit :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

clearBit :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

complementBit :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

testBit :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> Bool #

bitSizeMaybe :: VkSurfaceTransformBitmaskKHR FlagMask -> Maybe Int #

bitSize :: VkSurfaceTransformBitmaskKHR FlagMask -> Int #

isSigned :: VkSurfaceTransformBitmaskKHR FlagMask -> Bool #

shiftL :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

unsafeShiftL :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

shiftR :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

unsafeShiftR :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

rotateL :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

rotateR :: VkSurfaceTransformBitmaskKHR FlagMask -> Int -> VkSurfaceTransformBitmaskKHR FlagMask #

popCount :: VkSurfaceTransformBitmaskKHR FlagMask -> Int #

FiniteBits (VkSurfaceTransformBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.Surface

newtype VkSwapchainCreateBitmaskKHR (a :: FlagType) Source #

Instances
Eq (VkSwapchainCreateBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Ord (VkSwapchainCreateBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Read (VkSwapchainCreateBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Show (VkSwapchainCreateBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Storable (VkSwapchainCreateBitmaskKHR a) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Bits (VkSwapchainCreateBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

Methods

(.&.) :: VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask #

(.|.) :: VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask #

xor :: VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask #

complement :: VkSwapchainCreateBitmaskKHR FlagMask -> VkSwapchainCreateBitmaskKHR FlagMask #

shift :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

rotate :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

zeroBits :: VkSwapchainCreateBitmaskKHR FlagMask #

bit :: Int -> VkSwapchainCreateBitmaskKHR FlagMask #

setBit :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

clearBit :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

complementBit :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

testBit :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> Bool #

bitSizeMaybe :: VkSwapchainCreateBitmaskKHR FlagMask -> Maybe Int #

bitSize :: VkSwapchainCreateBitmaskKHR FlagMask -> Int #

isSigned :: VkSwapchainCreateBitmaskKHR FlagMask -> Bool #

shiftL :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

unsafeShiftL :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

shiftR :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

unsafeShiftR :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

rotateL :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

rotateR :: VkSwapchainCreateBitmaskKHR FlagMask -> Int -> VkSwapchainCreateBitmaskKHR FlagMask #

popCount :: VkSwapchainCreateBitmaskKHR FlagMask -> Int #

FiniteBits (VkSwapchainCreateBitmaskKHR FlagMask) Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SwapchainCreateFlagsKHR

newtype VkSystemAllocationScope Source #

Instances
Enum VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

Eq VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

Ord VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

Read VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

Show VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

Storable VkSystemAllocationScope Source # 
Instance details

Defined in Graphics.Vulkan.Types.Enum.SystemAllocationScope

newVkAllocationFunction :: HS_vkAllocationFunction -> IO PFN_vkAllocationFunction Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkDebugReportCallbackEXT :: HS_vkDebugReportCallbackEXT -> IO PFN_vkDebugReportCallbackEXT Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkDebugUtilsMessengerCallbackEXT :: HS_vkDebugUtilsMessengerCallbackEXT -> IO PFN_vkDebugUtilsMessengerCallbackEXT Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkFreeFunction :: HS_vkFreeFunction -> IO PFN_vkFreeFunction Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkInternalAllocationNotification :: HS_vkInternalAllocationNotification -> IO PFN_vkInternalAllocationNotification Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkInternalFreeNotification :: HS_vkInternalFreeNotification -> IO PFN_vkInternalFreeNotification Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkReallocationFunction :: HS_vkReallocationFunction -> IO PFN_vkReallocationFunction Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

newVkVoidFunction :: HS_vkVoidFunction -> IO PFN_vkVoidFunction Source #

Wrap haskell function into C-callable FunPtr. Note, you need to free resources after using it.

type PFN_vkAllocationFunction = FunPtr HS_vkAllocationFunction Source #

typedef void* (VKAPI_PTR *PFN_vkAllocationFunction)(
    void*                                       pUserData,
    size_t                                      size,
    size_t                                      alignment,
    VkSystemAllocationScope                     allocationScope);

type PFN_vkDebugReportCallbackEXT = FunPtr HS_vkDebugReportCallbackEXT Source #

typedef VkBool32 (VKAPI_PTR *PFN_vkDebugReportCallbackEXT)(
    VkDebugReportFlagsEXT                       flags,
    VkDebugReportObjectTypeEXT                  objectType,
    uint64_t                                    object,
    size_t                                      location,
    int32_t                                     messageCode,
    const char*                                 pLayerPrefix,
    const char*                                 pMessage,
    void*                                       pUserData);

type PFN_vkDebugUtilsMessengerCallbackEXT = FunPtr HS_vkDebugUtilsMessengerCallbackEXT Source #

typedef VkBool32 (VKAPI_PTR *PFN_vkDebugUtilsMessengerCallbackEXT)(
    VkDebugUtilsMessageSeverityFlagBitsEXT           messageSeverity,
    VkDebugUtilsMessageTypeFlagsEXT                  messageType,
    const VkDebugUtilsMessengerCallbackDataEXT*      pCallbackData,
    void*                                            pUserData);

type PFN_vkFreeFunction = FunPtr HS_vkFreeFunction Source #

typedef void (VKAPI_PTR *PFN_vkFreeFunction)(
    void*                                       pUserData,
    void*                                       pMemory);

type PFN_vkInternalAllocationNotification = FunPtr HS_vkInternalAllocationNotification Source #

typedef void (VKAPI_PTR *PFN_vkInternalAllocationNotification)(
    void*                                       pUserData,
    size_t                                      size,
    VkInternalAllocationType                    allocationType,
    VkSystemAllocationScope                     allocationScope);

type PFN_vkInternalFreeNotification = FunPtr HS_vkInternalFreeNotification Source #

typedef void (VKAPI_PTR *PFN_vkInternalFreeNotification)(
    void*                                       pUserData,
    size_t                                      size,
    VkInternalAllocationType                    allocationType,
    VkSystemAllocationScope                     allocationScope);

type PFN_vkReallocationFunction = FunPtr HS_vkReallocationFunction Source #

typedef void* (VKAPI_PTR *PFN_vkReallocationFunction)(
    void*                                       pUserData,
    void*                                       pOriginal,
    size_t                                      size,
    size_t                                      alignment,
    VkSystemAllocationScope                     allocationScope);

type PFN_vkVoidFunction = FunPtr HS_vkVoidFunction Source #

typedef void (VKAPI_PTR *PFN_vkVoidFunction)(void);

data VkBufferView_T Source #

Opaque data type referenced by VkBufferView

data VkBuffer_T Source #

Opaque data type referenced by VkBuffer

data VkCommandBuffer_T Source #

Opaque data type referenced by VkCommandBuffer

data VkCommandPool_T Source #

Opaque data type referenced by VkCommandPool

data VkDebugReportCallbackEXT_T Source #

Opaque data type referenced by VkDebugReportCallbackEXT

data VkDebugUtilsMessengerEXT_T Source #

Opaque data type referenced by VkDebugUtilsMessengerEXT

data VkDescriptorPool_T Source #

Opaque data type referenced by VkDescriptorPool

data VkDescriptorSetLayout_T Source #

Opaque data type referenced by VkDescriptorSetLayout

data VkDescriptorSet_T Source #

Opaque data type referenced by VkDescriptorSet

data VkDescriptorUpdateTemplateKHR_T Source #

Opaque data type referenced by VkDescriptorUpdateTemplateKHR

data VkDescriptorUpdateTemplate_T Source #

Opaque data type referenced by VkDescriptorUpdateTemplate

data VkDeviceMemory_T Source #

Opaque data type referenced by VkDeviceMemory

data VkDevice_T Source #

Opaque data type referenced by VkDevice

data VkDisplayKHR_T Source #

Opaque data type referenced by VkDisplayKHR

data VkDisplayModeKHR_T Source #

Opaque data type referenced by VkDisplayModeKHR

data VkEvent_T Source #

Opaque data type referenced by VkEvent

data VkFence_T Source #

Opaque data type referenced by VkFence

data VkFramebuffer_T Source #

Opaque data type referenced by VkFramebuffer

data VkImageView_T Source #

Opaque data type referenced by VkImageView

data VkImage_T Source #

Opaque data type referenced by VkImage

data VkIndirectCommandsLayoutNVX_T Source #

Opaque data type referenced by VkIndirectCommandsLayoutNVX

data VkInstance_T Source #

Opaque data type referenced by VkInstance

data VkObjectTableNVX_T Source #

Opaque data type referenced by VkObjectTableNVX

data VkPhysicalDevice_T Source #

Opaque data type referenced by VkPhysicalDevice

data VkPipelineCache_T Source #

Opaque data type referenced by VkPipelineCache

data VkPipelineLayout_T Source #

Opaque data type referenced by VkPipelineLayout

data VkPipeline_T Source #

Opaque data type referenced by VkPipeline

data VkQueryPool_T Source #

Opaque data type referenced by VkQueryPool

data VkQueue_T Source #

Opaque data type referenced by VkQueue

data VkRenderPass_T Source #

Opaque data type referenced by VkRenderPass

data VkSamplerYcbcrConversionKHR_T Source #

Opaque data type referenced by VkSamplerYcbcrConversionKHR

data VkSamplerYcbcrConversion_T Source #

Opaque data type referenced by VkSamplerYcbcrConversion

data VkSampler_T Source #

Opaque data type referenced by VkSampler

data VkSemaphore_T Source #

Opaque data type referenced by VkSemaphore

data VkShaderModule_T Source #

Opaque data type referenced by VkShaderModule

data VkSurfaceKHR_T Source #

Opaque data type referenced by VkSurfaceKHR

data VkSwapchainKHR_T Source #

Opaque data type referenced by VkSwapchainKHR

data VkValidationCacheEXT_T Source #

Opaque data type referenced by VkValidationCacheEXT

type VkAllocationCallbacks = VkStruct VkAllocationCallbacks' Source #

typedef struct VkAllocationCallbacks {
    void*           pUserData;
    PFN_vkAllocationFunction   pfnAllocation;
    PFN_vkReallocationFunction pfnReallocation;
    PFN_vkFreeFunction    pfnFree;
    PFN_vkInternalAllocationNotification pfnInternalAllocation;
    PFN_vkInternalFreeNotification pfnInternalFree;
} VkAllocationCallbacks;

VkAllocationCallbacks registry at www.khronos.org

type VkExtent3D = VkStruct VkExtent3D' Source #

typedef struct VkExtent3D {
    uint32_t        width;
    uint32_t        height;
    uint32_t        depth;
} VkExtent3D;

VkExtent3D registry at www.khronos.org

type VkSwapchainCounterCreateInfoEXT = VkStruct VkSwapchainCounterCreateInfoEXT' Source #

typedef struct VkSwapchainCounterCreateInfoEXT {
    VkStructureType sType;
    const void*                      pNext;
    VkSurfaceCounterFlagsEXT         surfaceCounters;
} VkSwapchainCounterCreateInfoEXT;

VkSwapchainCounterCreateInfoEXT registry at www.khronos.org

type VkSwapchainCreateInfoKHR = VkStruct VkSwapchainCreateInfoKHR' Source #

typedef struct VkSwapchainCreateInfoKHR {
    VkStructureType sType;
    const void*                      pNext;
    VkSwapchainCreateFlagsKHR        flags;
    VkSurfaceKHR                     surface;
    uint32_t                         minImageCount;
    VkFormat                         imageFormat;
    VkColorSpaceKHR                  imageColorSpace;
    VkExtent2D                       imageExtent;
    uint32_t                         imageArrayLayers;
    VkImageUsageFlags                imageUsage;
    VkSharingMode                    imageSharingMode;
    uint32_t         queueFamilyIndexCount;
    const uint32_t*                  pQueueFamilyIndices;
    VkSurfaceTransformFlagBitsKHR    preTransform;
    VkCompositeAlphaFlagBitsKHR      compositeAlpha;
    VkPresentModeKHR                 presentMode;
    VkBool32                         clipped;
    VkSwapchainKHR   oldSwapchain;
} VkSwapchainCreateInfoKHR;

VkSwapchainCreateInfoKHR registry at www.khronos.org

type VK_KHR_DISPLAY_SWAPCHAIN_EXTENSION_NAME = "VK_KHR_display_swapchain" Source #

Orphan instances

VulkanProc "vkCreateSharedSwapchainsKHR" Source # 
Instance details

Associated Types

type VkProcType "vkCreateSharedSwapchainsKHR" :: Type Source #

Methods

vkProcSymbol :: CString Source #

unwrapVkProcPtrUnsafe :: FunPtr (VkProcType "vkCreateSharedSwapchainsKHR") -> VkProcType "vkCreateSharedSwapchainsKHR" Source #

unwrapVkProcPtrSafe :: FunPtr (VkProcType "vkCreateSharedSwapchainsKHR") -> VkProcType "vkCreateSharedSwapchainsKHR" Source #