VkImageViewMinLodCreateInfoEXT
The VkImageViewMinLodCreateInfoEXT structure is defined as:
typedef struct VkImageViewMinLodCreateInfoEXT {
VkStructureType sType;
const void* pNext;
float minLod;
} VkImageViewMinLodCreateInfoEXT;
sTypeis a VkStructureType value identifying this structure.pNextisNULLor a pointer to a structure extending this structure.minLodis the value to clamp the minimum LOD accessible by this VkImageView.
If the pNext chain includes a VkImageViewMinLodCreateInfoEXT
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 VkImageViewMinLodCreateInfoEXT 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
VUID-VkImageViewMinLodCreateInfoEXT-minLod-06455
If the minLod feature is not enabled,
minLod must be 0.0
VUID-VkImageViewMinLodCreateInfoEXT-minLod-06456
minLod must be less or equal to the index of the last mipmap
level accessible to the view
Valid Usage (Implicit)
VUID-VkImageViewMinLodCreateInfoEXT-sType-sType
sType must be VK_STRUCTURE_TYPE_IMAGE_VIEW_MIN_LOD_CREATE_INFO_EXT