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

Safe HaskellNone
LanguageHaskell2010

Graphics.Vulkan.Ext.VK_KHR_incremental_present

Contents

Synopsis

Vulkan extension: VK_KHR_incremental_present

supported: vulkan

contact: Ian Elliott ianelliottus@

author: KHR

type: device

Extension number: 85

Required extensions: VK_KHR_swapchain.

Required extensions: VK_KHR_swapchain.

data VkExtent2D Source #

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

VkExtent2D registry at www.khronos.org

Instances

Eq VkExtent2D Source # 
Ord VkExtent2D Source # 
Show VkExtent2D Source # 
Storable VkExtent2D Source # 
VulkanMarshalPrim VkExtent2D Source # 
VulkanMarshal VkExtent2D Source # 
CanWriteField "height" VkExtent2D Source # 

Methods

writeField :: Ptr VkExtent2D -> FieldType "height" VkExtent2D -> IO () Source #

CanWriteField "width" VkExtent2D Source # 

Methods

writeField :: Ptr VkExtent2D -> FieldType "width" VkExtent2D -> IO () Source #

CanReadField "height" VkExtent2D Source # 
CanReadField "width" VkExtent2D Source # 
HasField "height" VkExtent2D Source # 

Associated Types

type FieldType ("height" :: Symbol) VkExtent2D :: Type Source #

type FieldOptional ("height" :: Symbol) VkExtent2D :: Bool Source #

type FieldOffset ("height" :: Symbol) VkExtent2D :: Nat Source #

type FieldIsArray ("height" :: Symbol) VkExtent2D :: Bool Source #

HasField "width" VkExtent2D Source # 

Associated Types

type FieldType ("width" :: Symbol) VkExtent2D :: Type Source #

type FieldOptional ("width" :: Symbol) VkExtent2D :: Bool Source #

type FieldOffset ("width" :: Symbol) VkExtent2D :: Nat Source #

type FieldIsArray ("width" :: Symbol) VkExtent2D :: Bool Source #

type StructFields VkExtent2D Source # 
type StructFields VkExtent2D = (:) Symbol "width" ((:) Symbol "height" ([] Symbol))
type CUnionType VkExtent2D Source # 
type ReturnedOnly VkExtent2D Source # 
type StructExtends VkExtent2D Source # 
type FieldType "height" VkExtent2D Source # 
type FieldType "height" VkExtent2D = Word32
type FieldType "width" VkExtent2D Source # 
type FieldType "width" VkExtent2D = Word32
type FieldOptional "height" VkExtent2D Source # 
type FieldOptional "width" VkExtent2D Source # 
type FieldOffset "height" VkExtent2D Source # 
type FieldOffset "height" VkExtent2D = 4
type FieldOffset "width" VkExtent2D Source # 
type FieldOffset "width" VkExtent2D = 0
type FieldIsArray "height" VkExtent2D Source # 
type FieldIsArray "height" VkExtent2D = False
type FieldIsArray "width" VkExtent2D Source # 

data VkExtent3D Source #

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

VkExtent3D registry at www.khronos.org

Instances

Eq VkExtent3D Source # 
Ord VkExtent3D Source # 
Show VkExtent3D Source # 
Storable VkExtent3D Source # 
VulkanMarshalPrim VkExtent3D Source # 
VulkanMarshal VkExtent3D Source # 
CanWriteField "depth" VkExtent3D Source # 

Methods

writeField :: Ptr VkExtent3D -> FieldType "depth" VkExtent3D -> IO () Source #

CanWriteField "height" VkExtent3D Source # 

Methods

writeField :: Ptr VkExtent3D -> FieldType "height" VkExtent3D -> IO () Source #

CanWriteField "width" VkExtent3D Source # 

Methods

writeField :: Ptr VkExtent3D -> FieldType "width" VkExtent3D -> IO () Source #

CanReadField "depth" VkExtent3D Source # 
CanReadField "height" VkExtent3D Source # 
CanReadField "width" VkExtent3D Source # 
HasField "depth" VkExtent3D Source # 

Associated Types

type FieldType ("depth" :: Symbol) VkExtent3D :: Type Source #

type FieldOptional ("depth" :: Symbol) VkExtent3D :: Bool Source #

type FieldOffset ("depth" :: Symbol) VkExtent3D :: Nat Source #

type FieldIsArray ("depth" :: Symbol) VkExtent3D :: Bool Source #

HasField "height" VkExtent3D Source # 

Associated Types

type FieldType ("height" :: Symbol) VkExtent3D :: Type Source #

type FieldOptional ("height" :: Symbol) VkExtent3D :: Bool Source #

type FieldOffset ("height" :: Symbol) VkExtent3D :: Nat Source #

type FieldIsArray ("height" :: Symbol) VkExtent3D :: Bool Source #

HasField "width" VkExtent3D Source # 

Associated Types

type FieldType ("width" :: Symbol) VkExtent3D :: Type Source #

type FieldOptional ("width" :: Symbol) VkExtent3D :: Bool Source #

type FieldOffset ("width" :: Symbol) VkExtent3D :: Nat Source #

type FieldIsArray ("width" :: Symbol) VkExtent3D :: Bool Source #

