#include "vulkan/vulkan.h" {-# LANGUAGE DataKinds #-} {-# LANGUAGE FlexibleInstances #-} {-# LANGUAGE MultiParamTypeClasses #-} {-# LANGUAGE Strict #-} {-# LANGUAGE TypeFamilies #-} module Graphics.Vulkan.Types.Struct.Draw (VkDrawIndexedIndirectCommand, VkDrawIndirectCommand, VkDrawMeshTasksIndirectCommandNV) where import Graphics.Vulkan.Marshal import Graphics.Vulkan.Marshal.Internal -- | > typedef struct VkDrawIndexedIndirectCommand { -- > uint32_t indexCount; -- > uint32_t instanceCount; -- > uint32_t firstIndex; -- > int32_t vertexOffset; -- > uint32_t firstInstance; -- > } VkDrawIndexedIndirectCommand; -- -- type VkDrawIndexedIndirectCommand = VkStruct VkDrawIndexedIndirectCommand' -- ' closing tick for hsc2hs data VkDrawIndexedIndirectCommand' -- ' closing tick for hsc2hs instance VulkanMarshal VkDrawIndexedIndirectCommand where type StructRep VkDrawIndexedIndirectCommand = 'StructMeta "VkDrawIndexedIndirectCommand" -- ' closing tick for hsc2hs VkDrawIndexedIndirectCommand #{size VkDrawIndexedIndirectCommand} #{alignment VkDrawIndexedIndirectCommand} '[('FieldMeta "indexCount" Word32 'False -- ' closing tick for hsc2hs #{offset VkDrawIndexedIndirectCommand, indexCount} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "instanceCount" Word32 'False #{offset VkDrawIndexedIndirectCommand, instanceCount} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "firstIndex" Word32 'False #{offset VkDrawIndexedIndirectCommand, firstIndex} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "vertexOffset" Int32 'False #{offset VkDrawIndexedIndirectCommand, vertexOffset} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "firstInstance" Word32 'False #{offset VkDrawIndexedIndirectCommand, firstInstance} 1 'True -- ' closing tick for hsc2hs 'True)] -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs '[] -- ' closing tick for hsc2hs -- | > typedef struct VkDrawIndirectCommand { -- > uint32_t vertexCount; -- > uint32_t instanceCount; -- > uint32_t firstVertex; -- > uint32_t firstInstance; -- > } VkDrawIndirectCommand; -- -- type VkDrawIndirectCommand = VkStruct VkDrawIndirectCommand' -- ' closing tick for hsc2hs data VkDrawIndirectCommand' -- ' closing tick for hsc2hs instance VulkanMarshal VkDrawIndirectCommand where type StructRep VkDrawIndirectCommand = 'StructMeta "VkDrawIndirectCommand" VkDrawIndirectCommand -- ' closing tick for hsc2hs #{size VkDrawIndirectCommand} #{alignment VkDrawIndirectCommand} '[('FieldMeta "vertexCount" Word32 'False -- ' closing tick for hsc2hs #{offset VkDrawIndirectCommand, vertexCount} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "instanceCount" Word32 'False #{offset VkDrawIndirectCommand, instanceCount} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "firstVertex" Word32 'False #{offset VkDrawIndirectCommand, firstVertex} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "firstInstance" Word32 'False #{offset VkDrawIndirectCommand, firstInstance} 1 'True -- ' closing tick for hsc2hs 'True)] -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs '[] -- ' closing tick for hsc2hs -- | > typedef struct VkDrawMeshTasksIndirectCommandNV { -- > uint32_t taskCount; -- > uint32_t firstTask; -- > } VkDrawMeshTasksIndirectCommandNV; -- -- type VkDrawMeshTasksIndirectCommandNV = VkStruct VkDrawMeshTasksIndirectCommandNV' -- ' closing tick for hsc2hs data VkDrawMeshTasksIndirectCommandNV' -- ' closing tick for hsc2hs instance VulkanMarshal VkDrawMeshTasksIndirectCommandNV where type StructRep VkDrawMeshTasksIndirectCommandNV = 'StructMeta "VkDrawMeshTasksIndirectCommandNV" -- ' closing tick for hsc2hs VkDrawMeshTasksIndirectCommandNV #{size VkDrawMeshTasksIndirectCommandNV} #{alignment VkDrawMeshTasksIndirectCommandNV} '[('FieldMeta "taskCount" Word32 'False -- ' closing tick for hsc2hs #{offset VkDrawMeshTasksIndirectCommandNV, taskCount} 1 'True -- ' closing tick for hsc2hs 'True), -- ' closing tick for hsc2hs ('FieldMeta "firstTask" Word32 'False #{offset VkDrawMeshTasksIndirectCommandNV, firstTask} 1 'True -- ' closing tick for hsc2hs 'True)] -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs 'False -- ' closing tick for hsc2hs '[] -- ' closing tick for hsc2hs