Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Name
VK_EXT_image_view_min_lod - device extension
VK_EXT_image_view_min_lod
- Name String
VK_EXT_image_view_min_lod
- Extension Type
- Device extension
- Registered Extension Number
- 392
- Revision
- 1
- Extension and Version Dependencies
- Requires support for Vulkan 1.0
- Requires
VK_KHR_get_physical_device_properties2
to be enabled for any device-level functionality
- Contact
Other Extension Metadata
- Last Modified Date
- 2021-11-09
- IP Status
- No known IP claims.
- Contributors
- Joshua Ashton, Valve
- Hans-Kristian Arntzen, Valve
- Samuel Iglesias Gonsalvez, Igalia
- Tobias Hector, AMD
- Jason Ekstrand, Intel
- Tom Olson, ARM
Description
This extension allows applications to clamp the minimum LOD value during
Image Level(s) Selection,
Texel Gathering
and
Integer Texel Coordinate Operations
with a given ImageView
by
ImageViewMinLodCreateInfoEXT
::minLod
.
This extension may be useful to restrict a
ImageView
to only mips which have been uploaded,
and the use of fractional minLod
can be useful for smoothly
introducing new mip levels when using linear mipmap filtering.
New Structures
New Enum Constants
Version History
Revision 1, 2021-07-06 (Joshua Ashton)
- Initial version
See Also
ImageViewMinLodCreateInfoEXT
,
PhysicalDeviceImageViewMinLodFeaturesEXT
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
- data PhysicalDeviceImageViewMinLodFeaturesEXT = PhysicalDeviceImageViewMinLodFeaturesEXT {}
- data ImageViewMinLodCreateInfoEXT = ImageViewMinLodCreateInfoEXT {}
- type EXT_IMAGE_VIEW_MIN_LOD_SPEC_VERSION = 1
- pattern EXT_IMAGE_VIEW_MIN_LOD_SPEC_VERSION :: forall a. Integral a => a
- type EXT_IMAGE_VIEW_MIN_LOD_EXTENSION_NAME = "VK_EXT_image_view_min_lod"
- pattern EXT_IMAGE_VIEW_MIN_LOD_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a
Documentation
data PhysicalDeviceImageViewMinLodFeaturesEXT Source #
VkPhysicalDeviceImageViewMinLodFeaturesEXT - Structure describing whether clamping the min lod of a image view is supported by the implementation
Members
This structure describes the following feature:
Description
If the PhysicalDeviceImageViewMinLodFeaturesEXT
structure is included
in the pNext
chain of the
PhysicalDeviceFeatures2
structure passed to
getPhysicalDeviceFeatures2
,
it is filled in to indicate whether each corresponding feature is
supported. PhysicalDeviceImageViewMinLodFeaturesEXT
can also be used
in the pNext
chain of DeviceCreateInfo
to
selectively enable these features.
Valid Usage (Implicit)
See Also
PhysicalDeviceImageViewMinLodFeaturesEXT | |
|
Instances
data ImageViewMinLodCreateInfoEXT Source #
VkImageViewMinLodCreateInfoEXT - Structure describing the minimum lod of an image view
Description
If the pNext
chain includes a ImageViewMinLodCreateInfoEXT
structure, then that structure includes a parameter specifying a value
to clamp the minimum LOD value during
Image Level(s) Selection,
Texel Gathering
and
Integer Texel Coordinate Operations.
If the image view contains ImageViewMinLodCreateInfoEXT
and it is used
as part of a sampling operation:
minLodFloatimageView = minLod
otherwise:
minLodFloatimageView = 0.0
An integer variant of this parameter is also defined for sampling operations which access integer mipmap levels:
minLodIntegerimageView = ⌊minLodFloatimageView⌋
Valid Usage
- If the
minLod
feature is not enabled,
minLod
must be0.0
Valid Usage (Implicit)
-
sType
must beSTRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT
See Also
Instances
type EXT_IMAGE_VIEW_MIN_LOD_SPEC_VERSION = 1 Source #
pattern EXT_IMAGE_VIEW_MIN_LOD_SPEC_VERSION :: forall a. Integral a => a Source #
type EXT_IMAGE_VIEW_MIN_LOD_EXTENSION_NAME = "VK_EXT_image_view_min_lod" Source #
pattern EXT_IMAGE_VIEW_MIN_LOD_EXTENSION_NAME :: forall a. (Eq a, IsString a) => a Source #