type StructFields VkExtent3D Source # 
type StructFields VkExtent3D = (:) Symbol "width" ((:) Symbol "height" ((:) Symbol "depth" ([] Symbol)))
type CUnionType VkExtent3D Source # 
type ReturnedOnly VkExtent3D Source # 
type StructExtends VkExtent3D Source # 
type FieldType "depth" VkExtent3D Source # 
type FieldType "depth" VkExtent3D = Word32
type FieldType "height" VkExtent3D Source # 
type FieldType "height" VkExtent3D = Word32
type FieldType "width" VkExtent3D Source # 
type FieldType "width" VkExtent3D = Word32
type FieldOptional "depth" VkExtent3D Source # 
type FieldOptional "height" VkExtent3D Source # 
type FieldOptional "width" VkExtent3D Source # 
type FieldOffset "depth" VkExtent3D Source # 
type FieldOffset "depth" VkExtent3D = 8
type FieldOffset "height" VkExtent3D Source # 
type FieldOffset "height" VkExtent3D = 4
type FieldOffset "width" VkExtent3D Source # 
type FieldOffset "width" VkExtent3D = 0
type FieldIsArray "depth" VkExtent3D Source # 
type FieldIsArray "height" VkExtent3D Source # 
type FieldIsArray "height" VkExtent3D = False
type FieldIsArray "width" VkExtent3D Source # 

data VkOffset2D Source #

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

VkOffset2D registry at www.khronos.org

Instances

Eq VkOffset2D Source # 
Ord VkOffset2D Source # 
Show VkOffset2D Source # 
Storable VkOffset2D Source # 
VulkanMarshalPrim VkOffset2D Source # 
VulkanMarshal VkOffset2D Source # 
CanWriteField "x" VkOffset2D Source # 
CanWriteField "y" VkOffset2D Source # 
CanReadField "x" VkOffset2D Source # 
CanReadField "y" VkOffset2D Source # 
HasField "x" VkOffset2D Source # 
HasField "y" VkOffset2D Source # 
type StructFields VkOffset2D Source # 
type StructFields VkOffset2D = (:) Symbol "x" ((:) Symbol "y" ([] Symbol))
type CUnionType VkOffset2D Source # 
type ReturnedOnly VkOffset2D Source # 
type StructExtends VkOffset2D Source # 
type FieldType "x" VkOffset2D Source # 
type FieldType "y" VkOffset2D Source # 
type FieldOptional "x" VkOffset2D Source # 
type FieldOptional "y" VkOffset2D Source # 
type FieldOffset "x" VkOffset2D Source # 
type FieldOffset "x" VkOffset2D = 0
type FieldOffset "y" VkOffset2D Source # 
type FieldOffset "y" VkOffset2D = 4
type FieldIsArray "x" VkOffset2D Source # 
type FieldIsArray "y" VkOffset2D Source # 

data VkOffset3D Source #

typedef struct VkOffset3D {
    int32_t        x;
    int32_t        y;
    int32_t        z;
} VkOffset3D;

VkOffset3D registry at www.khronos.org

Instances

Eq VkOffset3D Source # 
Ord VkOffset3D Source # 
Show VkOffset3D Source # 
Storable VkOffset3D Source # 
VulkanMarshalPrim VkOffset3D Source # 
VulkanMarshal VkOffset3D Source # 
CanWriteField "x" VkOffset3D Source # 
CanWriteField "y" VkOffset3D Source # 
CanWriteField "z" VkOffset3D Source # 
CanReadField "x" VkOffset3D Source # 
CanReadField "y" VkOffset3D Source # 
CanReadField "z" VkOffset3D Source # 
HasField "x" VkOffset3D Source # 
HasField "y" VkOffset3D Source # 
HasField "z" VkOffset3D Source # 
type StructFields VkOffset3D Source # 
type StructFields VkOffset3D = (:) Symbol "x" ((:) Symbol "y" ((:) Symbol "z" ([] Symbol)))
type CUnionType VkOffset3D Source # 
type ReturnedOnly VkOffset3D Source # 
type StructExtends VkOffset3D Source # 
type FieldType "x" VkOffset3D Source # 
type FieldType "y" VkOffset3D Source # 
type FieldType "z" VkOffset3D Source # 
type FieldOptional "x" VkOffset3D Source # 
type FieldOptional "y" VkOffset3D Source # 
type FieldOptional "z" VkOffset3D Source # 
type FieldOffset "x" VkOffset3D Source # 
type FieldOffset "x" VkOffset3D = 0
type FieldOffset "y" VkOffset3D Source # 
type FieldOffset "y" VkOffset3D = 4
type FieldOffset "z" VkOffset3D Source # 
type FieldOffset "z" VkOffset3D = 8
type FieldIsArray "x" VkOffset3D Source # 
type FieldIsArray "y" VkOffset3D Source # 
type FieldIsArray "z" VkOffset3D Source # 

data 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

Instances

Eq VkPresentInfoKHR Source # 
Ord VkPresentInfoKHR Source # 
Show VkPresentInfoKHR Source # 
Storable VkPresentInfoKHR Source # 
VulkanMarshalPrim VkPresentInfoKHR Source # 
VulkanMarshal VkPresentInfoKHR Source # 
CanWriteField "pImageIndices" VkPresentInfoKHR Source # 

Methods

writeField :: Ptr VkPresentInfoKHR -> FieldType "pImageIndices" VkPresentInfoKHR -> IO () Source #

CanWriteField "pNext" VkPresentInfoKHR Source # 
CanWriteField "pResults" VkPresentInfoKHR Source # 
CanWriteField "pSwapchains" VkPresentInfoKHR Source # 
CanWriteField "pWaitSemaphores" VkPresentInfoKHR Source # 

