| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_NVX_image_view_handle
Description
Name
VK_NVX_image_view_handle - device extension
VK_NVX_image_view_handle
- Name String
VK_NVX_image_view_handle
- Extension Type
- Device extension
- Registered Extension Number
- 31
- Revision
- 2
- Extension and Version Dependencies
- Requires Vulkan 1.0
- Contact
Other Extension Metadata
- Last Modified Date
- 2020-04-03
- Contributors
- Eric Werness, NVIDIA
- Jeff Bolz, NVIDIA
- Daniel Koch, NVIDIA
Description
This extension allows applications to query an opaque handle from an image view for use as a sampled image or storage image. This provides no direct functionality itself.
New Commands
New Structures
New Enum Constants
Version History
Revision 2, 2020-04-03 (Piers Daniell)
Revision 1, 2018-12-07 (Eric Werness)
- Internal revisions
See Also
ImageViewAddressPropertiesNVX, ImageViewHandleInfoNVX,
getImageViewAddressNVX, getImageViewHandleNVX
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
- getImageViewHandleNVX :: forall io. MonadIO io => Device -> ImageViewHandleInfoNVX -> io Word32
- getImageViewAddressNVX :: forall io. MonadIO io => Device -> ImageView -> io ImageViewAddressPropertiesNVX
- data ImageViewHandleInfoNVX = ImageViewHandleInfoNVX {}
- data ImageViewAddressPropertiesNVX = ImageViewAddressPropertiesNVX {}
- type NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION = 2
- pattern NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION :: forall a. Integral a => a
- type NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME = "VK_NVX_image_view_handle"
- pattern NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
getImageViewHandleNVX Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> ImageViewHandleInfoNVX |
|
| -> io Word32 |
vkGetImageViewHandleNVX - Get the handle for an image view for a specific descriptor type
Valid Usage (Implicit)
See Also
getImageViewAddressNVX Source #
Arguments
| :: forall io. MonadIO io | |
| => Device |
|
| -> ImageView |
|
| -> io ImageViewAddressPropertiesNVX |
vkGetImageViewAddressNVX - Get the device address of an image view
Return Codes
See Also
data ImageViewHandleInfoNVX Source #
VkImageViewHandleInfoNVX - Structure specifying the image view for handle queries
Valid Usage
-
descriptorTypemust beDESCRIPTOR_TYPE_SAMPLED_IMAGE,DESCRIPTOR_TYPE_STORAGE_IMAGE, orDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
-
samplermust be a validSamplerifdescriptorTypeisDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER - If descriptorType is
DESCRIPTOR_TYPE_SAMPLED_IMAGEorDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, the image thatimageViewwas created from must have been created with theIMAGE_USAGE_SAMPLED_BITusage bit set - If descriptorType is
DESCRIPTOR_TYPE_STORAGE_IMAGE, the image thatimageViewwas created from must have been created with theIMAGE_USAGE_STORAGE_BITusage bit set
Valid Usage (Implicit)
-
sTypemust beSTRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX
-
pNextmust beNULL -
imageViewmust be a validImageViewhandle -
descriptorTypemust be a validDescriptorTypevalue - If
sampleris notNULL_HANDLE,samplermust be a validSamplerhandle - Both of
imageView, andsamplerthat are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameDevice
See Also
DescriptorType,
ImageView, Sampler,
StructureType,
getImageViewHandleNVX
Constructors
| ImageViewHandleInfoNVX | |
Fields
| |
Instances
data ImageViewAddressPropertiesNVX Source #
VkImageViewAddressPropertiesNVX - Structure specifying the image view for handle queries
Valid Usage (Implicit)
See Also
DeviceAddress,
DeviceSize,
StructureType,
getImageViewAddressNVX
Constructors
| ImageViewAddressPropertiesNVX | |
Fields
| |
Instances
type NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION = 2 Source #
pattern NVX_IMAGE_VIEW_HANDLE_SPEC_VERSION :: forall a. Integral a => a Source #
type NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME = "VK_NVX_image_view_handle" Source #
pattern NVX_IMAGE_VIEW_HANDLE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #