Class VkCoarseSampleLocationNV

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

public class VkCoarseSampleLocationNV extends org.lwjgl.system.Struct<VkCoarseSampleLocationNV> implements org.lwjgl.system.NativeResource
Structure specifying parameters controlling shading rate image usage.
Valid Usage
  • pixelX must be less than the width (in pixels) of the fragment
  • pixelY must be less than the height (in pixels) of the fragment
  • sample must be less than the number of coverage samples in each pixel belonging to the fragment
See Also

VkCoarseSampleOrderCustomNV

Layout


 struct VkCoarseSampleLocationNV {
     uint32_t pixelX();
     uint32_t pixelY();
     uint32_t sample();
 }
  • Field Details

    • SIZEOF

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

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

      public static final int PIXELX
      The struct member offsets.
    • PIXELY

      public static final int PIXELY
      The struct member offsets.
    • SAMPLE

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

    • VkCoarseSampleLocationNV

      public VkCoarseSampleLocationNV(ByteBuffer container)
      Creates a VkCoarseSampleLocationNV 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