Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 #
:: 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 #
:: 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
-
descriptorType
must beDESCRIPTOR_TYPE_SAMPLED_IMAGE
,DESCRIPTOR_TYPE_STORAGE_IMAGE
, orDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
-
sampler
must be a validSampler
ifdescriptorType
isDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
- If descriptorType is
DESCRIPTOR_TYPE_SAMPLED_IMAGE
orDESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
, the image thatimageView
was created from must have been created with theIMAGE_USAGE_SAMPLED_BIT
usage bit set - If descriptorType is
DESCRIPTOR_TYPE_STORAGE_IMAGE
, the image thatimageView
was created from must have been created with theIMAGE_USAGE_STORAGE_BIT
usage bit set
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_IMAGE_VIEW_HANDLE_INFO_NVX
-
pNext
must beNULL
-
imageView
must be a validImageView
handle -
descriptorType
must be a validDescriptorType
value - If
sampler
is notNULL_HANDLE
,sampler
must be a validSampler
handle - Both of
imageView
, andsampler
that are valid handles of non-ignored parameters must have been created, allocated, or retrieved from the sameDevice
See Also
DescriptorType
,
ImageView
, Sampler
,
StructureType
,
getImageViewHandleNVX
ImageViewHandleInfoNVX | |
|
Instances
data ImageViewAddressPropertiesNVX Source #
VkImageViewAddressPropertiesNVX - Structure specifying the image view for handle queries
Valid Usage (Implicit)
See Also
DeviceAddress
,
DeviceSize
,
StructureType
,
getImageViewAddressNVX
ImageViewAddressPropertiesNVX | |
|
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 #