vulkan-3.13.1: 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 allocate multiple command buffers. If the allocation of any of those command buffers fails, the implementation must free all successfully allocated command buffer objects from this command, set all entries of the pCommandBuffers array to NULL and return the error.

Note

Filling pCommandBuffers with NULL values on failure is an exception to the default error behavior that output parameters will have undefined contents.

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

VK_VERSION_1_0, 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 last argument. To just extract the pair pass (,) as the last 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

  • All elements of pCommandBuffers must not be in the pending state
  • 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

VK_VERSION_1_0, 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 is a pointer 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

VK_VERSION_1_0, 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

VK_VERSION_1_0, 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
  • Host access to the CommandPool that commandBuffer was allocated from must be externally synchronized

Return Codes

Success
Failure

See Also

VK_VERSION_1_0, CommandBuffer, CommandBufferResetFlags

data CommandBufferAllocateInfo Source #

VkCommandBufferAllocateInfo - Structure specifying the allocation parameters for command buffer object

Valid Usage (Implicit)

See Also

VK_VERSION_1_0, 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

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

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

VkCommandBufferInheritanceInfo - Structure specifying command buffer inheritance information

Description

If the CommandBuffer will not be executed within a render pass instance, or if the render pass instance was begun with cmdBeginRenderingKHR, renderPass, subpass, and framebuffer are ignored.

Valid Usage

Valid Usage (Implicit)

See Also

VK_VERSION_1_0, 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.

  • subpass :: Word32

    subpass is the index of the subpass within the render pass instance that the CommandBuffer will be executed within.

  • framebuffer :: Framebuffer

    framebuffer can refer 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.

    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

extensibleTypeName :: String 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

(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

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

VkCommandBufferBeginInfo - Structure specifying a command buffer begin operation

Valid Usage

Valid Usage (Implicit)

See Also

VK_VERSION_1_0, CommandBufferInheritanceInfo, CommandBufferUsageFlags, StructureType, beginCommandBuffer

Constructors

CommandBufferBeginInfo 

Fields

Instances

Instances details
Extensible CommandBufferBeginInfo Source # 
Instance details

Defined in Vulkan.Core10.CommandBuffer

Methods

extensibleTypeName :: String 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

(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

data CommandBuffer Source #

VkCommandBuffer - Opaque handle to a command buffer object

See Also

VK_VERSION_1_0, CommandBufferSubmitInfoKHR, SubmitInfo, allocateCommandBuffers, beginCommandBuffer, cmdBeginConditionalRenderingEXT, cmdBeginDebugUtilsLabelEXT, cmdBeginQuery, cmdBeginQueryIndexedEXT, cmdBeginRenderPass, cmdBeginRenderPass2, cmdBeginRenderPass2KHR, cmdBeginRenderingKHR, cmdBeginTransformFeedbackEXT, vkCmdBeginVideoCodingKHR, cmdBindDescriptorSets, cmdBindIndexBuffer, cmdBindInvocationMaskHUAWEI, cmdBindPipeline, cmdBindPipelineShaderGroupNV, cmdBindShadingRateImageNV, cmdBindTransformFeedbackBuffersEXT, cmdBindVertexBuffers, cmdBindVertexBuffers2EXT, cmdBlitImage, cmdBlitImage2KHR, cmdBuildAccelerationStructureNV, cmdBuildAccelerationStructuresIndirectKHR, cmdBuildAccelerationStructuresKHR, cmdClearAttachments, cmdClearColorImage, cmdClearDepthStencilImage, vkCmdControlVideoCodingKHR, cmdCopyAccelerationStructureKHR, cmdCopyAccelerationStructureNV, cmdCopyAccelerationStructureToMemoryKHR, cmdCopyBuffer, cmdCopyBuffer2KHR, cmdCopyBufferToImage, cmdCopyBufferToImage2KHR, cmdCopyImage, cmdCopyImage2KHR, cmdCopyImageToBuffer, cmdCopyImageToBuffer2KHR, cmdCopyMemoryToAccelerationStructureKHR, cmdCopyQueryPoolResults, cmdCuLaunchKernelNVX, cmdDebugMarkerBeginEXT, cmdDebugMarkerEndEXT, cmdDebugMarkerInsertEXT, vkCmdDecodeVideoKHR, cmdDispatch, cmdDispatchBase, cmdDispatchBaseKHR, cmdDispatchIndirect, cmdDraw, cmdDrawIndexed, cmdDrawIndexedIndirect, cmdDrawIndexedIndirectCount, cmdDrawIndexedIndirectCountAMD, cmdDrawIndexedIndirectCountKHR, cmdDrawIndirect, cmdDrawIndirectByteCountEXT, cmdDrawIndirectCount, cmdDrawIndirectCountAMD, cmdDrawIndirectCountKHR, cmdDrawMeshTasksIndirectCountNV, cmdDrawMeshTasksIndirectNV, cmdDrawMeshTasksNV, cmdDrawMultiEXT, cmdDrawMultiIndexedEXT, vkCmdEncodeVideoKHR, cmdEndConditionalRenderingEXT, cmdEndDebugUtilsLabelEXT, cmdEndQuery, cmdEndQueryIndexedEXT, cmdEndRenderPass, cmdEndRenderPass2, cmdEndRenderPass2KHR, cmdEndRenderingKHR, cmdEndTransformFeedbackEXT, vkCmdEndVideoCodingKHR, cmdExecuteCommands, cmdExecuteGeneratedCommandsNV, cmdFillBuffer, cmdInsertDebugUtilsLabelEXT, cmdNextSubpass, cmdNextSubpass2, cmdNextSubpass2KHR, cmdPipelineBarrier, cmdPipelineBarrier2KHR, cmdPreprocessGeneratedCommandsNV, cmdPushConstants, cmdPushDescriptorSetKHR, cmdPushDescriptorSetWithTemplateKHR, cmdResetEvent, cmdResetEvent2KHR, cmdResetQueryPool, cmdResolveImage, cmdResolveImage2KHR, cmdSetBlendConstants, cmdSetCheckpointNV, cmdSetCoarseSampleOrderNV, cmdSetColorWriteEnableEXT, cmdSetCullModeEXT, cmdSetDepthBias, cmdSetDepthBiasEnableEXT, cmdSetDepthBounds, cmdSetDepthBoundsTestEnableEXT, cmdSetDepthCompareOpEXT, cmdSetDepthTestEnableEXT, cmdSetDepthWriteEnableEXT, cmdSetDeviceMask, cmdSetDeviceMaskKHR, cmdSetDiscardRectangleEXT, cmdSetEvent, cmdSetEvent2KHR, cmdSetExclusiveScissorNV, cmdSetFragmentShadingRateEnumNV, cmdSetFragmentShadingRateKHR, cmdSetFrontFaceEXT, cmdSetLineStippleEXT, cmdSetLineWidth, cmdSetLogicOpEXT, cmdSetPatchControlPointsEXT, cmdSetPerformanceMarkerINTEL, cmdSetPerformanceOverrideINTEL, cmdSetPerformanceStreamMarkerINTEL, cmdSetPrimitiveRestartEnableEXT, cmdSetPrimitiveTopologyEXT, cmdSetRasterizerDiscardEnableEXT, cmdSetRayTracingPipelineStackSizeKHR, cmdSetSampleLocationsEXT, cmdSetScissor, cmdSetScissorWithCountEXT, cmdSetStencilCompareMask, cmdSetStencilOpEXT, cmdSetStencilReference, cmdSetStencilTestEnableEXT, cmdSetStencilWriteMask, cmdSetVertexInputEXT, cmdSetViewport, cmdSetViewportShadingRatePaletteNV, cmdSetViewportWScalingNV, cmdSetViewportWithCountEXT, cmdSubpassShadingHUAWEI, cmdTraceRaysIndirectKHR, cmdTraceRaysKHR, cmdTraceRaysNV, cmdUpdateBuffer, cmdWaitEvents, cmdWaitEvents2KHR, cmdWriteAccelerationStructuresPropertiesKHR, cmdWriteAccelerationStructuresPropertiesNV, cmdWriteBufferMarker2AMD, cmdWriteBufferMarkerAMD, cmdWriteTimestamp, cmdWriteTimestamp2KHR, endCommandBuffer, freeCommandBuffers, resetCommandBuffer

newtype CommandBufferLevel Source #

VkCommandBufferLevel - Enumerant specifying a command buffer level

See Also

VK_VERSION_1_0, 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

VK_VERSION_1_0, 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

FiniteBits 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

VK_VERSION_1_0, 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 #

FiniteBits CommandBufferUsageFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferUsageFlagBits

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

VK_VERSION_1_0, 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 #

FiniteBits CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits

Zero CommandBufferResetFlagBits Source # 
Instance details

Defined in Vulkan.Core10.Enums.CommandBufferResetFlagBits