Package org.lwjgl.vulkan
Class VkPhysicalDeviceVulkan13Features
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkPhysicalDeviceVulkan13Features>
org.lwjgl.vulkan.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;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkPhysicalDeviceVulkan13Featuresstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDeviceVulkan13Features(ByteBuffer container) Creates aVkPhysicalDeviceVulkan13Featuresinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.booleancomputeFullSubgroups(boolean value) Sets the specified value to thecomputeFullSubgroupsfield.create()Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withBufferUtils.create(int capacity) Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkPhysicalDeviceVulkan13Featuresinstance for the specified memory address.create(long address, int capacity) Create aVkPhysicalDeviceVulkan13Features.Bufferinstance at the specified memory.static @Nullable VkPhysicalDeviceVulkan13FeaturescreateSafe(long address) static @Nullable VkPhysicalDeviceVulkan13Features.BuffercreateSafe(long address, int capacity) booleandescriptorBindingInlineUniformBlockUpdateAfterBind(boolean value) Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBindfield.booleandynamicRendering(boolean value) Sets the specified value to thedynamicRenderingfield.booleaninlineUniformBlock(boolean value) Sets the specified value to theinlineUniformBlockfield.booleanmaintenance4(boolean value) Sets the specified value to themaintenance4field.malloc()Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated on the specifiedMemoryStack.static intncomputeFullSubgroups(long struct) Unsafe version ofcomputeFullSubgroups().static voidncomputeFullSubgroups(long struct, int value) Unsafe version ofcomputeFullSubgroups.static intndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct) Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind().static voidndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value) Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind.static intndynamicRendering(long struct) Unsafe version ofdynamicRendering().static voidndynamicRendering(long struct, int value) Unsafe version ofdynamicRendering.static intninlineUniformBlock(long struct) Unsafe version ofinlineUniformBlock().static voidninlineUniformBlock(long struct, int value) Unsafe version ofinlineUniformBlock.static intnmaintenance4(long struct) Unsafe version ofmaintenance4().static voidnmaintenance4(long struct, int value) Unsafe version ofmaintenance4.static intnpipelineCreationCacheControl(long struct) Unsafe version ofpipelineCreationCacheControl().static voidnpipelineCreationCacheControl(long struct, int value) Unsafe version ofpipelineCreationCacheControl.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnprivateData(long struct) Unsafe version ofprivateData().static voidnprivateData(long struct, int value) Unsafe version ofprivateData.static intnrobustImageAccess(long struct) Unsafe version ofrobustImageAccess().static voidnrobustImageAccess(long struct, int value) Unsafe version ofrobustImageAccess.static intnshaderDemoteToHelperInvocation(long struct) Unsafe version ofshaderDemoteToHelperInvocation().static voidnshaderDemoteToHelperInvocation(long struct, int value) Unsafe version ofshaderDemoteToHelperInvocation.static intnshaderIntegerDotProduct(long struct) Unsafe version ofshaderIntegerDotProduct().static voidnshaderIntegerDotProduct(long struct, int value) Unsafe version ofshaderIntegerDotProduct.static intnshaderTerminateInvocation(long struct) Unsafe version ofshaderTerminateInvocation().static voidnshaderTerminateInvocation(long struct, int value) Unsafe version ofshaderTerminateInvocation.static intnshaderZeroInitializeWorkgroupMemory(long struct) Unsafe version ofshaderZeroInitializeWorkgroupMemory().static voidnshaderZeroInitializeWorkgroupMemory(long struct, int value) Unsafe version ofshaderZeroInitializeWorkgroupMemory.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnsubgroupSizeControl(long struct) Unsafe version ofsubgroupSizeControl().static voidnsubgroupSizeControl(long struct, int value) Unsafe version ofsubgroupSizeControl.static intnsynchronization2(long struct) Unsafe version ofsynchronization2().static voidnsynchronization2(long struct, int value) Unsafe version ofsynchronization2.static intntextureCompressionASTC_HDR(long struct) Unsafe version oftextureCompressionASTC_HDR().static voidntextureCompressionASTC_HDR(long struct, int value) Unsafe version oftextureCompressionASTC_HDR.booleanpipelineCreationCacheControl(boolean value) Sets the specified value to thepipelineCreationCacheControlfield.longpNext()pNext(long value) Sets the specified value to thepNextfield.booleanprivateData(boolean value) Sets the specified value to theprivateDatafield.booleanrobustImageAccess(boolean value) Sets the specified value to therobustImageAccessfield.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.Copies the specified struct data to this struct.booleanshaderDemoteToHelperInvocation(boolean value) Sets the specified value to theshaderDemoteToHelperInvocationfield.booleanshaderIntegerDotProduct(boolean value) Sets the specified value to theshaderIntegerDotProductfield.booleanshaderTerminateInvocation(boolean value) Sets the specified value to theshaderTerminateInvocationfield.booleanshaderZeroInitializeWorkgroupMemory(boolean value) Sets the specified value to theshaderZeroInitializeWorkgroupMemoryfield.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURESvalue to thesTypefield.booleansubgroupSizeControl(boolean value) Sets the specified value to thesubgroupSizeControlfield.booleansynchronization2(boolean value) Sets the specified value to thesynchronization2field.booleantextureCompressionASTC_HDR(boolean value) Sets the specified value to thetextureCompressionASTC_HDRfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
ROBUSTIMAGEACCESS
public static final int ROBUSTIMAGEACCESSThe struct member offsets. -
INLINEUNIFORMBLOCK
public static final int INLINEUNIFORMBLOCKThe struct member offsets. -
DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBIND
public static final int DESCRIPTORBINDINGINLINEUNIFORMBLOCKUPDATEAFTERBINDThe struct member offsets. -
PIPELINECREATIONCACHECONTROL
public static final int PIPELINECREATIONCACHECONTROLThe struct member offsets. -
PRIVATEDATA
public static final int PRIVATEDATAThe struct member offsets. -
SHADERDEMOTETOHELPERINVOCATION
public static final int SHADERDEMOTETOHELPERINVOCATIONThe struct member offsets. -
SHADERTERMINATEINVOCATION
public static final int SHADERTERMINATEINVOCATIONThe struct member offsets. -
SUBGROUPSIZECONTROL
public static final int SUBGROUPSIZECONTROLThe struct member offsets. -
COMPUTEFULLSUBGROUPS
public static final int COMPUTEFULLSUBGROUPSThe struct member offsets. -
SYNCHRONIZATION2
public static final int SYNCHRONIZATION2The struct member offsets. -
TEXTURECOMPRESSIONASTC_HDR
public static final int TEXTURECOMPRESSIONASTC_HDRThe struct member offsets. -
SHADERZEROINITIALIZEWORKGROUPMEMORY
public static final int SHADERZEROINITIALIZEWORKGROUPMEMORYThe struct member offsets. -
DYNAMICRENDERING
public static final int DYNAMICRENDERINGThe struct member offsets. -
SHADERINTEGERDOTPRODUCT
public static final int SHADERINTEGERDOTPRODUCTThe struct member offsets. -
MAINTENANCE4
public static final int MAINTENANCE4The struct member offsets.
-
-
Constructor Details
-
VkPhysicalDeviceVulkan13Features
Creates aVkPhysicalDeviceVulkan13Featuresinstance at the current position of the specifiedByteBuffercontainer. 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:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkPhysicalDeviceVulkan13Features>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
robustImageAccess
public boolean robustImageAccess()- Returns:
- the value of the
robustImageAccessfield.
-
inlineUniformBlock
public boolean inlineUniformBlock()- Returns:
- the value of the
inlineUniformBlockfield.
-
descriptorBindingInlineUniformBlockUpdateAfterBind
public boolean descriptorBindingInlineUniformBlockUpdateAfterBind()- Returns:
- the value of the
descriptorBindingInlineUniformBlockUpdateAfterBindfield.
-
pipelineCreationCacheControl
public boolean pipelineCreationCacheControl()- Returns:
- the value of the
pipelineCreationCacheControlfield.
-
privateData
public boolean privateData()- Returns:
- the value of the
privateDatafield.
-
shaderDemoteToHelperInvocation
public boolean shaderDemoteToHelperInvocation()- Returns:
- the value of the
shaderDemoteToHelperInvocationfield.
-
shaderTerminateInvocation
public boolean shaderTerminateInvocation()- Returns:
- the value of the
shaderTerminateInvocationfield.
-
subgroupSizeControl
public boolean subgroupSizeControl()- Returns:
- the value of the
subgroupSizeControlfield.
-
computeFullSubgroups
public boolean computeFullSubgroups()- Returns:
- the value of the
computeFullSubgroupsfield.
-
synchronization2
public boolean synchronization2()- Returns:
- the value of the
synchronization2field.
-
textureCompressionASTC_HDR
public boolean textureCompressionASTC_HDR()- Returns:
- the value of the
textureCompressionASTC_HDRfield.
-
shaderZeroInitializeWorkgroupMemory
public boolean shaderZeroInitializeWorkgroupMemory()- Returns:
- the value of the
shaderZeroInitializeWorkgroupMemoryfield.
-
dynamicRendering
public boolean dynamicRendering()- Returns:
- the value of the
dynamicRenderingfield.
-
shaderIntegerDotProduct
public boolean shaderIntegerDotProduct()- Returns:
- the value of the
shaderIntegerDotProductfield.
-
maintenance4
public boolean maintenance4()- Returns:
- the value of the
maintenance4field.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_PHYSICAL_DEVICE_VULKAN_1_3_FEATURESvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
robustImageAccess
Sets the specified value to therobustImageAccessfield. -
inlineUniformBlock
Sets the specified value to theinlineUniformBlockfield. -
descriptorBindingInlineUniformBlockUpdateAfterBind
public VkPhysicalDeviceVulkan13Features descriptorBindingInlineUniformBlockUpdateAfterBind(boolean value) Sets the specified value to thedescriptorBindingInlineUniformBlockUpdateAfterBindfield. -
pipelineCreationCacheControl
Sets the specified value to thepipelineCreationCacheControlfield. -
privateData
Sets the specified value to theprivateDatafield. -
shaderDemoteToHelperInvocation
Sets the specified value to theshaderDemoteToHelperInvocationfield. -
shaderTerminateInvocation
Sets the specified value to theshaderTerminateInvocationfield. -
subgroupSizeControl
Sets the specified value to thesubgroupSizeControlfield. -
computeFullSubgroups
Sets the specified value to thecomputeFullSubgroupsfield. -
synchronization2
Sets the specified value to thesynchronization2field. -
textureCompressionASTC_HDR
Sets the specified value to thetextureCompressionASTC_HDRfield. -
shaderZeroInitializeWorkgroupMemory
Sets the specified value to theshaderZeroInitializeWorkgroupMemoryfield. -
dynamicRendering
Sets the specified value to thedynamicRenderingfield. -
shaderIntegerDotProduct
Sets the specified value to theshaderIntegerDotProductfield. -
maintenance4
Sets the specified value to themaintenance4field. -
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
Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated withBufferUtils. -
create
Returns a newVkPhysicalDeviceVulkan13Featuresinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
Create aVkPhysicalDeviceVulkan13Features.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkPhysicalDeviceVulkan13Features.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceVulkan13Featuresinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
Returns a newVkPhysicalDeviceVulkan13Features.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nrobustImageAccess
public static int nrobustImageAccess(long struct) Unsafe version ofrobustImageAccess(). -
ninlineUniformBlock
public static int ninlineUniformBlock(long struct) Unsafe version ofinlineUniformBlock(). -
ndescriptorBindingInlineUniformBlockUpdateAfterBind
public static int ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct) Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind(). -
npipelineCreationCacheControl
public static int npipelineCreationCacheControl(long struct) Unsafe version ofpipelineCreationCacheControl(). -
nprivateData
public static int nprivateData(long struct) Unsafe version ofprivateData(). -
nshaderDemoteToHelperInvocation
public static int nshaderDemoteToHelperInvocation(long struct) Unsafe version ofshaderDemoteToHelperInvocation(). -
nshaderTerminateInvocation
public static int nshaderTerminateInvocation(long struct) Unsafe version ofshaderTerminateInvocation(). -
nsubgroupSizeControl
public static int nsubgroupSizeControl(long struct) Unsafe version ofsubgroupSizeControl(). -
ncomputeFullSubgroups
public static int ncomputeFullSubgroups(long struct) Unsafe version ofcomputeFullSubgroups(). -
nsynchronization2
public static int nsynchronization2(long struct) Unsafe version ofsynchronization2(). -
ntextureCompressionASTC_HDR
public static int ntextureCompressionASTC_HDR(long struct) Unsafe version oftextureCompressionASTC_HDR(). -
nshaderZeroInitializeWorkgroupMemory
public static int nshaderZeroInitializeWorkgroupMemory(long struct) Unsafe version ofshaderZeroInitializeWorkgroupMemory(). -
ndynamicRendering
public static int ndynamicRendering(long struct) Unsafe version ofdynamicRendering(). -
nshaderIntegerDotProduct
public static int nshaderIntegerDotProduct(long struct) Unsafe version ofshaderIntegerDotProduct(). -
nmaintenance4
public static int nmaintenance4(long struct) Unsafe version ofmaintenance4(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nrobustImageAccess
public static void nrobustImageAccess(long struct, int value) Unsafe version ofrobustImageAccess. -
ninlineUniformBlock
public static void ninlineUniformBlock(long struct, int value) Unsafe version ofinlineUniformBlock. -
ndescriptorBindingInlineUniformBlockUpdateAfterBind
public static void ndescriptorBindingInlineUniformBlockUpdateAfterBind(long struct, int value) Unsafe version ofdescriptorBindingInlineUniformBlockUpdateAfterBind. -
npipelineCreationCacheControl
public static void npipelineCreationCacheControl(long struct, int value) Unsafe version ofpipelineCreationCacheControl. -
nprivateData
public static void nprivateData(long struct, int value) Unsafe version ofprivateData. -
nshaderDemoteToHelperInvocation
public static void nshaderDemoteToHelperInvocation(long struct, int value) Unsafe version ofshaderDemoteToHelperInvocation. -
nshaderTerminateInvocation
public static void nshaderTerminateInvocation(long struct, int value) Unsafe version ofshaderTerminateInvocation. -
nsubgroupSizeControl
public static void nsubgroupSizeControl(long struct, int value) Unsafe version ofsubgroupSizeControl. -
ncomputeFullSubgroups
public static void ncomputeFullSubgroups(long struct, int value) Unsafe version ofcomputeFullSubgroups. -
nsynchronization2
public static void nsynchronization2(long struct, int value) Unsafe version ofsynchronization2. -
ntextureCompressionASTC_HDR
public static void ntextureCompressionASTC_HDR(long struct, int value) Unsafe version oftextureCompressionASTC_HDR. -
nshaderZeroInitializeWorkgroupMemory
public static void nshaderZeroInitializeWorkgroupMemory(long struct, int value) Unsafe version ofshaderZeroInitializeWorkgroupMemory. -
ndynamicRendering
public static void ndynamicRendering(long struct, int value) Unsafe version ofdynamicRendering. -
nshaderIntegerDotProduct
public static void nshaderIntegerDotProduct(long struct, int value) Unsafe version ofshaderIntegerDotProduct. -
nmaintenance4
public static void nmaintenance4(long struct, int value) Unsafe version ofmaintenance4.
-