Class VkPhysicalDeviceVulkan13Features

All Implemented Interfaces:
AutoCloseable, NativeResource, Pointer

public class VkPhysicalDeviceVulkan13Features extends Struct<VkPhysicalDeviceVulkan13Features> implements NativeResource

 struct VkPhysicalDeviceVulkan13Features {
     VkStructureType sType;
     void * pNext;
     VkBool32 robustImageAccess;
     VkBool32 inlineUniformBlock;
     VkBool32 descriptorBindingInlineUniformBlockUpdateAfterBind;
     VkBool32 pipelineCreationCacheControl;
     VkBool32 privateData;
     VkBool32 shaderDemoteToHelperInvocation;
     VkBool32 shaderTerminateInvocation;
     VkBool32 subgroupSizeControl;
     VkBool32 computeFullSubgroups;
     VkBool32 synchronization2;
     VkBool32 textureCompressionASTC_HDR;
     VkBool32 shaderZeroInitializeWorkgroupMemory;
     VkBool32 dynamicRendering;
     VkBool32 shaderIntegerDotProduct;
     VkBool32 maintenance4;
 }
  • 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.
    • ROBUSTIMAGEACCESS

      public static final int ROBUSTIMAGEACCESS
      The struct member offsets.
    • INLINEUNIFORMBLOCK

      public static final int INLINEUNIFORMBLOCK
      The struct member offsets.
    • DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND

      public static final int DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
      The struct member offsets.
    • PIPELINECREATIONCACHECONTROL

      public static final int PIPELINECREATIONCACHECONTROL
      The struct member offsets.
    • PRIVATEDATA

      public static final int PRIVATEDATA
      The struct member offsets.
    • SHADERDEMOTETOHELPERINVOCATION

      public static final int SHADERDEMOTETOHELPERINVOCATION
      The struct member offsets.
    • SHADERTERMINATEINVOCATION

      public static final int SHADERTERMINATEINVOCATION
      The struct member offsets.
    • SUBGROUPSIZECONTROL

      public static final int SUBGROUPSIZECONTROL
      The struct member offsets.
    • COMPUTEFULLSUBGROUPS

      public static final int COMPUTEFULLSUBGROUPS
      The struct member offsets.
    • SYNCHRONIZATION2

      public static final int SYNCHRONIZATION2
      The struct member offsets.
    • TEXTURECOMPRESSIONASTC_HDR

      public static final int TEXTURECOMPRESSIONASTC_HDR
      The struct member offsets.
    • SHADERZEROINITIALIZEWORKGROUPMEMORY

      public static final int SHADERZEROINITIALIZEWORKGROUPMEMORY
      The struct member offsets.
    • DYNAMICRENDERING

      public static final int DYNAMICRENDERING
      The struct member offsets.
    • SHADERINTEGERDOTPRODUCT

      public static final int SHADERINTEGERDOTPRODUCT
      The struct member offsets.
    • MAINTENANCE4

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

    • VkPhysicalDeviceVulkan13Features

      public VkPhysicalDeviceVulkan13Features(ByteBuffer container)
      Creates a VkPhysicalDeviceVulkan13Features 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<VkPhysicalDeviceVulkan13Features>
    • sType

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

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

      public boolean robustImageAccess()
      Returns:
      the value of the robustImageAccess field.
    • inlineUniformBlock

      public boolean inlineUniformBlock()
      Returns:
      the value of the inlineUniformBlock field.
    • descriptorBindingInlineUniformBlockUpdateAfterBind

      public boolean descriptorBindingInlineUniformBlockUpdateAfterBind()
      Returns:
      the value of the descriptorBindingInlineUniformBlockUpdateAfterBind field.
    • pipelineCreationCacheControl

      public boolean pipelineCreationCacheControl()
      Returns:
      the value of the pipelineCreationCacheControl field.
    • privateData

      public boolean privateData()
      Returns:
      the value of the privateData field.
    • shaderDemoteToHelperInvocation

      public boolean shaderDemoteToHelperInvocation()
      Returns:
      the value of the shaderDemoteToHelperInvocation field.
    • shaderTerminateInvocation

      public boolean shaderTerminateInvocation()
      Returns:
      the value of the shaderTerminateInvocation field.
    • subgroupSizeControl

      public boolean subgroupSizeControl()
      Returns:
      the value of the subgroupSizeControl field.
    • computeFullSubgroups

      public boolean computeFullSubgroups()
      Returns:
      the value of the computeFullSubgroups field.
    • synchronization2

      public boolean synchronization2()
      Returns:
      the value of the synchronization2 field.
    • textureCompressionASTC_HDR

      public boolean textureCompressionASTC_HDR()
      Returns:
      the value of the textureCompressionASTC_HDR field.
    • shaderZeroInitializeWorkgroupMemory

      public boolean shaderZeroInitializeWorkgroupMemory()
      Returns:
      the value of the shaderZeroInitializeWorkgroupMemory field.
    • dynamicRendering

      public boolean dynamicRendering()
      Returns:
      the value of the dynamicRendering field.
    • shaderIntegerDotProduct

      public boolean shaderIntegerDotProduct()
      Returns:
      the value of the shaderIntegerDotProduct field.
    • maintenance4

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

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

      public VkPhysicalDeviceVulkan13Features sType$Default()
      Sets the STRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURES value to the sType field.
    • pNext

      public VkPhysicalDeviceVulkan13Features pNext(long value)
      Sets the specified value to the pNext field.
    • robustImageAccess

      public VkPhysicalDeviceVulkan13Features robustImageAccess(boolean value)
      Sets the specified value to the robustImageAccess field.
    • inlineUniformBlock

      public VkPhysicalDeviceVulkan13Features inlineUniformBlock(boolean value)
      Sets the specified value to the inlineUniformBlock field.
    • descriptorBindingInlineUniformBlockUpdateAfterBind

      public VkPhysicalDeviceVulkan13Features descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value)
      Sets the specified value to the descriptorBindingInlineUniformBlockUpdateAfterBind field.
    • pipelineCreationCacheControl

      public VkPhysicalDeviceVulkan13Features pipelineCreationCacheControl(boolean value)
      Sets the specified value to the pipelineCreationCacheControl field.
    • privateData

      public VkPhysicalDeviceVulkan13Features privateData(boolean value)
      Sets the specified value to the privateData field.
    • shaderDemoteToHelperInvocation

      public VkPhysicalDeviceVulkan13Features shaderDemoteToHelperInvocation(boolean value)
      Sets the specified value to the shaderDemoteToHelperInvocation field.
    • shaderTerminateInvocation

      public VkPhysicalDeviceVulkan13Features shaderTerminateInvocation(boolean value)
      Sets the specified value to the shaderTerminateInvocation field.
    • subgroupSizeControl

      public VkPhysicalDeviceVulkan13Features subgroupSizeControl(boolean value)
      Sets the specified value to the subgroupSizeControl field.
    • computeFullSubgroups

      public VkPhysicalDeviceVulkan13Features computeFullSubgroups(boolean value)
      Sets the specified value to the computeFullSubgroups field.
    • synchronization2

      public VkPhysicalDeviceVulkan13Features synchronization2(boolean value)
      Sets the specified value to the synchronization2 field.
    • textureCompressionASTC_HDR

      public VkPhysicalDeviceVulkan13Features textureCompressionASTC_HDR(boolean value)
      Sets the specified value to the textureCompressionASTC_HDR field.
    • shaderZeroInitializeWorkgroupMemory

      public VkPhysicalDeviceVulkan13Features shaderZeroInitializeWorkgroupMemory(boolean value)
      Sets the specified value to the shaderZeroInitializeWorkgroupMemory field.
    • dynamicRendering

      public VkPhysicalDeviceVulkan13Features dynamicRendering(boolean value)
      Sets the specified value to the dynamicRendering field.
    • shaderIntegerDotProduct

      public VkPhysicalDeviceVulkan13Features shaderIntegerDotProduct(boolean value)
      Sets the specified value to the shaderIntegerDotProduct field.
    • maintenance4

      public VkPhysicalDeviceVulkan13Features maintenance4(boolean value)
      Sets the specified value to the maintenance4 field.
    • set

      public VkPhysicalDeviceVulkan13Features set(int sType, long pNext, boolean robustImageAccess, boolean inlineUniformBlock, boolean descriptorBindingInlineUniformBlockUpdateAfterBind, boolean pipelineCreationCacheControl, boolean privateData, boolean shaderDemoteToHelperInvocation, boolean shaderTerminateInvocation, boolean subgroupSizeControl, boolean computeFullSubgroups, boolean synchronization2, boolean textureCompressionASTC_HDR, boolean shaderZeroInitializeWorkgroupMemory, boolean dynamicRendering, boolean shaderIntegerDotProduct, boolean maintenance4)
      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

      public static VkPhysicalDeviceVulkan13Features malloc()
      Returns a new VkPhysicalDeviceVulkan13Features instance allocated with memAlloc. The instance must be explicitly freed.
    • calloc

      public static VkPhysicalDeviceVulkan13Features calloc()
      Returns a new VkPhysicalDeviceVulkan13Features instance allocated with memCalloc. The instance must be explicitly freed.
    • create

      public static VkPhysicalDeviceVulkan13Features create()
      Returns a new VkPhysicalDeviceVulkan13Features instance allocated with BufferUtils.
    • create

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

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

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

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

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

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

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

      public static VkPhysicalDeviceVulkan13Features malloc(MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan13Features instance allocated on the specified MemoryStack.
      Parameters:
      stack - the stack from which to allocate
    • calloc

      public static VkPhysicalDeviceVulkan13Features calloc(MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan13Features instance allocated on the specified MemoryStack and initializes all its bits to zero.
      Parameters:
      stack - the stack from which to allocate
    • malloc

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

      public static VkPhysicalDeviceVulkan13Features.Buffer calloc(int capacity, MemoryStack stack)
      Returns a new VkPhysicalDeviceVulkan13Features.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().
    • nrobustImageAccess

      public static int nrobustImageAccess(long struct)
      Unsafe version of robustImageAccess().
    • ninlineUniformBlock

      public static int ninlineUniformBlock(long struct)
      Unsafe version of inlineUniformBlock().
    • ndescriptorBindingInlineUniformBlockUpdateAfterBind

      public static int ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct)
    • npipelineCreationCacheControl

      public static int npipelineCreationCacheControl(long struct)
    • nprivateData

      public static int nprivateData(long struct)
      Unsafe version of privateData().
    • nshaderDemoteToHelperInvocation

      public static int nshaderDemoteToHelperInvocation(long struct)
    • nshaderTerminateInvocation

      public static int nshaderTerminateInvocation(long struct)
      Unsafe version of shaderTerminateInvocation().
    • nsubgroupSizeControl

      public static int nsubgroupSizeControl(long struct)
      Unsafe version of subgroupSizeControl().
    • ncomputeFullSubgroups

      public static int ncomputeFullSubgroups(long struct)
      Unsafe version of computeFullSubgroups().
    • nsynchronization2

      public static int nsynchronization2(long struct)
      Unsafe version of synchronization2().
    • ntextureCompressionASTC_HDR

      public static int ntextureCompressionASTC_HDR(long struct)
      Unsafe version of textureCompressionASTC_HDR().
    • nshaderZeroInitializeWorkgroupMemory

      public static int nshaderZeroInitializeWorkgroupMemory(long struct)
    • ndynamicRendering

      public static int ndynamicRendering(long struct)
      Unsafe version of dynamicRendering().
    • nshaderIntegerDotProduct

      public static int nshaderIntegerDotProduct(long struct)
      Unsafe version of shaderIntegerDotProduct().
    • nmaintenance4

      public static int nmaintenance4(long struct)
      Unsafe version of maintenance4().
    • 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.
    • nrobustImageAccess

      public static void nrobustImageAccess(long struct, int value)
      Unsafe version of robustImageAccess.
    • ninlineUniformBlock

      public static void ninlineUniformBlock(long struct, int value)
      Unsafe version of inlineUniformBlock.
    • ndescriptorBindingInlineUniformBlockUpdateAfterBind

      public static void ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value)
    • npipelineCreationCacheControl

      public static void npipelineCreationCacheControl(long struct, int value)
      Unsafe version of pipelineCreationCacheControl.
    • nprivateData

      public static void nprivateData(long struct, int value)
      Unsafe version of privateData.
    • nshaderDemoteToHelperInvocation

      public static void nshaderDemoteToHelperInvocation(long struct, int value)
    • nshaderTerminateInvocation

      public static void nshaderTerminateInvocation(long struct, int value)
      Unsafe version of shaderTerminateInvocation.
    • nsubgroupSizeControl

      public static void nsubgroupSizeControl(long struct, int value)
      Unsafe version of subgroupSizeControl.
    • ncomputeFullSubgroups

      public static void ncomputeFullSubgroups(long struct, int value)
      Unsafe version of computeFullSubgroups.
    • nsynchronization2

      public static void nsynchronization2(long struct, int value)
      Unsafe version of synchronization2.
    • ntextureCompressionASTC_HDR

      public static void ntextureCompressionASTC_HDR(long struct, int value)
      Unsafe version of textureCompressionASTC_HDR.
    • nshaderZeroInitializeWorkgroupMemory

      public static void nshaderZeroInitializeWorkgroupMemory(long struct, int value)
    • ndynamicRendering

      public static void ndynamicRendering(long struct, int value)
      Unsafe version of dynamicRendering.
    • nshaderIntegerDotProduct

      public static void nshaderIntegerDotProduct(long struct, int value)
      Unsafe version of shaderIntegerDotProduct.
    • nmaintenance4

      public static void nmaintenance4(long struct, int value)
      Unsafe version of maintenance4.