| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_VALVE_descriptor_set_host_mapping
Description
Name
VK_VALVE_descriptor_set_host_mapping - device extension
VK_VALVE_descriptor_set_host_mapping
- Name String
VK_VALVE_descriptor_set_host_mapping
- Extension Type
- Device extension
- Registered Extension Number
- 421
- Revision
- 1
- Ratification Status
- Not ratified
- Extension and Version Dependencies
- VK_KHR_get_physical_device_properties2
- Special Use
- Contact
Other Extension Metadata
- Last Modified Date
- 2022-02-22
- IP Status
- No known IP claims.
- Contributors
- Hans-Kristian Arntzen, Valve
Description
This extension allows applications to directly query a host pointer for
a DescriptorSet which can be used to copy
descriptors between descriptor sets without the use of an API command.
Memory offsets and sizes for descriptors can be queried from a
DescriptorSetLayout as well.
Note
There is currently no specification language written for this extension. The links to APIs defined by the extension are to stubs that only include generated content such as API declarations and implicit valid usage statements.
Note
This extension is only intended for use in specific embedded environments with known implementation details, and is therefore undocumented.
New Commands
New Structures
New Enum Constants
Stub API References
There is currently no specification language written for this command. This section acts only as placeholder and to avoid dead links in the specification and reference pages.
// Provided by VK_VALVE_descriptor_set_host_mapping
void vkGetDescriptorSetLayoutHostMappingInfoVALVE(
VkDevice device,
const VkDescriptorSetBindingReferenceVALVE* pBindingReference,
VkDescriptorSetLayoutHostMappingInfoVALVE* pHostMapping);Valid Usage (Implicit)
-
devicemust be a validDevicehandle
-
pBindingReferencemust be a valid pointer to a validDescriptorSetBindingReferenceVALVEstructure -
pHostMappingmust be a valid pointer to aDescriptorSetLayoutHostMappingInfoVALVEstructure
There is currently no specification language written for this command. This section acts only as placeholder and to avoid dead links in the specification and reference pages.
// Provided by VK_VALVE_descriptor_set_host_mapping
void vkGetDescriptorSetHostMappingVALVE(
VkDevice device,
VkDescriptorSet descriptorSet,
void** ppData);Valid Usage (Implicit)
-
devicemust be a validDevicehandle
-
descriptorSetmust be a validDescriptorSethandle -
ppDatamust be a valid pointer to a pointer value -
descriptorSetmust have been created, allocated, or retrieved fromdevice
There is currently no specification language written for this type. This section acts only as placeholder and to avoid dead links in the specification and reference pages.
// Provided by VK_VALVE_descriptor_set_host_mapping
typedef struct VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE {
VkStructureType sType;
void* pNext;
VkBool32 descriptorSetHostMapping;
} VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE;Valid Usage (Implicit)
There is currently no specification language written for this type. This section acts only as placeholder and to avoid dead links in the specification and reference pages.
// Provided by VK_VALVE_descriptor_set_host_mapping
typedef struct VkDescriptorSetBindingReferenceVALVE {
VkStructureType sType;
const void* pNext;
VkDescriptorSetLayout descriptorSetLayout;
uint32_t binding;
} VkDescriptorSetBindingReferenceVALVE;Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_DESCRIPTOR_SET_BINDING_REFERENCE_VALVE
-
pNextmust beNULL -
descriptorSetLayoutmust be a validDescriptorSetLayouthandle
There is currently no specification language written for this type. This section acts only as placeholder and to avoid dead links in the specification and reference pages.
// Provided by VK_VALVE_descriptor_set_host_mapping
typedef struct VkDescriptorSetLayoutHostMappingInfoVALVE {
VkStructureType sType;
void* pNext;
size_t descriptorOffset;
uint32_t descriptorSize;
} VkDescriptorSetLayoutHostMappingInfoVALVE;Valid Usage (Implicit)
Version History
Revision 1, 2022-02-22 (Hans-Kristian Arntzen)
- Initial specification
See Also
DescriptorSetBindingReferenceVALVE,
DescriptorSetLayoutHostMappingInfoVALVE,
PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE,
getDescriptorSetHostMappingVALVE,
getDescriptorSetLayoutHostMappingInfoVALVE
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.
Synopsis
- getDescriptorSetLayoutHostMappingInfoVALVE :: forall io. MonadIO io => Device -> DescriptorSetBindingReferenceVALVE -> io DescriptorSetLayoutHostMappingInfoVALVE
- getDescriptorSetHostMappingVALVE :: forall io. MonadIO io => Device -> DescriptorSet -> io ("data" ::: Ptr ())
- data PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE = PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE {}
- data DescriptorSetBindingReferenceVALVE = DescriptorSetBindingReferenceVALVE {}
- data DescriptorSetLayoutHostMappingInfoVALVE = DescriptorSetLayoutHostMappingInfoVALVE {}
- type VALVE_DESCRIPTOR_SET_HOST_MAPPING_SPEC_VERSION = 1
- pattern VALVE_DESCRIPTOR_SET_HOST_MAPPING_SPEC_VERSION :: forall a. Integral a => a
- type VALVE_DESCRIPTOR_SET_HOST_MAPPING_EXTENSION_NAME = "VK_VALVE_descriptor_set_host_mapping"
- pattern VALVE_DESCRIPTOR_SET_HOST_MAPPING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
getDescriptorSetLayoutHostMappingInfoVALVE Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> DescriptorSetBindingReferenceVALVE |
|
| -> io DescriptorSetLayoutHostMappingInfoVALVE |
vkGetDescriptorSetLayoutHostMappingInfoVALVE - Stub description of vkGetDescriptorSetLayoutHostMappingInfoVALVE
Valid Usage (Implicit)
See Also
VK_VALVE_descriptor_set_host_mapping,
DescriptorSetBindingReferenceVALVE,
DescriptorSetLayoutHostMappingInfoVALVE,
Device
getDescriptorSetHostMappingVALVE Source #
Arguments
| :: forall io. MonadIO io | |
| => Device | |
| -> DescriptorSet |
|
| -> io ("data" ::: Ptr ()) |
vkGetDescriptorSetHostMappingVALVE - Stub description of vkGetDescriptorSetHostMappingVALVE
Valid Usage (Implicit)
See Also
data PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE Source #
VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE - Stub description of VkPhysicalDeviceDescriptorSetHostMappingFeaturesVALVE
Valid Usage (Implicit)
See Also
Constructors
| PhysicalDeviceDescriptorSetHostMappingFeaturesVALVE | |
Fields | |
Instances
data DescriptorSetBindingReferenceVALVE Source #
VkDescriptorSetBindingReferenceVALVE - Stub description of VkDescriptorSetBindingReferenceVALVE
Valid Usage (Implicit)
See Also
VK_VALVE_descriptor_set_host_mapping,
DescriptorSetLayout,
StructureType,
getDescriptorSetLayoutHostMappingInfoVALVE
Constructors
| DescriptorSetBindingReferenceVALVE | |
Fields
| |
Instances
data DescriptorSetLayoutHostMappingInfoVALVE Source #
VkDescriptorSetLayoutHostMappingInfoVALVE - Stub description of VkDescriptorSetLayoutHostMappingInfoVALVE
Valid Usage (Implicit)
See Also
VK_VALVE_descriptor_set_host_mapping,
StructureType,
getDescriptorSetLayoutHostMappingInfoVALVE
Constructors
| DescriptorSetLayoutHostMappingInfoVALVE | |
Fields | |
Instances
pattern VALVE_DESCRIPTOR_SET_HOST_MAPPING_SPEC_VERSION :: forall a. Integral a => a Source #
type VALVE_DESCRIPTOR_SET_HOST_MAPPING_EXTENSION_NAME = "VK_VALVE_descriptor_set_host_mapping" Source #
pattern VALVE_DESCRIPTOR_SET_HOST_MAPPING_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #