Class VkImageViewMinLodCreateInfoEXT

java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkImageViewMinLodCreateInfoEXT>
org.lwjgl.vulkan.VkImageViewMinLodCreateInfoEXT
All Implemented Interfaces:
AutoCloseable, org.lwjgl.system.NativeResource, org.lwjgl.system.Pointer

public class VkImageViewMinLodCreateInfoEXT extends org.lwjgl.system.Struct<VkImageViewMinLodCreateInfoEXT> implements org.lwjgl.system.NativeResource
Structure describing the minimum LOD of an image view.
Description

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
  • If the minLod feature is not enabled, minLod must be 0.0
  • minLod must be less or equal to the index of the last mipmap level accessible to the view
Valid Usage (Implicit)

Layout


 struct VkImageViewMinLodCreateInfoEXT {
     VkStructureType sType();
     void const * pNext();
     float minLod();
 }
  • Field Details

    • SIZEOF

      public static final int SIZEOF
      The struct size in bytes.
    • ALIGNOF

      public static final int ALIGNOF
      The struct alignment in bytes.
    • STYPE

      public static final int STYPE
      The struct member offsets.
    • PNEXT

      public static final int PNEXT
      The struct member offsets.
    • MINLOD

      public static final int MINLOD
      The struct member offsets.
  • Constructor Details

    • VkImageViewMinLodCreateInfoEXT

      public VkImageViewMinLodCreateInfoEXT(ByteBuffer container)
      Creates a VkImageViewMinLodCreateInfoEXT instance at the current position of the specified ByteBuffer container. Changes to the buffer's content will be visible to the struct instance and vice versa.

      The created instance holds a strong reference to the container object.

  • Method Details