Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceVulkan13Features

extends Struct<VkPhysicalDeviceVulkan13Features>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing the Vulkan 1.3 features that can be supported by an implementation.
Description

If the VkPhysicalDeviceVulkan13Features structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDeviceVulkan13Features can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


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 and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
COMPUTEFULLSUBGROUPS

The struct member offsets.

public static final int
public static final int
DYNAMICRENDERING

The struct member offsets.

public static final int
INLINEUNIFORMBLOCK

The struct member offsets.

public static final int
MAINTENANCE4

The struct member offsets.

public static final int
PIPELINECREATIONCACHECONTROL

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
PRIVATEDATA

The struct member offsets.

public static final int
ROBUSTIMAGEACCESS

The struct member offsets.

public static final int
SHADERDEMOTETOHELPERINVOCATION

The struct member offsets.

public static final int
SHADERINTEGERDOTPRODUCT

The struct member offsets.

public static final int
SHADERTERMINATEINVOCATION

The struct member offsets.

public static final int
SHADERZEROINITIALIZEWORKGROUPMEMORY

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
STYPE

The struct member offsets.

public static final int
SUBGROUPSIZECONTROL

The struct member offsets.

public static final int
SYNCHRONIZATION2

The struct member offsets.

public static final int
TEXTURECOMPRESSIONASTC_HDR

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceVulkan13Features(ByteBuffer container)

Creates a VkPhysicalDeviceVulkan13Features instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDeviceVulkan13Features
calloc()

Returns a new VkPhysicalDeviceVulkan13Features instance allocated with memCalloc.

public static VkPhysicalDeviceVulkan13Features.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan13Features.Buffer instance allocated with memCalloc.

public static VkPhysicalDeviceVulkan13Features
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan13Features instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDeviceVulkan13Features.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan13Features.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public boolean
computeFullSubgroups()

indicates whether the implementation supports requiring full subgroups in compute , mesh, or task shaders via the PIPELINE_SHADER_STAGE_CREATE_REQUIRE_FULL_SUBGROUPS_BIT flag.

public VkPhysicalDeviceVulkan13Features
computeFullSubgroups(boolean value)

Sets the specified value to the computeFullSubgroups field.

protected VkPhysicalDeviceVulkan13Features
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDeviceVulkan13Features
create()

Returns a new VkPhysicalDeviceVulkan13Features instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan13Features
create(long address)

Returns a new VkPhysicalDeviceVulkan13Features instance for the specified memory address.

public static VkPhysicalDeviceVulkan13Features.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan13Features.Buffer instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan13Features.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDeviceVulkan13Features.Buffer instance at the specified memory.

public static VkPhysicalDeviceVulkan13Features
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDeviceVulkan13Features.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean
descriptorBindingInlineUniformBlockUpdateAfterBind()

indicates whether the implementation supports updating inline uniform block descriptors after a set is bound.

public VkPhysicalDeviceVulkan13Features
public boolean
dynamicRendering()

specifies that the implementation supports dynamic render pass instances using the CmdBeginRendering command.

public VkPhysicalDeviceVulkan13Features
dynamicRendering(boolean value)

Sets the specified value to the dynamicRendering field.

public boolean
inlineUniformBlock()

indicates whether the implementation supports inline uniform block descriptors.

public VkPhysicalDeviceVulkan13Features
inlineUniformBlock(boolean value)

Sets the specified value to the inlineUniformBlock field.

public boolean
maintenance4()

indicates that the implementation supports the following:

  • The application may destroy a VkPipelineLayout object immediately after using it to create another object.
  • LocalSizeId can be used as an alternative to LocalSize to specify the local workgroup size with specialization constants.
  • Images created with identical creation parameters will always have the same alignment requirements.
  • The size memory requirement of a buffer or image is never greater than that of another buffer or image created with a greater or equal size.
  • Push constants do not have to be initialized before they are dynamically accessed.
  • The interface matching rules allow a larger output vector to match with a smaller input vector, with additional values being discarded.
public VkPhysicalDeviceVulkan13Features
maintenance4(boolean value)

Sets the specified value to the maintenance4 field.

public static VkPhysicalDeviceVulkan13Features
malloc()

Returns a new VkPhysicalDeviceVulkan13Features instance allocated with memAlloc.

public static VkPhysicalDeviceVulkan13Features.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDeviceVulkan13Features.Buffer instance allocated with memAlloc.

public static VkPhysicalDeviceVulkan13Features
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan13Features instance allocated on the specified MemoryStack.

public static VkPhysicalDeviceVulkan13Features.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDeviceVulkan13Features.Buffer instance allocated on the specified MemoryStack.

public static int
ncomputeFullSubgroups(long struct)

Unsafe version of computeFullSubgroups.

public static void
ncomputeFullSubgroups(long struct, int value)

Unsafe version of computeFullSubgroups.

public static int
public static void
public static int
ndynamicRendering(long struct)

Unsafe version of dynamicRendering.

public static void
ndynamicRendering(long struct, int value)

Unsafe version of dynamicRendering.

public static int
ninlineUniformBlock(long struct)

Unsafe version of inlineUniformBlock.

public static void
ninlineUniformBlock(long struct, int value)

Unsafe version of inlineUniformBlock.

public static int
nmaintenance4(long struct)

Unsafe version of maintenance4.

public static void
nmaintenance4(long struct, int value)

Unsafe version of maintenance4.

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

Unsafe version of pipelineCreationCacheControl.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
nprivateData(long struct)

Unsafe version of privateData.

public static void
nprivateData(long struct, int value)

Unsafe version of privateData.

public static int
nrobustImageAccess(long struct)

Unsafe version of robustImageAccess.

public static void
nrobustImageAccess(long struct, int value)

Unsafe version of robustImageAccess.

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

Unsafe version of shaderDemoteToHelperInvocation.

public static int
nshaderIntegerDotProduct(long struct)

Unsafe version of shaderIntegerDotProduct.

public static void
nshaderIntegerDotProduct(long struct, int value)

Unsafe version of shaderIntegerDotProduct.

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

Unsafe version of shaderTerminateInvocation.

public static int
public static void
public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
nsubgroupSizeControl(long struct)

Unsafe version of subgroupSizeControl.

public static void
nsubgroupSizeControl(long struct, int value)

Unsafe version of subgroupSizeControl.

public static int
nsynchronization2(long struct)

Unsafe version of synchronization2.

public static void
nsynchronization2(long struct, int value)

Unsafe version of synchronization2.

public static int
public static void
ntextureCompressionASTC_HDR(long struct, int value)

Unsafe version of textureCompressionASTC_HDR.

public boolean
pipelineCreationCacheControl()

indicates that the implementation supports:

public VkPhysicalDeviceVulkan13Features
pipelineCreationCacheControl(boolean value)

Sets the specified value to the pipelineCreationCacheControl field.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceVulkan13Features
pNext(long value)

Sets the specified value to the pNext field.

public boolean
privateData()

indicates whether the implementation supports private data.

public VkPhysicalDeviceVulkan13Features
privateData(boolean value)

Sets the specified value to the privateData field.

public boolean
robustImageAccess()

indicates whether image accesses are tightly bounds-checked against the dimensions of the image view.

public VkPhysicalDeviceVulkan13Features
robustImageAccess(boolean value)

Sets the specified value to the robustImageAccess field.

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.

public VkPhysicalDeviceVulkan13Features

Returns:

this struct
set
(VkPhysicalDeviceVulkan13Features
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderDemoteToHelperInvocation()

indicates whether the implementation supports the SPIR-V DemoteToHelperInvocationEXT capability.

public VkPhysicalDeviceVulkan13Features
shaderDemoteToHelperInvocation(boolean value)

Sets the specified value to the shaderDemoteToHelperInvocation field.

public boolean
shaderIntegerDotProduct()

specifies whether shader modules can declare the DotProductInputAllKHR, DotProductInput4x8BitKHR, DotProductInput4x8BitPackedKHR and DotProductKHR capabilities.

public VkPhysicalDeviceVulkan13Features
shaderIntegerDotProduct(boolean value)

Sets the specified value to the shaderIntegerDotProduct field.

public boolean
shaderTerminateInvocation()

specifies whether the implementation supports SPIR-V modules that use the SPV_KHR_terminate_invocation extension.

public VkPhysicalDeviceVulkan13Features
shaderTerminateInvocation(boolean value)

Sets the specified value to the shaderTerminateInvocation field.

public boolean
shaderZeroInitializeWorkgroupMemory()

specifies whether the implementation supports initializing a variable in Workgroup storage class.

public VkPhysicalDeviceVulkan13Features
shaderZeroInitializeWorkgroupMemory(boolean value)

Sets the specified value to the shaderZeroInitializeWorkgroupMemory field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceVulkan13Features
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceVulkan13Features
public boolean
subgroupSizeControl()

indicates whether the implementation supports controlling shader subgroup sizes via the PIPELINE_SHADER_STAGE_CREATE_ALLOW_VARYING_SUBGROUP_SIZE_BIT flag and the VkPipelineShaderStageRequiredSubgroupSizeCreateInfo structure.

public VkPhysicalDeviceVulkan13Features
subgroupSizeControl(boolean value)

Sets the specified value to the subgroupSizeControl field.

public boolean
synchronization2()

indicates whether the implementation supports the new set of synchronization commands introduced in VK_KHR_synchronization2.

public VkPhysicalDeviceVulkan13Features
synchronization2(boolean value)

Sets the specified value to the synchronization2 field.

public boolean
textureCompressionASTC_HDR()

indicates whether all of the ASTC HDR compressed texture formats are supported.

public VkPhysicalDeviceVulkan13Features
textureCompressionASTC_HDR(boolean value)

Sets the specified value to the textureCompressionASTC_HDR field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate