Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- pattern VK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES :: VkStructureType
- pattern VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES :: VkStructureType
- pattern VK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2 :: VkStructureType
- pattern VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT :: VkDeviceQueueCreateFlagBits
- pattern VK_QUEUE_PROTECTED_BIT :: VkQueueFlagBits
- pattern VK_MEMORY_PROPERTY_PROTECTED_BIT :: VkMemoryPropertyFlagBits
- pattern VK_BUFFER_CREATE_PROTECTED_BIT :: VkBufferCreateFlagBits
- pattern VK_IMAGE_CREATE_PROTECTED_BIT :: VkImageCreateFlagBits
- pattern VK_COMMAND_POOL_CREATE_PROTECTED_BIT :: VkCommandPoolCreateFlagBits
- vkGetDeviceQueue2 :: ("device" ::: VkDevice) -> ("pQueueInfo" ::: Ptr VkDeviceQueueInfo2) -> ("pQueue" ::: Ptr VkQueue) -> IO ()
- data VkProtectedSubmitInfo = VkProtectedSubmitInfo {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkProtectedSubmit :: VkBool32
- data VkPhysicalDeviceProtectedMemoryFeatures = VkPhysicalDeviceProtectedMemoryFeatures {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkProtectedMemory :: VkBool32
- data VkPhysicalDeviceProtectedMemoryProperties = VkPhysicalDeviceProtectedMemoryProperties {
- vkSType :: VkStructureType
- vkPNext :: Ptr ()
- vkProtectedNoFault :: VkBool32
- data VkDeviceQueueInfo2 = VkDeviceQueueInfo2 {}
Documentation
pattern VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT :: VkDeviceQueueCreateFlagBits Source #
VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT
specifies that the device queue
is a protected-capable queue. If the protected memory feature is not
enabled, the VK_DEVICE_QUEUE_CREATE_PROTECTED_BIT
bit of flags
must not be set.
pattern VK_QUEUE_PROTECTED_BIT :: VkQueueFlagBits Source #
vkGetDeviceQueue2 :: ("device" ::: VkDevice) -> ("pQueueInfo" ::: Ptr VkDeviceQueueInfo2) -> ("pQueue" ::: Ptr VkQueue) -> IO () Source #
vkGetDeviceQueue2 - Get a queue handle from a device
Parameters
device
is the logical device that owns the queue.
pQueueInfo
points to an instance of theVkDeviceQueueInfo2
structure, describing the parameters used to create the device queue.pQueue
is a pointer to aVkQueue
object that will be filled with the handle for the requested queue.
Valid Usage (Implicit)
device
must be a validVkDevice
handle
pQueueInfo
must be a valid pointer to a validVkDeviceQueueInfo2
structurepQueue
must be a valid pointer to aVkQueue
handle
See Also
data VkProtectedSubmitInfo Source #
VkProtectedSubmitInfo - Structure indicating whether the submission is protected
Valid Usage
- If the protected memory feature is not enabled,
protectedSubmit
must not beVK_TRUE
.
- If
protectedSubmit
isVK_TRUE
, then each element of thepCommandBuffers
array must be a protected command buffer. - If
protectedSubmit
isVK_FALSE
, then each element of thepCommandBuffers
array must be an unprotected command buffer. - If the
VkSubmitInfo
::pNext
chain does not include aVkProtectedSubmitInfo
structure, then each element of the command buffer of thepCommandBuffers
array must be an unprotected command buffer.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PROTECTED_SUBMIT_INFO
See Also
VkBool32
, VkStructureType
VkProtectedSubmitInfo | |
|
Instances
Eq VkProtectedSubmitInfo Source # | |
(==) :: VkProtectedSubmitInfo -> VkProtectedSubmitInfo -> Bool # (/=) :: VkProtectedSubmitInfo -> VkProtectedSubmitInfo -> Bool # | |
Show VkProtectedSubmitInfo Source # | |
showsPrec :: Int -> VkProtectedSubmitInfo -> ShowS # show :: VkProtectedSubmitInfo -> String # showList :: [VkProtectedSubmitInfo] -> ShowS # | |
Storable VkProtectedSubmitInfo Source # | |
sizeOf :: VkProtectedSubmitInfo -> Int # alignment :: VkProtectedSubmitInfo -> Int # peekElemOff :: Ptr VkProtectedSubmitInfo -> Int -> IO VkProtectedSubmitInfo # pokeElemOff :: Ptr VkProtectedSubmitInfo -> Int -> VkProtectedSubmitInfo -> IO () # peekByteOff :: Ptr b -> Int -> IO VkProtectedSubmitInfo # pokeByteOff :: Ptr b -> Int -> VkProtectedSubmitInfo -> IO () # peek :: Ptr VkProtectedSubmitInfo -> IO VkProtectedSubmitInfo # poke :: Ptr VkProtectedSubmitInfo -> VkProtectedSubmitInfo -> IO () # |
data VkPhysicalDeviceProtectedMemoryFeatures Source #
VkPhysicalDeviceProtectedMemoryFeatures - Structure describing protected memory features that can be supported by an implementation
Description
If the VkPhysicalDeviceProtectedMemoryFeatures
structure is included
in the pNext
chain of
VkPhysicalDeviceFeatures2
,
it is filled with a value indicating whether the feature is supported.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_FEATURES
See Also
VkBool32
, VkStructureType
VkPhysicalDeviceProtectedMemoryFeatures | |
|
Instances
data VkPhysicalDeviceProtectedMemoryProperties Source #
VkPhysicalDeviceProtectedMemoryProperties - Structure describing protected memory properties that can be supported by an implementation
Description
If the VkPhysicalDeviceProtectedMemoryProperties
structure is included
in the pNext
chain of
VkPhysicalDeviceProperties2
,
it is filled with a value indicating the implementation-dependent
behavior.
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROTECTED_MEMORY_PROPERTIES
See Also
VkBool32
, VkStructureType
VkPhysicalDeviceProtectedMemoryProperties | |
|
Instances
data VkDeviceQueueInfo2 Source #
VkDeviceQueueInfo2 - Structure specifying the parameters used for device queue creation
Description
The queue returned by vkGetDeviceQueue2
must have the same flags
value from this structure as that used at device creation time in a
VkDeviceQueueCreateInfo
instance. If no matching flags
were
specified at device creation time then pQueue
will return
VK_NULL_HANDLE
.
Valid Usage
queueFamilyIndex
must be one of the queue family indices specified whendevice
was created, via theVkDeviceQueueCreateInfo
structure
queueIndex
must be less than the number of queues created for the specified queue family index andVkDeviceQueueCreateFlags
memberflags
equal to thisflags
value whendevice
was created, via thequeueCount
member of theVkDeviceQueueCreateInfo
structure
Valid Usage (Implicit)
sType
must beVK_STRUCTURE_TYPE_DEVICE_QUEUE_INFO_2
pNext
must beNULL
flags
must be a valid combination ofVkDeviceQueueCreateFlagBits
valuesflags
must not be0
See Also
VkDeviceQueueCreateFlags
,
VkStructureType
, vkGetDeviceQueue2
VkDeviceQueueInfo2 | |
|
Instances
Eq VkDeviceQueueInfo2 Source # | |
(==) :: VkDeviceQueueInfo2 -> VkDeviceQueueInfo2 -> Bool # (/=) :: VkDeviceQueueInfo2 -> VkDeviceQueueInfo2 -> Bool # | |
Show VkDeviceQueueInfo2 Source # | |
showsPrec :: Int -> VkDeviceQueueInfo2 -> ShowS # show :: VkDeviceQueueInfo2 -> String # showList :: [VkDeviceQueueInfo2] -> ShowS # | |
Storable VkDeviceQueueInfo2 Source # | |
sizeOf :: VkDeviceQueueInfo2 -> Int # alignment :: VkDeviceQueueInfo2 -> Int # peekElemOff :: Ptr VkDeviceQueueInfo2 -> Int -> IO VkDeviceQueueInfo2 # pokeElemOff :: Ptr VkDeviceQueueInfo2 -> Int -> VkDeviceQueueInfo2 -> IO () # peekByteOff :: Ptr b -> Int -> IO VkDeviceQueueInfo2 # pokeByteOff :: Ptr b -> Int -> VkDeviceQueueInfo2 -> IO () # peek :: Ptr VkDeviceQueueInfo2 -> IO VkDeviceQueueInfo2 # poke :: Ptr VkDeviceQueueInfo2 -> VkDeviceQueueInfo2 -> IO () # |