Class VkPhysicalDeviceTileShadingFeaturesQCOM

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceTileShadingFeaturesQCOM extends Struct<VkPhysicalDeviceTileShadingFeaturesQCOM> implements NativeResource

 struct VkPhysicalDeviceTileShadingFeaturesQCOM {
     VkStructureType sType;
     void * pNext;
     VkBool32 tileShading;
     VkBool32 tileShadingFragmentStage;
     VkBool32 tileShadingColorAttachments;
     VkBool32 tileShadingDepthAttachments;
     VkBool32 tileShadingStencilAttachments;
     VkBool32 tileShadingInputAttachments;
     VkBool32 tileShadingSampledAttachments;
     VkBool32 tileShadingPerTileDraw;
     VkBool32 tileShadingPerTileDispatch;
     VkBool32 tileShadingDispatchTile;
     VkBool32 tileShadingApron;
     VkBool32 tileShadingAnisotropicApron;
     VkBool32 tileShadingAtomicOps;
     VkBool32 tileShadingImageProcessing;
 }
  • 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.
    • TILESHADING

      public static final int TILESHADING
      The struct member offsets.
    • TILESHADINGFRAGMENTSTAGE

      public static final int TILESHADINGFRAGMENTSTAGE
      The struct member offsets.
    • TILESHADINGCOLORATTACHMENTS

      public static final int TILESHADINGCOLORATTACHMENTS
      The struct member offsets.
    • TILESHADINGDEPTHATTACHMENTS

      public static final int TILESHADINGDEPTHATTACHMENTS
      The struct member offsets.
    • TILESHADINGSTENCILATTACHMENTS

      public static final int TILESHADINGSTENCILATTACHMENTS
      The struct member offsets.
    • TILESHADINGINPUTATTACHMENTS

      public static final int TILESHADINGINPUTATTACHMENTS
      The struct member offsets.
    • TILESHADINGSAMPLEDATTACHMENTS

      public static final int TILESHADINGSAMPLEDATTACHMENTS
      The struct member offsets.
    • TILESHADINGPERTILEDRAW

      public static final int TILESHADINGPERTILEDRAW
      The struct member offsets.
    • TILESHADINGPERTILEDISPATCH

      public static final int TILESHADINGPERTILEDISPATCH
      The struct member offsets.
    • TILESHADINGDISPATCHTILE

      public static final int TILESHADINGDISPATCHTILE
      The struct member offsets.
    • TILESHADINGAPRON

      public static final int TILESHADINGAPRON
      The struct member offsets.
    • TILESHADINGANISOTROPICAPRON

      public static final int TILESHADINGANISOTROPICAPRON
      The struct member offsets.
    • TILESHADINGATOMICOPS

      public static final int TILESHADINGATOMICOPS
      The struct member offsets.
    • TILESHADINGIMAGEPROCESSING

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

    • VkPhysicalDeviceTileShadingFeaturesQCOM

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

    • sizeof

      public int sizeof()
      Description copied from class: Struct
      Returns sizeof(struct).
      Specified by:
      sizeof in class Struct<VkPhysicalDeviceTileShadingFeaturesQCOM>
    • sType

      public int sType()
      Returns:
      the value of the sType field.
    • pNext

      public long pNext()
      Returns:
      the value of the pNext field.
    • tileShading

      public boolean tileShading()
      Returns:
      the value of the tileShading field.
    • tileShadingFragmentStage

      public boolean tileShadingFragmentStage()
      Returns:
      the value of the tileShadingFragmentStage field.
    • tileShadingColorAttachments

      public boolean tileShadingColorAttachments()
      Returns:
      the value of the tileShadingColorAttachments field.
    • tileShadingDepthAttachments

      public boolean tileShadingDepthAttachments()
      Returns:
      the value of the tileShadingDepthAttachments field.
    • tileShadingStencilAttachments

      public boolean tileShadingStencilAttachments()
      Returns:
      the value of the tileShadingStencilAttachments field.
    • tileShadingInputAttachments

      public boolean tileShadingInputAttachments()
      Returns:
      the value of the tileShadingInputAttachments field.
    • tileShadingSampledAttachments

      public boolean tileShadingSampledAttachments()
      Returns:
      the value of the tileShadingSampledAttachments field.
    • tileShadingPerTileDraw

      public boolean tileShadingPerTileDraw()
      Returns:
      the value of the tileShadingPerTileDraw field.
    • tileShadingPerTileDispatch

      public boolean tileShadingPerTileDispatch()
      Returns:
      the value of the tileShadingPerTileDispatch field.
    • tileShadingDispatchTile

      public boolean tileShadingDispatchTile()
      Returns:
      the value of the tileShadingDispatchTile field.
    • tileShadingApron

      public boolean tileShadingApron()
      Returns:
      the value of the tileShadingApron field.
    • tileShadingAnisotropicApron

      public boolean tileShadingAnisotropicApron()
      Returns:
      the value of the tileShadingAnisotropicApron field.
    • tileShadingAtomicOps

      public boolean tileShadingAtomicOps()
      Returns:
      the value of the tileShadingAtomicOps field.
    • tileShadingImageProcessing

      public boolean tileShadingImageProcessing()
      Returns:
      the value of the tileShadingImageProcessing field.
    • sType

      public VkPhysicalDeviceTileShadingFeaturesQCOM sType(int value)
      Sets the specified value to the sType field.
    • sType$Default

    • pNext

      public VkPhysicalDeviceTileShadingFeaturesQCOM pNext(long value)
      Sets the specified value to the pNext field.
    • tileShading

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShading(boolean value)
      Sets the specified value to the tileShading field.
    • tileShadingFragmentStage

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingFragmentStage(boolean value)
      Sets the specified value to the tileShadingFragmentStage field.
    • tileShadingColorAttachments

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingColorAttachments(boolean value)
      Sets the specified value to the tileShadingColorAttachments field.
    • tileShadingDepthAttachments

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingDepthAttachments(boolean value)
      Sets the specified value to the tileShadingDepthAttachments field.
    • tileShadingStencilAttachments

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingStencilAttachments(boolean value)
      Sets the specified value to the tileShadingStencilAttachments field.
    • tileShadingInputAttachments

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingInputAttachments(boolean value)
      Sets the specified value to the tileShadingInputAttachments field.
    • tileShadingSampledAttachments

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingSampledAttachments(boolean value)
      Sets the specified value to the tileShadingSampledAttachments field.
    • tileShadingPerTileDraw

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingPerTileDraw(boolean value)
      Sets the specified value to the tileShadingPerTileDraw field.
    • tileShadingPerTileDispatch

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingPerTileDispatch(boolean value)
      Sets the specified value to the tileShadingPerTileDispatch field.
    • tileShadingDispatchTile

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingDispatchTile(boolean value)
      Sets the specified value to the tileShadingDispatchTile field.
    • tileShadingApron

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingApron(boolean value)
      Sets the specified value to the tileShadingApron field.
    • tileShadingAnisotropicApron

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingAnisotropicApron(boolean value)
      Sets the specified value to the tileShadingAnisotropicApron field.
    • tileShadingAtomicOps

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingAtomicOps(boolean value)
      Sets the specified value to the tileShadingAtomicOps field.
    • tileShadingImageProcessing

      public VkPhysicalDeviceTileShadingFeaturesQCOM tileShadingImageProcessing(boolean value)
      Sets the specified value to the tileShadingImageProcessing field.
    • set

      public VkPhysicalDeviceTileShadingFeaturesQCOM set(int sType, long pNext, boolean tileShading, boolean tileShadingFragmentStage, boolean tileShadingColorAttachments, boolean tileShadingDepthAttachments, boolean tileShadingStencilAttachments, boolean tileShadingInputAttachments, boolean tileShadingSampledAttachments, boolean tileShadingPerTileDraw, boolean tileShadingPerTileDispatch, boolean tileShadingDispatchTile, boolean tileShadingApron, boolean tileShadingAnisotropicApron, boolean tileShadingAtomicOps, boolean tileShadingImageProcessing)
      Initializes this struct with the specified values.
    • set

      Copies the specified struct data to this struct.
      Parameters:
      src - the source struct
      Returns:
      this struct
    • malloc

      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance allocated with BufferUtils.
    • create

      public static VkPhysicalDeviceTileShadingFeaturesQCOM create(long address)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance for the specified memory address.
    • createSafe

      public static @Nullable VkPhysicalDeviceTileShadingFeaturesQCOM createSafe(long address)
      Like create, but returns null if address is NULL.
    • malloc

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer malloc(int capacity)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance allocated with memAlloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • calloc

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer calloc(int capacity)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance allocated with memCalloc. The instance must be explicitly freed.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer create(int capacity)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance allocated with BufferUtils.
      Parameters:
      capacity - the buffer capacity
    • create

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer create(long address, int capacity)
      Create a VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance at the specified memory.
      Parameters:
      address - the memory address
      capacity - the buffer capacity
    • createSafe

      public static @Nullable VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer createSafe(long address, int capacity)
      Like create, but returns null if address is NULL.
    • malloc

      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer malloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance allocated on the specified MemoryStack.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceTileShadingFeaturesQCOM.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      capacity - the buffer capacity
      stack - the stack from which to allocate
    • nsType

      public static int nsType(long struct)
      Unsafe version of sType().
    • npNext

      public static long npNext(long struct)
      Unsafe version of pNext().
    • ntileShading

      public static int ntileShading(long struct)
      Unsafe version of tileShading().
    • ntileShadingFragmentStage

      public static int ntileShadingFragmentStage(long struct)
      Unsafe version of tileShadingFragmentStage().
    • ntileShadingColorAttachments

      public static int ntileShadingColorAttachments(long struct)
    • ntileShadingDepthAttachments

      public static int ntileShadingDepthAttachments(long struct)
    • ntileShadingStencilAttachments

      public static int ntileShadingStencilAttachments(long struct)
    • ntileShadingInputAttachments

      public static int ntileShadingInputAttachments(long struct)
    • ntileShadingSampledAttachments

      public static int ntileShadingSampledAttachments(long struct)
    • ntileShadingPerTileDraw

      public static int ntileShadingPerTileDraw(long struct)
      Unsafe version of tileShadingPerTileDraw().
    • ntileShadingPerTileDispatch

      public static int ntileShadingPerTileDispatch(long struct)
      Unsafe version of tileShadingPerTileDispatch().
    • ntileShadingDispatchTile

      public static int ntileShadingDispatchTile(long struct)
      Unsafe version of tileShadingDispatchTile().
    • ntileShadingApron

      public static int ntileShadingApron(long struct)
      Unsafe version of tileShadingApron().
    • ntileShadingAnisotropicApron

      public static int ntileShadingAnisotropicApron(long struct)
    • ntileShadingAtomicOps

      public static int ntileShadingAtomicOps(long struct)
      Unsafe version of tileShadingAtomicOps().
    • ntileShadingImageProcessing

      public static int ntileShadingImageProcessing(long struct)
      Unsafe version of tileShadingImageProcessing().
    • nsType

      public static void nsType(long struct, int value)
      Unsafe version of sType.
    • npNext

      public static void npNext(long struct, long value)
      Unsafe version of pNext.
    • ntileShading

      public static void ntileShading(long struct, int value)
      Unsafe version of tileShading.
    • ntileShadingFragmentStage

      public static void ntileShadingFragmentStage(long struct, int value)
      Unsafe version of tileShadingFragmentStage.
    • ntileShadingColorAttachments

      public static void ntileShadingColorAttachments(long struct, int value)
      Unsafe version of tileShadingColorAttachments.
    • ntileShadingDepthAttachments

      public static void ntileShadingDepthAttachments(long struct, int value)
      Unsafe version of tileShadingDepthAttachments.
    • ntileShadingStencilAttachments

      public static void ntileShadingStencilAttachments(long struct, int value)
    • ntileShadingInputAttachments

      public static void ntileShadingInputAttachments(long struct, int value)
      Unsafe version of tileShadingInputAttachments.
    • ntileShadingSampledAttachments

      public static void ntileShadingSampledAttachments(long struct, int value)
    • ntileShadingPerTileDraw

      public static void ntileShadingPerTileDraw(long struct, int value)
      Unsafe version of tileShadingPerTileDraw.
    • ntileShadingPerTileDispatch

      public static void ntileShadingPerTileDispatch(long struct, int value)
      Unsafe version of tileShadingPerTileDispatch.
    • ntileShadingDispatchTile

      public static void ntileShadingDispatchTile(long struct, int value)
      Unsafe version of tileShadingDispatchTile.
    • ntileShadingApron

      public static void ntileShadingApron(long struct, int value)
      Unsafe version of tileShadingApron.
    • ntileShadingAnisotropicApron

      public static void ntileShadingAnisotropicApron(long struct, int value)
      Unsafe version of tileShadingAnisotropicApron.
    • ntileShadingAtomicOps

      public static void ntileShadingAtomicOps(long struct, int value)
      Unsafe version of tileShadingAtomicOps.
    • ntileShadingImageProcessing

      public static void ntileShadingImageProcessing(long struct, int value)
      Unsafe version of tileShadingImageProcessing.