vulkan-3.6.3: Bindings to the Vulkan graphics API.
Safe HaskellNone
LanguageHaskell2010

Vulkan.Core10.CommandBuffer

Synopsis

Documentation

allocateCommandBuffers Source #

Arguments

:: forall io. MonadIO io 
=> Device

device is the logical device that owns the command pool.

-> CommandBufferAllocateInfo

pAllocateInfo is a pointer to a CommandBufferAllocateInfo structure describing parameters of the allocation.

-> io ("commandBuffers" ::: Vector CommandBuffer) 

vkAllocateCommandBuffers - Allocate command buffers from an existing command pool

Description

allocateCommandBuffers can be used to create multiple command buffers. If the creation of any of those command buffers fails, the implementation must destroy all successfully created command buffer objects from this command, set all entries of the pCommandBuffers array to NULL and return the error.

When command buffers are first allocated, they are in the initial state.

Valid Usage (Implicit)

  • device must be a valid Device handle
  • pAllocateInfo must be a valid pointer to a valid CommandBufferAllocateInfo structure
  • pCommandBuffers must be a valid pointer to an array of pAllocateInfo->commandBufferCount CommandBuffer handles
  • pAllocateInfo->commandBufferCount must be greater than 0

Host Synchronization

  • Host access to pAllocateInfo->commandPool must be externally synchronized

Return Codes

Success
Failure

See Also

CommandBuffer, CommandBufferAllocateInfo, Device

withCommandBuffers :: forall io r. MonadIO io => Device -> CommandBufferAllocateInfo -> (io (Vector CommandBuffer) -> (Vector CommandBuffer -> io ()) -> r) -> r Source #

A convenience wrapper to make a compatible pair of calls to allocateCommandBuffers and freeCommandBuffers

To ensure that freeCommandBuffers is always called: pass bracket (or the allocate function from your favourite resource management library) as the first argument. To just extract the pair pass (,) as the first argument.

freeCommandBuffers Source #

Arguments

:: forall io. MonadIO io 
=> Device

device is the logical device that owns the command pool.

-> CommandPool

commandPool is the command pool from which the command buffers were allocated.

-> ("commandBuffers" ::: Vector CommandBuffer)

pCommandBuffers is a pointer to an array of handles of command buffers to free.

-> io () 

vkFreeCommandBuffers - Free command buffers

Description

Any primary command buffer that is in the recording or executable state and has any element of pCommandBuffers recorded into it, becomes invalid.

Valid Usage

  • pCommandBuffers must be a valid pointer to an array of commandBufferCount CommandBuffer handles, each element of which must either be a valid handle or NULL

Valid Usage (Implicit)

  • device must be a valid Device handle
  • commandPool must be a valid CommandPool handle
  • commandBufferCount must be greater than 0
  • commandPool must have been created, allocated, or retrieved from device
  • Each element of pCommandBuffers that is a valid handle must have been created, allocated, or retrieved from commandPool

Host Synchronization

  • Host access to commandPool must be externally synchronized
  • Host access to each member of pCommandBuffers must be externally synchronized

See Also

CommandBuffer, CommandPool, Device

beginCommandBuffer Source #

Arguments

:: forall a io. (Extendss CommandBufferBeginInfo a, PokeChain a, MonadIO io) 
=> CommandBuffer

commandBuffer is the handle of the command buffer which is to be put in the recording state.

-> CommandBufferBeginInfo a

pBeginInfo points to a CommandBufferBeginInfo structure defining additional information about how the command buffer begins recording.

-> io () 

vkBeginCommandBuffer - Start recording a command buffer

Valid Usage

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Return Codes

Success
Failure

See Also

CommandBuffer, CommandBufferBeginInfo

useCommandBuffer :: forall a io r. (Extendss CommandBufferBeginInfo a, PokeChain a, MonadIO io) => CommandBuffer -> CommandBufferBeginInfo a -> io r -> io r Source #

This function will call the supplied action between calls to beginCommandBuffer and endCommandBuffer

Note that endCommandBuffer is *not* called if an exception is thrown by the inner action.

endCommandBuffer Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer to complete recording.

-> io () 

vkEndCommandBuffer - Finish recording a command buffer

Description

If there was an error during recording, the application will be notified by an unsuccessful return code returned by endCommandBuffer. If the application wishes to further use the command buffer, the command buffer must be reset. The command buffer must have been in the recording state, and is moved to the executable state.