Methods

writeField :: Ptr VkPresentInfoKHR -> FieldType "pWaitSemaphores" VkPresentInfoKHR -> IO () Source #

CanWriteField "sType" VkPresentInfoKHR Source # 
CanWriteField "swapchainCount" VkPresentInfoKHR Source # 

Methods

writeField :: Ptr VkPresentInfoKHR -> FieldType "swapchainCount" VkPresentInfoKHR -> IO () Source #

CanWriteField "waitSemaphoreCount" VkPresentInfoKHR Source # 

Methods

writeField :: Ptr VkPresentInfoKHR -> FieldType "waitSemaphoreCount" VkPresentInfoKHR -> IO () Source #

CanReadField "pImageIndices" VkPresentInfoKHR Source # 
CanReadField "pNext" VkPresentInfoKHR Source # 
CanReadField "pResults" VkPresentInfoKHR Source # 
CanReadField "pSwapchains" VkPresentInfoKHR Source # 
CanReadField "pWaitSemaphores" VkPresentInfoKHR Source # 
CanReadField "sType" VkPresentInfoKHR Source # 
CanReadField "swapchainCount" VkPresentInfoKHR Source # 
CanReadField "waitSemaphoreCount" VkPresentInfoKHR Source # 
HasField "pImageIndices" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("pImageIndices" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("pImageIndices" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("pImageIndices" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("pImageIndices" :: Symbol) VkPresentInfoKHR :: Bool Source #

HasField "pNext" VkPresentInfoKHR Source # 
HasField "pResults" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("pResults" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("pResults" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("pResults" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("pResults" :: Symbol) VkPresentInfoKHR :: Bool Source #

HasField "pSwapchains" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("pSwapchains" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("pSwapchains" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("pSwapchains" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("pSwapchains" :: Symbol) VkPresentInfoKHR :: Bool Source #

HasField "pWaitSemaphores" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("pWaitSemaphores" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("pWaitSemaphores" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("pWaitSemaphores" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("pWaitSemaphores" :: Symbol) VkPresentInfoKHR :: Bool Source #

HasField "sType" VkPresentInfoKHR Source # 
HasField "swapchainCount" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("swapchainCount" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("swapchainCount" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("swapchainCount" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("swapchainCount" :: Symbol) VkPresentInfoKHR :: Bool Source #

HasField "waitSemaphoreCount" VkPresentInfoKHR Source # 

Associated Types

type FieldType ("waitSemaphoreCount" :: Symbol) VkPresentInfoKHR :: Type Source #

type FieldOptional ("waitSemaphoreCount" :: Symbol) VkPresentInfoKHR :: Bool Source #

type FieldOffset ("waitSemaphoreCount" :: Symbol) VkPresentInfoKHR :: Nat Source #

type FieldIsArray ("waitSemaphoreCount" :: Symbol) VkPresentInfoKHR :: Bool Source #

type StructFields VkPresentInfoKHR Source # 
type StructFields VkPresentInfoKHR = (:) Symbol "sType" ((:) Symbol "pNext" ((:) Symbol "waitSemaphoreCount" ((:) Symbol "pWaitSemaphores" ((:) Symbol "swapchainCount" ((:) Symbol "pSwapchains" ((:) Symbol "pImageIndices" ((:) Symbol "pResults" ([] Symbol))))))))
type CUnionType VkPresentInfoKHR Source # 
type ReturnedOnly VkPresentInfoKHR Source # 
type StructExtends VkPresentInfoKHR Source # 
type FieldType "pImageIndices" VkPresentInfoKHR Source # 
type FieldType "pImageIndices" VkPresentInfoKHR = Ptr Word32
type FieldType "pNext" VkPresentInfoKHR Source # 
type FieldType "pResults" VkPresentInfoKHR Source # 
type FieldType "pSwapchains" VkPresentInfoKHR Source # 
type FieldType "pWaitSemaphores" VkPresentInfoKHR Source # 
type FieldType "pWaitSemaphores" VkPresentInfoKHR = Ptr VkSemaphore
type FieldType "sType" VkPresentInfoKHR Source # 
type FieldType "swapchainCount" VkPresentInfoKHR Source # 
type FieldType "swapchainCount" VkPresentInfoKHR = Word32
type FieldType "waitSemaphoreCount" VkPresentInfoKHR Source # 
type FieldType "waitSemaphoreCount" VkPresentInfoKHR = Word32
type FieldOptional "pImageIndices" VkPresentInfoKHR Source # 
type FieldOptional "pImageIndices" VkPresentInfoKHR = False
type FieldOptional "pNext" VkPresentInfoKHR Source # 
type FieldOptional "pResults" VkPresentInfoKHR Source # 
type FieldOptional "pSwapchains" VkPresentInfoKHR Source # 
type FieldOptional "pSwapchains" VkPresentInfoKHR = False
type FieldOptional "pWaitSemaphores" VkPresentInfoKHR Source # 
type FieldOptional "pWaitSemaphores" VkPresentInfoKHR = False
type FieldOptional "sType" VkPresentInfoKHR Source # 
type FieldOptional "swapchainCount" VkPresentInfoKHR Source # 
type FieldOptional "swapchainCount" VkPresentInfoKHR = False
type FieldOptional "waitSemaphoreCount" VkPresentInfoKHR Source # 
type FieldOptional "waitSemaphoreCount" VkPresentInfoKHR = True
type FieldOffset "pImageIndices" VkPresentInfoKHR Source # 
type FieldOffset "pImageIndices" VkPresentInfoKHR = 48
type FieldOffset "pNext" VkPresentInfoKHR Source # 
type FieldOffset "pNext" VkPresentInfoKHR = 8
type FieldOffset "pResults" VkPresentInfoKHR Source # 
type FieldOffset "pResults" VkPresentInfoKHR = 56
type FieldOffset "pSwapchains" VkPresentInfoKHR Source # 
type FieldOffset "pSwapchains" VkPresentInfoKHR = 40
type FieldOffset "pWaitSemaphores" VkPresentInfoKHR Source # 
type FieldOffset "pWaitSemaphores" VkPresentInfoKHR = 24
type FieldOffset "sType" VkPresentInfoKHR Source # 
type FieldOffset "sType" VkPresentInfoKHR = 0
type FieldOffset "swapchainCount" VkPresentInfoKHR Source # 
type FieldOffset "swapchainCount" VkPresentInfoKHR = 32
type FieldOffset "waitSemaphoreCount" VkPresentInfoKHR Source # 
type FieldOffset "waitSemaphoreCount" VkPresentInfoKHR = 16
type FieldIsArray "pImageIndices" VkPresentInfoKHR Source # 
type FieldIsArray "pImageIndices" VkPresentInfoKHR = False
type FieldIsArray "pNext" VkPresentInfoKHR Source # 
type FieldIsArray "pResults" VkPresentInfoKHR Source # 
type FieldIsArray "pSwapchains" VkPresentInfoKHR Source # 
type FieldIsArray "pSwapchains" VkPresentInfoKHR = False
type FieldIsArray "pWaitSemaphores" VkPresentInfoKHR Source # 
type FieldIsArray "pWaitSemaphores" VkPresentInfoKHR = False
type FieldIsArray "sType" VkPresentInfoKHR Source # 
type FieldIsArray "swapchainCount" VkPresentInfoKHR Source # 
type FieldIsArray "swapchainCount" VkPresentInfoKHR = False
type FieldIsArray "waitSemaphoreCount" VkPresentInfoKHR Source # 
type FieldIsArray "waitSemaphoreCount" VkPresentInfoKHR = False

data VkPresentRegionKHR Source #

typedef struct VkPresentRegionKHR {
    uint32_t         rectangleCount;
    const VkRectLayerKHR*   pRectangles;
} VkPresentRegionKHR;

VkPresentRegionKHR registry at www.khronos.org

Instances

Eq VkPresentRegionKHR Source # 
Ord VkPresentRegionKHR Source # 
Show VkPresentRegionKHR Source # 
Storable VkPresentRegionKHR Source # 
VulkanMarshalPrim VkPresentRegionKHR Source # 
VulkanMarshal VkPresentRegionKHR Source # 
CanWriteField "pRectangles" VkPresentRegionKHR Source # 
CanWriteField "rectangleCount" VkPresentRegionKHR Source # 
CanReadField "pRectangles" VkPresentRegionKHR Source # 
CanReadField "rectangleCount" VkPresentRegionKHR Source # 
HasField "pRectangles" VkPresentRegionKHR Source # 

Associated Types

type FieldType ("pRectangles" :: Symbol) VkPresentRegionKHR :: Type Source #

type FieldOptional ("pRectangles" :: Symbol) VkPresentRegionKHR :: Bool Source #

type FieldOffset ("pRectangles" :: Symbol) VkPresentRegionKHR :: Nat Source #

type FieldIsArray ("pRectangles" :: Symbol) VkPresentRegionKHR :: Bool Source #

HasField "rectangleCount" VkPresentRegionKHR Source # 

Associated Types

type FieldType ("rectangleCount" :: Symbol) VkPresentRegionKHR :: Type Source #

type FieldOptional ("rectangleCount" :: Symbol) VkPresentRegionKHR :: Bool Source #

type FieldOffset ("rectangleCount" :: Symbol) VkPresentRegionKHR :: Nat Source #

type FieldIsArray ("rectangleCount" :: Symbol) VkPresentRegionKHR :: Bool Source #

type StructFields VkPresentRegionKHR Source # 
type StructFields VkPresentRegionKHR = (:) Symbol "rectangleCount" ((:) Symbol "pRectangles" ([] Symbol))
type CUnionType VkPresentRegionKHR Source # 
type ReturnedOnly VkPresentRegionKHR Source # 
type StructExtends VkPresentRegionKHR Source # 
type FieldType "pRectangles" VkPresentRegionKHR Source # 
type FieldType "rectangleCount" VkPresentRegionKHR Source # 
type FieldType "rectangleCount" VkPresentRegionKHR = Word32
type FieldOptional "pRectangles" VkPresentRegionKHR Source # 
type FieldOptional "rectangleCount" VkPresentRegionKHR Source # 
type FieldOptional "rectangleCount" VkPresentRegionKHR = True
type FieldOffset "pRectangles" VkPresentRegionKHR Source # 
type FieldOffset "pRectangles" VkPresentRegionKHR = 8
type FieldOffset "rectangleCount" VkPresentRegionKHR Source # 
type FieldOffset "rectangleCount" VkPresentRegionKHR = 0
type FieldIsArray "pRectangles" VkPresentRegionKHR Source # 
type FieldIsArray "rectangleCount" VkPresentRegionKHR Source # 
type FieldIsArray "rectangleCount" VkPresentRegionKHR = False

data VkPresentRegionsKHR Source #

typedef struct VkPresentRegionsKHR {
    VkStructureType sType;
    const void*                      pNext;
    uint32_t                         swapchainCount;
    const VkPresentRegionKHR*   pRegions;
} VkPresentRegionsKHR;

VkPresentRegionsKHR registry at www.khronos.org

Instances

Eq VkPresentRegionsKHR Source # 
Ord VkPresentRegionsKHR Source # 
Show VkPresentRegionsKHR Source # 
Storable VkPresentRegionsKHR Source # 
VulkanMarshalPrim VkPresentRegionsKHR Source # 
VulkanMarshal VkPresentRegionsKHR Source # 
CanWriteField "pNext" VkPresentRegionsKHR Source # 
CanWriteField "pRegions" VkPresentRegionsKHR Source # 
CanWriteField "sType" VkPresentRegionsKHR Source # 
CanWriteField "swapchainCount" VkPresentRegionsKHR Source # 
CanReadField "pNext" VkPresentRegionsKHR Source # 
CanReadField "pRegions" VkPresentRegionsKHR Source # 
CanReadField "sType" VkPresentRegionsKHR Source # 
CanReadField "swapchainCount" VkPresentRegionsKHR Source # 
HasField "pNext" VkPresentRegionsKHR Source # 
HasField "pRegions" VkPresentRegionsKHR Source # 
HasField "sType" VkPresentRegionsKHR Source # 
HasField "swapchainCount" VkPresentRegionsKHR Source # 

Associated Types

type FieldType ("swapchainCount" :: Symbol) VkPresentRegionsKHR :: Type Source #

type FieldOptional ("swapchainCount" :: Symbol) VkPresentRegionsKHR :: Bool Source #

type FieldOffset ("swapchainCount" :: Symbol) VkPresentRegionsKHR :: Nat Source #

type FieldIsArray ("swapchainCount" :: Symbol) VkPresentRegionsKHR :: Bool Source #

type StructFields VkPresentRegionsKHR Source # 
type StructFields VkPresentRegionsKHR = (:) Symbol "sType" ((:) Symbol "pNext" ((:) Symbol "swapchainCount" ((:) Symbol "pRegions" ([] Symbol))))
type CUnionType VkPresentRegionsKHR Source # 
type ReturnedOnly VkPresentRegionsKHR Source # 
type StructExtends VkPresentRegionsKHR Source # 
type FieldType "pNext" VkPresentRegionsKHR Source # 
type FieldType "pRegions" VkPresentRegionsKHR Source # 
type FieldType "sType" VkPresentRegionsKHR Source # 
type FieldType "swapchainCount" VkPresentRegionsKHR Source # 
type FieldType "swapchainCount" VkPresentRegionsKHR = Word32
type FieldOptional "pNext" VkPresentRegionsKHR Source # 
type FieldOptional "pRegions" VkPresentRegionsKHR Source # 
type FieldOptional "sType" VkPresentRegionsKHR Source # 
type FieldOptional "swapchainCount" VkPresentRegionsKHR Source # 
type FieldOptional "swapchainCount" VkPresentRegionsKHR = False
type FieldOffset "pNext" VkPresentRegionsKHR Source # 
type FieldOffset "pRegions" VkPresentRegionsKHR Source # 
type FieldOffset "pRegions" VkPresentRegionsKHR = 24
type FieldOffset "sType" VkPresentRegionsKHR Source # 
type FieldOffset "swapchainCount" VkPresentRegionsKHR Source # 
type FieldOffset "swapchainCount" VkPresentRegionsKHR = 16
type FieldIsArray "pNext" VkPresentRegionsKHR Source # 
type FieldIsArray "pRegions" VkPresentRegionsKHR Source # 
type FieldIsArray "sType" VkPresentRegionsKHR Source # 
type FieldIsArray "swapchainCount" VkPresentRegionsKHR Source # 
type FieldIsArray "swapchainCount" VkPresentRegionsKHR = False

data VkPresentTimeGOOGLE Source #

typedef struct VkPresentTimeGOOGLE {
    uint32_t                         presentID;
    uint64_t                         desiredPresentTime;
} VkPresentTimeGOOGLE;

VkPresentTimeGOOGLE registry at www.khronos.org

Instances

Eq VkPresentTimeGOOGLE Source # 
Ord VkPresentTimeGOOGLE Source # 
Show VkPresentTimeGOOGLE Source # 
Storable VkPresentTimeGOOGLE Source # 
VulkanMarshalPrim VkPresentTimeGOOGLE Source # 
VulkanMarshal VkPresentTimeGOOGLE Source # 
CanWriteField "desiredPresentTime" VkPresentTimeGOOGLE Source # 

Methods

writeField :: Ptr VkPresentTimeGOOGLE -> FieldType "desiredPresentTime" VkPresentTimeGOOGLE -> IO () Source #

CanWriteField "presentID" VkPresentTimeGOOGLE Source # 
CanReadField "desiredPresentTime" VkPresentTimeGOOGLE Source # 
CanReadField "presentID" VkPresentTimeGOOGLE Source # 
HasField "desiredPresentTime" VkPresentTimeGOOGLE Source # 

Associated Types

type FieldType ("desiredPresentTime" :: Symbol) VkPresentTimeGOOGLE :: Type Source #

type FieldOptional ("desiredPresentTime" :: Symbol) VkPresentTimeGOOGLE :: Bool Source #

type FieldOffset ("desiredPresentTime" :: Symbol) VkPresentTimeGOOGLE :: Nat Source #

type FieldIsArray ("desiredPresentTime" :: Symbol) VkPresentTimeGOOGLE :: Bool Source #

HasField "presentID" VkPresentTimeGOOGLE Source # 

Associated Types

type FieldType ("presentID" :: Symbol) VkPresentTimeGOOGLE :: Type Source #

type FieldOptional ("presentID" :: Symbol) VkPresentTimeGOOGLE :: Bool Source #

type FieldOffset ("presentID" :: Symbol) VkPresentTimeGOOGLE :: Nat Source #

type FieldIsArray ("presentID" :: Symbol) VkPresentTimeGOOGLE :: Bool Source #

type StructFields VkPresentTimeGOOGLE Source # 
type StructFields VkPresentTimeGOOGLE = (:) Symbol "presentID" ((:) Symbol "desiredPresentTime" ([] Symbol))
type CUnionType VkPresentTimeGOOGLE Source # 
type ReturnedOnly VkPresentTimeGOOGLE Source # 
type StructExtends VkPresentTimeGOOGLE Source # 
type FieldType "desiredPresentTime" VkPresentTimeGOOGLE Source # 
type FieldType "desiredPresentTime" VkPresentTimeGOOGLE = Word64
type FieldType "presentID" VkPresentTimeGOOGLE Source # 
type FieldOptional "desiredPresentTime" VkPresentTimeGOOGLE Source # 
type FieldOptional "desiredPresentTime" VkPresentTimeGOOGLE = False
type FieldOptional "presentID" VkPresentTimeGOOGLE Source # 
type FieldOffset "desiredPresentTime" VkPresentTimeGOOGLE Source # 
type FieldOffset "desiredPresentTime" VkPresentTimeGOOGLE = 8
type FieldOffset "presentID" VkPresentTimeGOOGLE Source # 
type FieldOffset "presentID" VkPresentTimeGOOGLE = 0
type FieldIsArray "desiredPresentTime" VkPresentTimeGOOGLE Source # 
type FieldIsArray "desiredPresentTime" VkPresentTimeGOOGLE = False
type FieldIsArray "presentID" VkPresentTimeGOOGLE Source # 

data VkPresentTimesInfoGOOGLE Source #

typedef struct VkPresentTimesInfoGOOGLE {
    VkStructureType sType;
    const void*                      pNext;
    uint32_t                         swapchainCount;
    const VkPresentTimeGOOGLE*   pTimes;
} VkPresentTimesInfoGOOGLE;

VkPresentTimesInfoGOOGLE registry at www.khronos.org

Instances

Eq VkPresentTimesInfoGOOGLE Source # 
Ord VkPresentTimesInfoGOOGLE Source # 
Show VkPresentTimesInfoGOOGLE Source # 
Storable VkPresentTimesInfoGOOGLE Source # 
VulkanMarshalPrim VkPresentTimesInfoGOOGLE Source # 
VulkanMarshal VkPresentTimesInfoGOOGLE Source # 
CanWriteField "pNext" VkPresentTimesInfoGOOGLE Source # 
CanWriteField "pTimes" VkPresentTimesInfoGOOGLE Source # 
CanWriteField "sType" VkPresentTimesInfoGOOGLE Source # 
CanWriteField "swapchainCount" VkPresentTimesInfoGOOGLE Source # 
CanReadField "pNext" VkPresentTimesInfoGOOGLE Source # 
CanReadField "pTimes" VkPresentTimesInfoGOOGLE Source # 
CanReadField "sType" VkPresentTimesInfoGOOGLE Source # 
CanReadField "swapchainCount" VkPresentTimesInfoGOOGLE Source # 
HasField "pNext" VkPresentTimesInfoGOOGLE Source # 
HasField "pTimes" VkPresentTimesInfoGOOGLE Source # 
HasField "sType" VkPresentTimesInfoGOOGLE Source # 
HasField "swapchainCount" VkPresentTimesInfoGOOGLE Source # 

Associated Types

type FieldType ("swapchainCount" :: Symbol) VkPresentTimesInfoGOOGLE :: Type Source #

type FieldOptional ("swapchainCount" :: Symbol) VkPresentTimesInfoGOOGLE :: Bool Source #

type FieldOffset ("swapchainCount" :: Symbol) VkPresentTimesInfoGOOGLE :: Nat Source #

type FieldIsArray ("swapchainCount" :: Symbol) VkPresentTimesInfoGOOGLE :: Bool Source #

type StructFields VkPresentTimesInfoGOOGLE Source # 
type StructFields VkPresentTimesInfoGOOGLE = (:) Symbol "sType" ((:) Symbol "pNext" ((:) Symbol "swapchainCount" ((:) Symbol "pTimes" ([] Symbol))))
type CUnionType VkPresentTimesInfoGOOGLE Source # 
type ReturnedOnly VkPresentTimesInfoGOOGLE Source # 
type StructExtends VkPresentTimesInfoGOOGLE Source # 
type FieldType "pNext" VkPresentTimesInfoGOOGLE Source # 
type FieldType "pTimes" VkPresentTimesInfoGOOGLE Source # 
type FieldType "sType" VkPresentTimesInfoGOOGLE Source # 
type FieldType "swapchainCount" VkPresentTimesInfoGOOGLE Source # 
type FieldType "swapchainCount" VkPresentTimesInfoGOOGLE = Word32
type FieldOptional "pNext" VkPresentTimesInfoGOOGLE Source # 
type FieldOptional "pTimes" VkPresentTimesInfoGOOGLE Source # 
type FieldOptional "sType" VkPresentTimesInfoGOOGLE Source # 
type FieldOptional "swapchainCount" VkPresentTimesInfoGOOGLE Source # 
type FieldOffset "pNext" VkPresentTimesInfoGOOGLE Source # 
type FieldOffset "pTimes" VkPresentTimesInfoGOOGLE Source # 
type FieldOffset "sType" VkPresentTimesInfoGOOGLE Source # 
type FieldOffset "swapchainCount" VkPresentTimesInfoGOOGLE Source # 
type FieldOffset "swapchainCount" VkPresentTimesInfoGOOGLE = 16
type FieldIsArray "pNext" VkPresentTimesInfoGOOGLE Source # 
type FieldIsArray "pTimes" VkPresentTimesInfoGOOGLE Source # 
type FieldIsArray "sType" VkPresentTimesInfoGOOGLE Source # 
type FieldIsArray "swapchainCount" VkPresentTimesInfoGOOGLE Source # 

data VkRect2D Source #

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

VkRect2D registry at www.khronos.org

Constructors

VkRect2D# Addr# ByteArray# 

Instances

Eq VkRect2D Source # 
Ord VkRect2D Source # 
Show VkRect2D Source # 
Storable VkRect2D Source # 
VulkanMarshalPrim VkRect2D Source # 
VulkanMarshal VkRect2D Source # 
CanWriteField "extent" VkRect2D Source # 

Methods

writeField :: Ptr VkRect2D -> FieldType "extent" VkRect2D -> IO () Source #

CanWriteField "offset" VkRect2D Source # 

Methods

writeField :: Ptr VkRect2D -> FieldType "offset" VkRect2D -> IO () Source #

CanReadField "extent" VkRect2D Source # 
CanReadField "offset" VkRect2D Source # 
HasField "extent" VkRect2D Source # 

Associated Types

type FieldType ("extent" :: Symbol) VkRect2D :: Type Source #

type FieldOptional ("extent" :: Symbol) VkRect2D :: Bool Source #

type FieldOffset ("extent" :: Symbol) VkRect2D :: Nat Source #

type FieldIsArray ("extent" :: Symbol) VkRect2D :: Bool Source #

HasField "offset" VkRect2D Source # 

Associated Types

type FieldType ("offset" :: Symbol) VkRect2D :: Type Source #

type FieldOptional ("offset" :: Symbol) VkRect2D :: Bool Source #

type FieldOffset ("offset" :: Symbol) VkRect2D :: Nat Source #

type FieldIsArray ("offset" :: Symbol) VkRect2D :: Bool Source #

type StructFields VkRect2D Source # 
type StructFields VkRect2D = (:) Symbol "offset" ((:) Symbol "extent" ([] Symbol))
type CUnionType VkRect2D Source # 
type ReturnedOnly VkRect2D Source # 
type StructExtends VkRect2D Source # 
type FieldType "extent" VkRect2D Source # 
type FieldType "extent" VkRect2D = VkExtent2D
type FieldType "offset" VkRect2D Source # 
type FieldType "offset" VkRect2D = VkOffset2D
type FieldOptional "extent" VkRect2D Source # 
type FieldOptional "extent" VkRect2D = False
type FieldOptional "offset" VkRect2D Source # 
type FieldOptional "offset" VkRect2D = False
type FieldOffset "extent" VkRect2D Source # 
type FieldOffset "extent" VkRect2D = 8
type FieldOffset "offset" VkRect2D Source # 
type FieldOffset "offset" VkRect2D = 0
type FieldIsArray "extent" VkRect2D Source # 
type FieldIsArray "extent" VkRect2D = False
type FieldIsArray "offset" VkRect2D Source # 
type FieldIsArray "offset" VkRect2D = False

data VkRectLayerKHR Source #

typedef struct VkRectLayerKHR {
    VkOffset2D                       offset;
    VkExtent2D                       extent;
    uint32_t                         layer;
} VkRectLayerKHR;

VkRectLayerKHR registry at www.khronos.org

Instances

Eq VkRectLayerKHR Source # 
Ord VkRectLayerKHR Source # 
Show VkRectLayerKHR Source # 
Storable VkRectLayerKHR Source # 
VulkanMarshalPrim VkRectLayerKHR Source # 
VulkanMarshal VkRectLayerKHR Source # 
CanWriteField "extent" VkRectLayerKHR Source # 
CanWriteField "layer" VkRectLayerKHR Source # 
CanWriteField "offset" VkRectLayerKHR Source # 
CanReadField "extent" VkRectLayerKHR Source # 
CanReadField "layer" VkRectLayerKHR Source # 
CanReadField "offset" VkRectLayerKHR Source # 
HasField "extent" VkRectLayerKHR Source # 

Associated Types

type FieldType ("extent" :: Symbol) VkRectLayerKHR :: Type Source #

type FieldOptional ("extent" :: Symbol) VkRectLayerKHR :: Bool Source #

type FieldOffset ("extent" :: Symbol) VkRectLayerKHR :: Nat Source #

type FieldIsArray ("extent" :: Symbol) VkRectLayerKHR :: Bool Source #

HasField "layer" VkRectLayerKHR Source # 
HasField "offset" VkRectLayerKHR Source # 

Associated Types

type FieldType ("offset" :: Symbol) VkRectLayerKHR :: Type Source #

type FieldOptional ("offset" :: Symbol) VkRectLayerKHR :: Bool Source #

type FieldOffset ("offset" :: Symbol) VkRectLayerKHR :: Nat Source #

type FieldIsArray ("offset" :: Symbol) VkRectLayerKHR :: Bool Source #

type StructFields VkRectLayerKHR Source # 
type StructFields VkRectLayerKHR = (:) Symbol "offset" ((:) Symbol "extent" ((:) Symbol "layer" ([] Symbol)))
type CUnionType VkRectLayerKHR Source # 
type ReturnedOnly VkRectLayerKHR Source # 
type StructExtends VkRectLayerKHR Source # 
type FieldType "extent" VkRectLayerKHR Source # 
type FieldType "layer" VkRectLayerKHR Source # 
type FieldType "offset" VkRectLayerKHR Source # 
type FieldOptional "extent" VkRectLayerKHR Source # 
type FieldOptional "layer" VkRectLayerKHR Source # 
type FieldOptional "offset" VkRectLayerKHR Source # 
type FieldOffset "extent" VkRectLayerKHR Source # 
type FieldOffset "extent" VkRectLayerKHR = 8
type FieldOffset "layer" VkRectLayerKHR Source # 
type FieldOffset "layer" VkRectLayerKHR = 16
type FieldOffset "offset" VkRectLayerKHR Source # 
type FieldOffset "offset" VkRectLayerKHR = 0
type FieldIsArray "extent" VkRectLayerKHR Source # 
type FieldIsArray "layer" VkRectLayerKHR Source # 
type FieldIsArray "offset" VkRectLayerKHR Source # 

newtype VkResult Source #

API result codes

type = enum

VkResult registry at www.khronos.org

Constructors

VkResult Int32 

Instances

Bounded VkResult Source # 
Enum VkResult Source # 
Eq VkResult Source # 
Data VkResult Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VkResult -> c VkResult #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VkResult #

toConstr :: VkResult -> Constr #

dataTypeOf :: VkResult -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VkResult) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VkResult) #

gmapT :: (forall b. Data b => b -> b) -> VkResult -> VkResult #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VkResult -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VkResult -> r #

gmapQ :: (forall d. Data d => d -> u) -> VkResult -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VkResult -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VkResult -> m VkResult #

Num VkResult Source # 
Ord VkResult Source # 
Read VkResult Source # 
Show VkResult Source # 
Generic VkResult Source # 

Associated Types

type Rep VkResult :: * -> * #

Methods

from :: VkResult -> Rep VkResult x #

to :: Rep VkResult x -> VkResult #

Storable VkResult Source # 
type Rep VkResult Source # 
type Rep VkResult = D1 (MetaData "VkResult" "Graphics.Vulkan.Types.Enum.Result" "vulkan-api-1.1.3.0-FHhzd5k5VLu5phG4JhXQzZ" True) (C1 (MetaCons "VkResult" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 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 unsignaled

pattern VK_INCOMPLETE :: VkResult Source #

A return array was too small for the result

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 #

Initialization of a object has failed

pattern VK_ERROR_DEVICE_LOST :: VkResult Source #

The logical device has been lost. See

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

pattern VK_ERROR_FRAGMENTED_POOL :: VkResult Source #

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

newtype VkStructureType Source #

Structure type enumerant

type = enum

VkStructureType registry at www.khronos.org

Constructors

VkStructureType Int32 

Instances

Bounded VkStructureType Source # 
Enum VkStructureType Source # 
Eq VkStructureType Source # 
Data VkStructureType Source # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> VkStructureType -> c VkStructureType #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c VkStructureType #

toConstr :: VkStructureType -> Constr #

dataTypeOf :: VkStructureType -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c VkStructureType) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c VkStructureType) #

gmapT :: (forall b. Data b => b -> b) -> VkStructureType -> VkStructureType #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> VkStructureType -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> VkStructureType -> r #

gmapQ :: (forall d. Data d => d -> u) -> VkStructureType -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> VkStructureType -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> VkStructureType -> m VkStructureType #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> VkStructureType -> m VkStructureType #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> VkStructureType -> m VkStructureType #

Num VkStructureType Source # 
Ord VkStructureType Source # 
Read VkStructureType Source # 
Show VkStructureType Source # 
Generic VkStructureType Source # 
Storable VkStructureType Source # 
type Rep VkStructureType Source # 
type Rep VkStructureType = D1 (MetaData "VkStructureType" "Graphics.Vulkan.Types.Enum.StructureType" "vulkan-api-1.1.3.0-FHhzd5k5VLu5phG4JhXQzZ" True) (C1 (MetaCons "VkStructureType" PrefixI False) (S1 (MetaSel (Nothing Symbol) NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Int32)))

pattern VK_STRUCTURE_TYPE_LOADER_INSTANCE_CREATE_INFO :: VkStructureType Source #

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

pattern VK_STRUCTURE_TYPE_LOADER_DEVICE_CREATE_INFO :: VkStructureType Source #

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

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

type VK_KHR_INCREMENTAL_PRESENT_EXTENSION_NAME = "VK_KHR_incremental_present" Source #