| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Vulkan.Extensions.VK_NVX_image_view_handle
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 beNULLimageViewmust be a validImageViewhandledescriptorTypemust 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 #