Valid Usage

  • If commandBuffer is a primary command buffer, there must not be an active render pass instance
  • All queries made active during the recording of commandBuffer must have been made inactive
  • Conditional rendering must not be active
  • If commandBuffer is a secondary command buffer, there must not be an outstanding cmdBeginDebugUtilsLabelEXT command recorded to commandBuffer that has not previously been ended by a call to cmdEndDebugUtilsLabelEXT
  • If commandBuffer is a secondary command buffer, there must not be an outstanding cmdDebugMarkerBeginEXT command recorded to commandBuffer that has not previously been ended by a call to cmdDebugMarkerEndEXT

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Return Codes

Success
Failure

See Also

CommandBuffer

resetCommandBuffer Source #

Arguments

:: forall io. MonadIO io 
=> CommandBuffer

commandBuffer is the command buffer to reset. The command buffer can be in any state other than pending, and is moved into the initial state.

-> CommandBufferResetFlags

flags is a bitmask of CommandBufferResetFlagBits controlling the reset operation.

-> io () 

vkResetCommandBuffer - Reset a command buffer to the initial state

Description

Any primary command buffer that is in the recording or executable state and has commandBuffer recorded into it, becomes invalid.

Valid Usage

Valid Usage (Implicit)

Host Synchronization

  • Host access to commandBuffer must be externally synchronized

Return Codes

Success
Failure

See Also

CommandBuffer, CommandBufferResetFlags

data CommandBufferAllocateInfo Source #

VkCommandBufferAllocateInfo - Structure specifying the allocation parameters for command buffer object

Valid Usage (Implicit)

See Also

CommandBufferLevel, CommandPool, StructureType, allocateCommandBuffers

Constructors

CommandBufferAllocateInfo 

Fields

Instances

Instances details
Eq CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Show CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Generic CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Associated Types

type Rep CommandBufferAllocateInfo :: Type -> Type #

Storable CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

FromCStruct CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

ToCStruct CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Zero CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

type Rep CommandBufferAllocateInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

type Rep CommandBufferAllocateInfo = D1 ('MetaData "CommandBufferAllocateInfo" "Vulkan.Core10.CommandBuffer" "vulkan-3.6.3-inplace" 'False) (C1 ('MetaCons "CommandBufferAllocateInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "commandPool") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommandPool) :*: (S1 ('MetaSel ('Just "level") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommandBufferLevel) :*: S1 ('MetaSel ('Just "commandBufferCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Word32))))

data CommandBufferInheritanceInfo (es :: [Type]) Source #

VkCommandBufferInheritanceInfo - Structure specifying command buffer inheritance info

Valid Usage

Valid Usage (Implicit)

See Also

Bool32, CommandBufferBeginInfo, Framebuffer, QueryControlFlags, QueryPipelineStatisticFlags, RenderPass, StructureType

Constructors

CommandBufferInheritanceInfo 

Fields

  • next :: Chain es

    pNext is NULL or a pointer to a structure extending this structure.

  • renderPass :: RenderPass

    renderPass is a RenderPass object defining which render passes the CommandBuffer will be compatible with and can be executed within. If the CommandBuffer will not be executed within a render pass instance, renderPass is ignored.

  • subpass :: Word32

    subpass is the index of the subpass within the render pass instance that the CommandBuffer will be executed within. If the CommandBuffer will not be executed within a render pass instance, subpass is ignored.

  • framebuffer :: Framebuffer

    framebuffer optionally refers to the Framebuffer object that the CommandBuffer will be rendering to if it is executed within a render pass instance. It can be NULL_HANDLE if the framebuffer is not known, or if the CommandBuffer will not be executed within a render pass instance.

    Note

    Specifying the exact framebuffer that the secondary command buffer will be executed with may result in better performance at command buffer execution time.

  • occlusionQueryEnable :: Bool

    occlusionQueryEnable specifies whether the command buffer can be executed while an occlusion query is active in the primary command buffer. If this is TRUE, then this command buffer can be executed whether the primary command buffer has an occlusion query active or not. If this is FALSE, then the primary command buffer must not have an occlusion query active.

  • queryFlags :: QueryControlFlags

    queryFlags specifies the query flags that can be used by an active occlusion query in the primary command buffer when this secondary command buffer is executed. If this value includes the QUERY_CONTROL_PRECISE_BIT bit, then the active query can return boolean results or actual sample counts. If this bit is not set, then the active query must not use the QUERY_CONTROL_PRECISE_BIT bit.

  • pipelineStatistics :: QueryPipelineStatisticFlags

    pipelineStatistics is a bitmask of QueryPipelineStatisticFlagBits specifying the set of pipeline statistics that can be counted by an active query in the primary command buffer when this secondary command buffer is executed. If this value includes a given bit, then this command buffer can be executed whether the primary command buffer has a pipeline statistics query active that includes this bit or not. If this value excludes a given bit, then the active pipeline statistics query must not be from a query pool that counts that statistic.

Instances

Instances details
Extensible CommandBufferInheritanceInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Methods

extensibleType :: StructureType Source #

getNext :: forall (es :: [Type]). CommandBufferInheritanceInfo es -> Chain es Source #

setNext :: forall (ds :: [Type]) (es :: [Type]). CommandBufferInheritanceInfo ds -> Chain es -> CommandBufferInheritanceInfo es Source #

extends :: forall e b proxy. Typeable e => proxy e -> (Extends CommandBufferInheritanceInfo e => b) -> Maybe b Source #

Show (Chain es) => Show (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Generic (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Associated Types

type Rep (CommandBufferInheritanceInfo es) :: Type -> Type #

(Extendss CommandBufferInheritanceInfo es, PeekChain es) => FromCStruct (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

(Extendss CommandBufferInheritanceInfo es, PokeChain es) => ToCStruct (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

es ~ ('[] :: [Type]) => Zero (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

type Rep (CommandBufferInheritanceInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

data CommandBufferBeginInfo (es :: [Type]) Source #

VkCommandBufferBeginInfo - Structure specifying a command buffer begin operation

Valid Usage

Valid Usage (Implicit)

See Also

CommandBufferInheritanceInfo, CommandBufferUsageFlags, StructureType, beginCommandBuffer

Constructors

CommandBufferBeginInfo 

Fields

Instances

Instances details
Extensible CommandBufferBeginInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Methods

extensibleType :: StructureType Source #

getNext :: forall (es :: [Type]). CommandBufferBeginInfo es -> Chain es Source #

setNext :: forall (ds :: [Type]) (es :: [Type]). CommandBufferBeginInfo ds -> Chain es -> CommandBufferBeginInfo es Source #

extends :: forall e b proxy. Typeable e => proxy e -> (Extends CommandBufferBeginInfo e => b) -> Maybe b Source #

Show (Chain es) => Show (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Generic (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Associated Types

type Rep (CommandBufferBeginInfo es) :: Type -> Type #

(Extendss CommandBufferBeginInfo es, PeekChain es) => FromCStruct (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

(Extendss CommandBufferBeginInfo es, PokeChain es) => ToCStruct (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

es ~ ('[] :: [Type]) => Zero (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

type Rep (CommandBufferBeginInfo es) Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

type Rep (CommandBufferBeginInfo es) = D1 ('MetaData "CommandBufferBeginInfo" "Vulkan.Core10.CommandBuffer" "vulkan-3.6.3-inplace" 'False) (C1 ('MetaCons "CommandBufferBeginInfo" 'PrefixI 'True) (S1 ('MetaSel ('Just "next") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Chain es)) :*: (S1 ('MetaSel ('Just "flags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 CommandBufferUsageFlags) :*: S1 ('MetaSel ('Just "inheritanceInfo") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (SomeStruct CommandBufferInheritanceInfo))))))

data CommandBuffer Source #

VkCommandBuffer - Opaque handle to a command buffer object

See Also

SubmitInfo, allocateCommandBuffers, beginCommandBuffer, cmdBeginConditionalRenderingEXT, cmdBeginDebugUtilsLabelEXT, cmdBeginQuery, cmdBeginQueryIndexedEXT, cmdBeginRenderPass, cmdBeginRenderPass2, cmdBeginRenderPass2KHR, cmdBeginTransformFeedbackEXT, cmdBindDescriptorSets, cmdBindIndexBuffer, cmdBindPipeline, cmdBindPipelineShaderGroupNV, cmdBindShadingRateImageNV, cmdBindTransformFeedbackBuffersEXT, cmdBindVertexBuffers, cmdBindVertexBuffers2EXT, cmdBlitImage, cmdBuildAccelerationStructureIndirectKHR, cmdBuildAccelerationStructureKHR, cmdBuildAccelerationStructureNV, cmdClearAttachments, cmdClearColorImage, cmdClearDepthStencilImage, cmdCopyAccelerationStructureKHR, cmdCopyAccelerationStructureNV, cmdCopyAccelerationStructureToMemoryKHR, cmdCopyBuffer, cmdCopyBufferToImage, cmdCopyImage, cmdCopyImageToBuffer, cmdCopyMemoryToAccelerationStructureKHR, cmdCopyQueryPoolResults, cmdDebugMarkerBeginEXT, cmdDebugMarkerEndEXT, cmdDebugMarkerInsertEXT, cmdDispatch, cmdDispatchBase, cmdDispatchBaseKHR, cmdDispatchIndirect, cmdDraw, cmdDrawIndexed, cmdDrawIndexedIndirect, cmdDrawIndexedIndirectCount, cmdDrawIndexedIndirectCountAMD, cmdDrawIndexedIndirectCountKHR, cmdDrawIndirect, cmdDrawIndirectByteCountEXT, cmdDrawIndirectCount, cmdDrawIndirectCountAMD, cmdDrawIndirectCountKHR, cmdDrawMeshTasksIndirectCountNV, cmdDrawMeshTasksIndirectNV, cmdDrawMeshTasksNV, cmdEndConditionalRenderingEXT, cmdEndDebugUtilsLabelEXT, cmdEndQuery, cmdEndQueryIndexedEXT, cmdEndRenderPass, cmdEndRenderPass2, cmdEndRenderPass2KHR, cmdEndTransformFeedbackEXT, cmdExecuteCommands, cmdExecuteGeneratedCommandsNV, cmdFillBuffer, cmdInsertDebugUtilsLabelEXT, cmdNextSubpass, cmdNextSubpass2, cmdNextSubpass2KHR, cmdPipelineBarrier, cmdPreprocessGeneratedCommandsNV, cmdPushConstants, cmdPushDescriptorSetKHR, cmdPushDescriptorSetWithTemplateKHR, cmdResetEvent, cmdResetQueryPool, cmdResolveImage, cmdSetBlendConstants, cmdSetCheckpointNV, cmdSetCoarseSampleOrderNV, cmdSetCullModeEXT, cmdSetDepthBias, cmdSetDepthBounds, cmdSetDepthBoundsTestEnableEXT, cmdSetDepthCompareOpEXT, cmdSetDepthTestEnableEXT, cmdSetDepthWriteEnableEXT, cmdSetDeviceMask, cmdSetDeviceMaskKHR, cmdSetDiscardRectangleEXT, cmdSetEvent, cmdSetExclusiveScissorNV, cmdSetFrontFaceEXT, cmdSetLineStippleEXT, cmdSetLineWidth, cmdSetPerformanceMarkerINTEL, cmdSetPerformanceOverrideINTEL, cmdSetPerformanceStreamMarkerINTEL, cmdSetPrimitiveTopologyEXT, cmdSetSampleLocationsEXT, cmdSetScissor, cmdSetScissorWithCountEXT, cmdSetStencilCompareMask, cmdSetStencilOpEXT, cmdSetStencilReference, cmdSetStencilTestEnableEXT, cmdSetStencilWriteMask, cmdSetViewport, cmdSetViewportShadingRatePaletteNV, cmdSetViewportWScalingNV, cmdSetViewportWithCountEXT, cmdTraceRaysIndirectKHR, cmdTraceRaysKHR, cmdTraceRaysNV, cmdUpdateBuffer, cmdWaitEvents, cmdWriteAccelerationStructuresPropertiesKHR, cmdWriteAccelerationStructuresPropertiesNV, cmdWriteBufferMarkerAMD, cmdWriteTimestamp, endCommandBuffer, freeCommandBuffers, resetCommandBuffer

newtype CommandBufferLevel Source #

VkCommandBufferLevel - Enumerant specifying a command buffer level

See Also

CommandBufferAllocateInfo

Bundled Patterns

pattern COMMAND_BUFFER_LEVEL_PRIMARY :: CommandBufferLevel

COMMAND_BUFFER_LEVEL_PRIMARY specifies a primary command buffer.

pattern COMMAND_BUFFER_LEVEL_SECONDARY :: CommandBufferLevel

COMMAND_BUFFER_LEVEL_SECONDARY specifies a secondary command buffer.

Instances

Instances details
Eq CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

Ord CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

Read CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

Show CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

Storable CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

Zero CommandBufferLevel Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferLevel

newtype QueryControlFlagBits Source #

VkQueryControlFlagBits - Bitmask specifying constraints on a query

See Also

QueryControlFlags

Instances

Instances details
Eq QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Ord QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Read QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Show QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Storable QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Bits QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

Zero QueryControlFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.QueryControlFlagBits

newtype CommandBufferUsageFlagBits Source #

VkCommandBufferUsageFlagBits - Bitmask specifying usage behavior for command buffer

See Also

CommandBufferUsageFlags

Bundled Patterns

pattern COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT :: CommandBufferUsageFlagBits

COMMAND_BUFFER_USAGE_ONE_TIME_SUBMIT_BIT specifies that each recording of the command buffer will only be submitted once, and the command buffer will be reset and recorded again between each submission.

pattern COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT :: CommandBufferUsageFlagBits

COMMAND_BUFFER_USAGE_RENDER_PASS_CONTINUE_BIT specifies that a secondary command buffer is considered to be entirely inside a render pass. If this is a primary command buffer, then this bit is ignored.

pattern COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT :: CommandBufferUsageFlagBits

COMMAND_BUFFER_USAGE_SIMULTANEOUS_USE_BIT specifies that a command buffer can be resubmitted to a queue while it is in the /pending state/, and recorded into multiple primary command buffers.

Instances

Instances details
Eq CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Ord CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Read CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Show CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Storable CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Bits CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

Methods

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

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

xor :: CommandBufferUsageFlagBits -> CommandBufferUsageFlagBits -> CommandBufferUsageFlagBits #

complement :: CommandBufferUsageFlagBits -> CommandBufferUsageFlagBits #

shift :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

rotate :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

zeroBits :: CommandBufferUsageFlagBits #

bit :: Int -> CommandBufferUsageFlagBits #

setBit :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

clearBit :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

complementBit :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

testBit :: CommandBufferUsageFlagBits -> Int -> Bool #

bitSizeMaybe :: CommandBufferUsageFlagBits -> Maybe Int #

bitSize :: CommandBufferUsageFlagBits -> Int #

isSigned :: CommandBufferUsageFlagBits -> Bool #

shiftL :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

unsafeShiftL :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

shiftR :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

unsafeShiftR :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

rotateL :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

rotateR :: CommandBufferUsageFlagBits -> Int -> CommandBufferUsageFlagBits #

popCount :: CommandBufferUsageFlagBits -> Int #

Zero CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

newtype CommandBufferResetFlagBits Source #

VkCommandBufferResetFlagBits - Bitmask controlling behavior of a command buffer reset

See Also

CommandBufferResetFlags

Bundled Patterns

pattern COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT :: CommandBufferResetFlagBits

COMMAND_BUFFER_RESET_RELEASE_RESOURCES_BIT specifies that most or all memory resources currently owned by the command buffer should be returned to the parent command pool. If this flag is not set, then the command buffer may hold onto memory resources and reuse them when recording commands. commandBuffer is moved to the initial state.

Instances

Instances details
Eq CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Ord CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Read CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Show CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Storable CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Bits CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Methods

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

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

xor :: CommandBufferResetFlagBits -> CommandBufferResetFlagBits -> CommandBufferResetFlagBits #

complement :: CommandBufferResetFlagBits -> CommandBufferResetFlagBits #

shift :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

rotate :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

zeroBits :: CommandBufferResetFlagBits #

bit :: Int -> CommandBufferResetFlagBits #

setBit :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

clearBit :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

complementBit :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

testBit :: CommandBufferResetFlagBits -> Int -> Bool #

bitSizeMaybe :: CommandBufferResetFlagBits -> Maybe Int #

bitSize :: CommandBufferResetFlagBits -> Int #

isSigned :: CommandBufferResetFlagBits -> Bool #

shiftL :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

unsafeShiftL :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

shiftR :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

unsafeShiftR :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

rotateL :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

rotateR :: CommandBufferResetFlagBits -> Int -> CommandBufferResetFlagBits #

popCount :: CommandBufferResetFlagBits -> Int #

Zero CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits