Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 :: forall io. MonadIO io => Device -> ImageViewHandleInfoNVX -> io Word32 Source #
vkGetImageViewHandleNVX - Get the handle for an image view for a specific descriptor type
Parameters
device
is the logical device that owns the image view.
pInfo
describes the image view to query and type of handle.
Valid Usage (Implicit)
See Also
getImageViewAddressNVX :: forall io. MonadIO io => Device -> ImageView -> io ImageViewAddressPropertiesNVX Source #
vkGetImageViewAddressNVX - Get the device address of an image view
Parameters
device
is the logical device that owns the image view.
imageView
is a handle to the image view.pProperties
contains the device address and size when the call returns.
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
handledescriptorType
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 #