Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- data ImageViewASTCDecodeModeEXT = ImageViewASTCDecodeModeEXT {
- decodeMode :: Format
- data PhysicalDeviceASTCDecodeFeaturesEXT = PhysicalDeviceASTCDecodeFeaturesEXT {}
- type EXT_ASTC_DECODE_MODE_SPEC_VERSION = 1
- pattern EXT_ASTC_DECODE_MODE_SPEC_VERSION :: forall a. Integral a => a
- type EXT_ASTC_DECODE_MODE_EXTENSION_NAME = "VK_EXT_astc_decode_mode"
- pattern EXT_ASTC_DECODE_MODE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data ImageViewASTCDecodeModeEXT Source #
VkImageViewASTCDecodeModeEXT - Structure describing the ASTC decode mode for an image view
Valid Usage
decodeMode
must be one ofFORMAT_R16G16B16A16_SFLOAT
,FORMAT_R8G8B8A8_UNORM
, orFORMAT_E5B9G9R9_UFLOAT_PACK32
- If the
decodeModeSharedExponent
feature is not enabled,
decodeMode
must not beFORMAT_E5B9G9R9_UFLOAT_PACK32
- If
decodeMode
isFORMAT_R8G8B8A8_UNORM
the image view must not include blocks using any of the ASTC HDR modes format
of the image view must be one of the ASTC Compressed Image Formats
If format
uses sRGB encoding then the decodeMode
has no effect.
Valid Usage (Implicit)
sType
must beSTRUCTURE_TYPE_IMAGE_VIEW_ASTC_DECODE_MODE_EXT
decodeMode
must be a validFormat
value
See Also
ImageViewASTCDecodeModeEXT | |
|
Instances
data PhysicalDeviceASTCDecodeFeaturesEXT Source #
VkPhysicalDeviceASTCDecodeFeaturesEXT - Structure describing ASTC decode mode features
Members
The members of the PhysicalDeviceASTCDecodeFeaturesEXT
structure
describe the following features:
Description
If the PhysicalDeviceASTCDecodeFeaturesEXT
structure is included in
the pNext
chain of
PhysicalDeviceFeatures2
,
it is filled with values indicating whether each feature is supported.
PhysicalDeviceASTCDecodeFeaturesEXT
can also be included in the
pNext
chain of createDevice
to enable features.
Valid Usage (Implicit)
See Also
PhysicalDeviceASTCDecodeFeaturesEXT | |
|
Instances
type EXT_ASTC_DECODE_MODE_SPEC_VERSION = 1 Source #
pattern EXT_ASTC_DECODE_MODE_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_ASTC_DECODE_MODE_EXTENSION_NAME = "VK_EXT_astc_decode_mode" Source #
pattern EXT_ASTC_DECODE_MODE_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #