Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_KHR_get_memory_requirements2 - device extension
VK_KHR_get_memory_requirements2
- Name String
VK_KHR_get_memory_requirements2
- Extension Type
- Device extension
- Registered Extension Number
- 147
- Revision
- 1
- Ratification Status
- Ratified
- Extension and Version Dependencies; Deprecation State
- Promoted to Vulkan 1.1
- Contact
Other Extension Metadata
- Last Modified Date
- 2017-09-05
- IP Status
- No known IP claims.
- Interactions and External Dependencies
- Promoted to Vulkan 1.1 Core
- Contributors
- Faith Ekstrand, Intel
- Jeff Bolz, NVIDIA
- Jesse Hall, Google
Description
This extension provides new queries for memory requirements of images
and buffers that can be easily extended by other extensions, without
introducing any further entry points. The Vulkan 1.0
MemoryRequirements
and
SparseImageMemoryRequirements
structures do not include sType
and pNext
members. This extension
wraps them in new structures with these members, so an application can
query a chain of memory requirements structures by constructing the
chain and letting the implementation fill them in. A new command is
added for each vkGet*MemoryRequrements
command in core Vulkan 1.0.
Promotion to Vulkan 1.1
All functionality in this extension is included in core Vulkan 1.1, with the KHR suffix omitted. The original type, enum and command names are still available as aliases of the core functionality.
New Commands
New Structures
ImageMemoryRequirementsInfo2KHR
ImageSparseMemoryRequirementsInfo2KHR
MemoryRequirements2KHR
SparseImageMemoryRequirements2KHR
New Enum Constants
Version History
Revision 1, 2017-03-23 (Faith Ekstrand)
- Internal revisions
See Also
BufferMemoryRequirementsInfo2KHR
, ImageMemoryRequirementsInfo2KHR
,
ImageSparseMemoryRequirementsInfo2KHR
, MemoryRequirements2KHR
,
SparseImageMemoryRequirements2KHR
, getBufferMemoryRequirements2KHR
,
getImageMemoryRequirements2KHR
, getImageSparseMemoryRequirements2KHR
Document Notes
For more information, see the Vulkan Specification
This page is a generated document. Fixes and changes should be made to the generator scripts, not directly.
Documentation
getBufferMemoryRequirements2KHR :: forall {a :: [Type]} {io}. (Extendss MemoryRequirements2 a, PokeChain a, PeekChain a, MonadIO io) => Device -> BufferMemoryRequirementsInfo2 -> io (MemoryRequirements2 a) Source #
getImageMemoryRequirements2KHR :: forall {a :: [Type]} {b :: [Type]} {io}. (Extendss ImageMemoryRequirementsInfo2 a, Extendss MemoryRequirements2 b, PokeChain a, PokeChain b, PeekChain b, MonadIO io) => Device -> ImageMemoryRequirementsInfo2 a -> io (MemoryRequirements2 b) Source #
getImageSparseMemoryRequirements2KHR :: MonadIO io => Device -> ImageSparseMemoryRequirementsInfo2 -> io ("sparseMemoryRequirements" ::: Vector SparseImageMemoryRequirements2) Source #
pattern KHR_GET_MEMORY_REQUIREMENTS_2_SPEC_VERSION :: forall a. Integral a => a Source #
type KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME = "VK_KHR_get_memory_requirements2" Source #
pattern KHR_GET_MEMORY_REQUIREMENTS_2_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #