Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceVulkan12Features

extends Struct<VkPhysicalDeviceVulkan12Features>
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.2 features that can be supported by an implementation.
Description

If the VkPhysicalDeviceVulkan12Features 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. VkPhysicalDeviceVulkan12Features can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.

Valid Usage (Implicit)

Layout


struct VkPhysicalDeviceVulkan12Features {
    VkStructureType sType;
    void * pNext;
    VkBool32 samplerMirrorClampToEdge;
    VkBool32 drawIndirectCount;
    VkBool32 storageBuffer8BitAccess;
    VkBool32 uniformAndStorageBuffer8BitAccess;
    VkBool32 storagePushConstant8;
    VkBool32 shaderBufferInt64Atomics;
    VkBool32 shaderSharedInt64Atomics;
    VkBool32 shaderFloat16;
    VkBool32 shaderInt8;
    VkBool32 descriptorIndexing;
    VkBool32 shaderInputAttachmentArrayDynamicIndexing;
    VkBool32 shaderUniformTexelBufferArrayDynamicIndexing;
    VkBool32 shaderStorageTexelBufferArrayDynamicIndexing;
    VkBool32 shaderUniformBufferArrayNonUniformIndexing;
    VkBool32 shaderSampledImageArrayNonUniformIndexing;
    VkBool32 shaderStorageBufferArrayNonUniformIndexing;
    VkBool32 shaderStorageImageArrayNonUniformIndexing;
    VkBool32 shaderInputAttachmentArrayNonUniformIndexing;
    VkBool32 shaderUniformTexelBufferArrayNonUniformIndexing;
    VkBool32 shaderStorageTexelBufferArrayNonUniformIndexing;
    VkBool32 descriptorBindingUniformBufferUpdateAfterBind;
    VkBool32 descriptorBindingSampledImageUpdateAfterBind;
    VkBool32 descriptorBindingStorageImageUpdateAfterBind;
    VkBool32 descriptorBindingStorageBufferUpdateAfterBind;
    VkBool32 descriptorBindingUniformTexelBufferUpdateAfterBind;
    VkBool32 descriptorBindingStorageTexelBufferUpdateAfterBind;
    VkBool32 descriptorBindingUpdateUnusedWhilePending;
    VkBool32 descriptorBindingPartiallyBound;
    VkBool32 descriptorBindingVariableDescriptorCount;
    VkBool32 runtimeDescriptorArray;
    VkBool32 samplerFilterMinmax;
    VkBool32 scalarBlockLayout;
    VkBool32 imagelessFramebuffer;
    VkBool32 uniformBufferStandardLayout;
    VkBool32 shaderSubgroupExtendedTypes;
    VkBool32 separateDepthStencilLayouts;
    VkBool32 hostQueryReset;
    VkBool32 timelineSemaphore;
    VkBool32 bufferDeviceAddress;
    VkBool32 bufferDeviceAddressCaptureReplay;
    VkBool32 bufferDeviceAddressMultiDevice;
    VkBool32 vulkanMemoryModel;
    VkBool32 vulkanMemoryModelDeviceScope;
    VkBool32 vulkanMemoryModelAvailabilityVisibilityChains;
    VkBool32 shaderOutputViewportIndex;
    VkBool32 shaderOutputLayer;
    VkBool32 subgroupBroadcastDynamicId;
}

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
BUFFERDEVICEADDRESS

The struct member offsets.

public static final int
BUFFERDEVICEADDRESSCAPTUREREPLAY

The struct member offsets.

public static final int
BUFFERDEVICEADDRESSMULTIDEVICE

The struct member offsets.

public static final int
DESCRIPTORBINDINGPARTIALLYBOUND

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
public static final int
DESCRIPTORBINDINGVARIABLEDESCRIPTORCOUNT

The struct member offsets.

public static final int
DESCRIPTORINDEXING

The struct member offsets.

public static final int
DRAWINDIRECTCOUNT

The struct member offsets.

public static final int
HOSTQUERYRESET

The struct member offsets.

public static final int
IMAGELESSFRAMEBUFFER

The struct member offsets.

public static final int
PNEXT

The struct member offsets.

public static final int
RUNTIMEDESCRIPTORARRAY

The struct member offsets.

public static final int
SAMPLERFILTERMINMAX

The struct member offsets.

public static final int
SAMPLERMIRRORCLAMPTOEDGE

The struct member offsets.

public static final int
SCALARBLOCKLAYOUT

The struct member offsets.

public static final int
SEPARATEDEPTHSTENCILLAYOUTS

The struct member offsets.

public static final int
SHADERBUFFERINT64ATOMICS

The struct member offsets.

public static final int
SHADERFLOAT16

The struct member offsets.

public static final int
public static final int
public static final int
SHADERINT8

The struct member offsets.

public static final int
SHADEROUTPUTLAYER

The struct member offsets.

public static final int
SHADEROUTPUTVIEWPORTINDEX

The struct member offsets.

public static final int
public static final int
SHADERSHAREDINT64ATOMICS

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
public static final int
SHADERSUBGROUPEXTENDEDTYPES

The struct member offsets.

public static final int
public static final int
public static final int
public static final int
SIZEOF

The struct size in bytes.

public static final int
STORAGEBUFFER8BITACCESS

The struct member offsets.

public static final int
STORAGEPUSHCONSTANT8

The struct member offsets.

public static final int
STYPE

The struct member offsets.

public static final int
SUBGROUPBROADCASTDYNAMICID

The struct member offsets.

public static final int
TIMELINESEMAPHORE

The struct member offsets.

public static final int
UNIFORMANDSTORAGEBUFFER8BITACCESS

The struct member offsets.

public static final int
UNIFORMBUFFERSTANDARDLAYOUT

The struct member offsets.

public static final int
VULKANMEMORYMODEL

The struct member offsets.

public static final int
public static final int
VULKANMEMORYMODELDEVICESCOPE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDeviceVulkan12Features(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public boolean
bufferDeviceAddress()

indicates that the implementation supports accessing buffer memory in shaders as storage buffers via an address queried from GetBufferDeviceAddress.

public VkPhysicalDeviceVulkan12Features
bufferDeviceAddress(boolean value)

Sets the specified value to the bufferDeviceAddress field.

public boolean
bufferDeviceAddressCaptureReplay()

indicates that the implementation supports saving and reusing buffer and device addresses, e.g. for trace capture and replay.

public VkPhysicalDeviceVulkan12Features
bufferDeviceAddressCaptureReplay(boolean value)

Sets the specified value to the bufferDeviceAddressCaptureReplay field.

public boolean
bufferDeviceAddressMultiDevice()

indicates that the implementation supports the bufferDeviceAddress , rayTracingPipeline and rayQuery features for logical devices created with multiple physical devices.

public VkPhysicalDeviceVulkan12Features
bufferDeviceAddressMultiDevice(boolean value)

Sets the specified value to the bufferDeviceAddressMultiDevice field.

public static VkPhysicalDeviceVulkan12Features
calloc()

Returns a new VkPhysicalDeviceVulkan12Features instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceVulkan12Features.Buffer instance allocated with memCalloc.

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

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

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

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

protected VkPhysicalDeviceVulkan12Features
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 VkPhysicalDeviceVulkan12Features
create()

Returns a new VkPhysicalDeviceVulkan12Features instance allocated with BufferUtils.

public static VkPhysicalDeviceVulkan12Features
create(long address)

Returns a new VkPhysicalDeviceVulkan12Features instance for the specified memory address.

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

Returns a new VkPhysicalDeviceVulkan12Features.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceVulkan12Features.Buffer instance at the specified memory.

public static VkPhysicalDeviceVulkan12Features
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public boolean
descriptorBindingPartiallyBound()

indicates whether the implementation supports statically using a descriptor set binding in which some descriptors are not valid.

public VkPhysicalDeviceVulkan12Features
descriptorBindingPartiallyBound(boolean value)

Sets the specified value to the descriptorBindingPartiallyBound field.

public boolean
descriptorBindingSampledImageUpdateAfterBind()

indicates whether the implementation supports updating sampled image descriptors after a set is bound.

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingStorageBufferUpdateAfterBind()

indicates whether the implementation supports updating storage buffer descriptors after a set is bound.

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingStorageImageUpdateAfterBind()

indicates whether the implementation supports updating storage image descriptors after a set is bound.

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingStorageTexelBufferUpdateAfterBind()

indicates whether the implementation supports updating storage texel buffer descriptors after a set is bound.

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingUniformBufferUpdateAfterBind()

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

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingUniformTexelBufferUpdateAfterBind()

indicates whether the implementation supports updating uniform texel buffer descriptors after a set is bound.

public VkPhysicalDeviceVulkan12Features
public boolean
descriptorBindingUpdateUnusedWhilePending()

indicates whether the implementation supports updating descriptors while the set is in use.

public VkPhysicalDeviceVulkan12Features
descriptorBindingUpdateUnusedWhilePending(boolean value)

Sets the specified value to the descriptorBindingUpdateUnusedWhilePending field.

public boolean
descriptorBindingVariableDescriptorCount()

indicates whether the implementation supports descriptor sets with a variable-sized last binding.

public VkPhysicalDeviceVulkan12Features
descriptorBindingVariableDescriptorCount(boolean value)

Sets the specified value to the descriptorBindingVariableDescriptorCount field.

public boolean
descriptorIndexing()

indicates whether the implementation supports the minimum set of descriptor indexing features as described in the Feature Requirements section.

public VkPhysicalDeviceVulkan12Features
descriptorIndexing(boolean value)

Sets the specified value to the descriptorIndexing field.

public boolean
drawIndirectCount()

indicates whether the implementation supports the CmdDrawIndirectCount and CmdDrawIndexedIndirectCount functions.

public VkPhysicalDeviceVulkan12Features
drawIndirectCount(boolean value)

Sets the specified value to the drawIndirectCount field.

public boolean
hostQueryReset()

indicates that the implementation supports resetting queries from the host with ResetQueryPool.

public VkPhysicalDeviceVulkan12Features
hostQueryReset(boolean value)

Sets the specified value to the hostQueryReset field.

public boolean
imagelessFramebuffer()

indicates that the implementation supports specifying the image view for attachments at render pass begin time via VkRenderPassAttachmentBeginInfo.

public VkPhysicalDeviceVulkan12Features
imagelessFramebuffer(boolean value)

Sets the specified value to the imagelessFramebuffer field.

public static VkPhysicalDeviceVulkan12Features
malloc()

Returns a new VkPhysicalDeviceVulkan12Features instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceVulkan12Features.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceVulkan12Features instance allocated on the specified MemoryStack.

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

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

public static int
nbufferDeviceAddress(long struct)

Unsafe version of bufferDeviceAddress.

public static void
nbufferDeviceAddress(long struct, int value)

Unsafe version of bufferDeviceAddress.

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

Unsafe version of bufferDeviceAddressCaptureReplay.

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

Unsafe version of bufferDeviceAddressMultiDevice.

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

Unsafe version of descriptorBindingPartiallyBound.

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

Unsafe version of descriptorIndexing.

public static void
ndescriptorIndexing(long struct, int value)

Unsafe version of descriptorIndexing.

public static int
ndrawIndirectCount(long struct)

Unsafe version of drawIndirectCount.

public static void
ndrawIndirectCount(long struct, int value)

Unsafe version of drawIndirectCount.

public static int
nhostQueryReset(long struct)

Unsafe version of hostQueryReset.

public static void
nhostQueryReset(long struct, int value)

Unsafe version of hostQueryReset.

public static int
nimagelessFramebuffer(long struct)

Unsafe version of imagelessFramebuffer.

public static void
nimagelessFramebuffer(long struct, int value)

Unsafe version of imagelessFramebuffer.

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
nruntimeDescriptorArray(long struct)

Unsafe version of runtimeDescriptorArray.

public static void
nruntimeDescriptorArray(long struct, int value)

Unsafe version of runtimeDescriptorArray.

public static int
nsamplerFilterMinmax(long struct)

Unsafe version of samplerFilterMinmax.

public static void
nsamplerFilterMinmax(long struct, int value)

Unsafe version of samplerFilterMinmax.

public static int
nsamplerMirrorClampToEdge(long struct)

Unsafe version of samplerMirrorClampToEdge.

public static void
nsamplerMirrorClampToEdge(long struct, int value)

Unsafe version of samplerMirrorClampToEdge.

public static int
nscalarBlockLayout(long struct)

Unsafe version of scalarBlockLayout.

public static void
nscalarBlockLayout(long struct, int value)

Unsafe version of scalarBlockLayout.

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

Unsafe version of separateDepthStencilLayouts.

public static int
nshaderBufferInt64Atomics(long struct)

Unsafe version of shaderBufferInt64Atomics.

public static void
nshaderBufferInt64Atomics(long struct, int value)

Unsafe version of shaderBufferInt64Atomics.

public static int
nshaderFloat16(long struct)

Unsafe version of shaderFloat16.

public static void
nshaderFloat16(long struct, int value)

Unsafe version of shaderFloat16.

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

Unsafe version of shaderInt8.

public static void
nshaderInt8(long struct, int value)

Unsafe version of shaderInt8.

public static int
nshaderOutputLayer(long struct)

Unsafe version of shaderOutputLayer.

public static void
nshaderOutputLayer(long struct, int value)

Unsafe version of shaderOutputLayer.

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

Unsafe version of shaderOutputViewportIndex.

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

Unsafe version of shaderSharedInt64Atomics.

public static void
nshaderSharedInt64Atomics(long struct, int value)

Unsafe version of shaderSharedInt64Atomics.

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

Unsafe version of shaderSubgroupExtendedTypes.

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

Unsafe version of storageBuffer8BitAccess.

public static void
nstorageBuffer8BitAccess(long struct, int value)

Unsafe version of storageBuffer8BitAccess.

public static int
nstoragePushConstant8(long struct)

Unsafe version of storagePushConstant8.

public static void
nstoragePushConstant8(long struct, int value)

Unsafe version of storagePushConstant8.

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
public static void
nsubgroupBroadcastDynamicId(long struct, int value)

Unsafe version of subgroupBroadcastDynamicId.

public static int
ntimelineSemaphore(long struct)

Unsafe version of timelineSemaphore.

public static void
ntimelineSemaphore(long struct, int value)

Unsafe version of timelineSemaphore.

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

Unsafe version of uniformBufferStandardLayout.

public static int
nvulkanMemoryModel(long struct)

Unsafe version of vulkanMemoryModel.

public static void
nvulkanMemoryModel(long struct, int value)

Unsafe version of vulkanMemoryModel.

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

Unsafe version of vulkanMemoryModelDeviceScope.

public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDeviceVulkan12Features
pNext(long value)

Sets the specified value to the pNext field.

public boolean
runtimeDescriptorArray()

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

public VkPhysicalDeviceVulkan12Features
runtimeDescriptorArray(boolean value)

Sets the specified value to the runtimeDescriptorArray field.

public boolean
samplerFilterMinmax()

indicates whether the implementation supports a minimum set of required formats supporting min/max filtering as defined by the filterMinmaxSingleComponentFormats property minimum requirements.

public VkPhysicalDeviceVulkan12Features
samplerFilterMinmax(boolean value)

Sets the specified value to the samplerFilterMinmax field.

public boolean
samplerMirrorClampToEdge()

indicates whether the implementation supports the SAMPLER_ADDRESS_MODE_MIRROR_CLAMP_TO_EDGE sampler address mode.

public VkPhysicalDeviceVulkan12Features
samplerMirrorClampToEdge(boolean value)

Sets the specified value to the samplerMirrorClampToEdge field.

public boolean
scalarBlockLayout()

indicates that the implementation supports the layout of resource blocks in shaders using scalar alignment.

public VkPhysicalDeviceVulkan12Features
scalarBlockLayout(boolean value)

Sets the specified value to the scalarBlockLayout field.

public boolean
public VkPhysicalDeviceVulkan12Features
separateDepthStencilLayouts(boolean value)

Sets the specified value to the separateDepthStencilLayouts field.

public VkPhysicalDeviceVulkan12Features
set(int sType, long pNext, boolean samplerMirrorClampToEdge, boolean drawIndirectCount, boolean storageBuffer8BitAccess, boolean uniformAndStorageBuffer8BitAccess, boolean storagePushConstant8, boolean shaderBufferInt64Atomics, boolean shaderSharedInt64Atomics, boolean shaderFloat16, boolean shaderInt8, boolean descriptorIndexing, boolean shaderInputAttachmentArrayDynamicIndexing, boolean shaderUniformTexelBufferArrayDynamicIndexing, boolean shaderStorageTexelBufferArrayDynamicIndexing, boolean shaderUniformBufferArrayNonUniformIndexing, boolean shaderSampledImageArrayNonUniformIndexing, boolean shaderStorageBufferArrayNonUniformIndexing, boolean shaderStorageImageArrayNonUniformIndexing, boolean shaderInputAttachmentArrayNonUniformIndexing, boolean shaderUniformTexelBufferArrayNonUniformIndexing, boolean shaderStorageTexelBufferArrayNonUniformIndexing, boolean descriptorBindingUniformBufferUpdateAfterBind, boolean descriptorBindingSampledImageUpdateAfterBind, boolean descriptorBindingStorageImageUpdateAfterBind, boolean descriptorBindingStorageBufferUpdateAfterBind, boolean descriptorBindingUniformTexelBufferUpdateAfterBind, boolean descriptorBindingStorageTexelBufferUpdateAfterBind, boolean descriptorBindingUpdateUnusedWhilePending, boolean descriptorBindingPartiallyBound, boolean descriptorBindingVariableDescriptorCount, boolean runtimeDescriptorArray, boolean samplerFilterMinmax, boolean scalarBlockLayout, boolean imagelessFramebuffer, boolean uniformBufferStandardLayout, boolean shaderSubgroupExtendedTypes, boolean separateDepthStencilLayouts, boolean hostQueryReset, boolean timelineSemaphore, boolean bufferDeviceAddress, boolean bufferDeviceAddressCaptureReplay, boolean bufferDeviceAddressMultiDevice, boolean vulkanMemoryModel, boolean vulkanMemoryModelDeviceScope, boolean vulkanMemoryModelAvailabilityVisibilityChains, boolean shaderOutputViewportIndex, boolean shaderOutputLayer, boolean subgroupBroadcastDynamicId)

Initializes this struct with the specified values.

public VkPhysicalDeviceVulkan12Features

Returns:

this struct
set
(VkPhysicalDeviceVulkan12Features
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderBufferInt64Atomics()

indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on buffers.

public VkPhysicalDeviceVulkan12Features
shaderBufferInt64Atomics(boolean value)

Sets the specified value to the shaderBufferInt64Atomics field.

public boolean
shaderFloat16()

indicates whether 16-bit floats (halfs) are supported in shader code.

public VkPhysicalDeviceVulkan12Features
shaderFloat16(boolean value)

Sets the specified value to the shaderFloat16 field.

public boolean
shaderInputAttachmentArrayDynamicIndexing()

indicates whether arrays of input attachments can be indexed by dynamically uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
shaderInputAttachmentArrayDynamicIndexing(boolean value)

Sets the specified value to the shaderInputAttachmentArrayDynamicIndexing field.

public boolean
shaderInputAttachmentArrayNonUniformIndexing()

indicates whether arrays of input attachments can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderInt8()

indicates whether 8-bit integers (signed and unsigned) are supported in shader code.

public VkPhysicalDeviceVulkan12Features
shaderInt8(boolean value)

Sets the specified value to the shaderInt8 field.

public boolean
shaderOutputLayer()

indicates whether the implementation supports the ShaderLayer SPIR-V capability enabling variables decorated with the Layer built-in to be exported from mesh, vertex or tessellation evaluation shaders.

public VkPhysicalDeviceVulkan12Features
shaderOutputLayer(boolean value)

Sets the specified value to the shaderOutputLayer field.

public boolean
shaderOutputViewportIndex()

indicates whether the implementation supports the ShaderViewportIndex SPIR-V capability enabling variables decorated with the ViewportIndex built-in to be exported from mesh, vertex or tessellation evaluation shaders.

public VkPhysicalDeviceVulkan12Features
shaderOutputViewportIndex(boolean value)

Sets the specified value to the shaderOutputViewportIndex field.

public boolean
shaderSampledImageArrayNonUniformIndexing()

indicates whether arrays of samplers or sampled images can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
shaderSampledImageArrayNonUniformIndexing(boolean value)

Sets the specified value to the shaderSampledImageArrayNonUniformIndexing field.

public boolean
shaderSharedInt64Atomics()

indicates whether shaders can perform 64-bit unsigned and signed integer atomic operations on shared and payload memory.

public VkPhysicalDeviceVulkan12Features
shaderSharedInt64Atomics(boolean value)

Sets the specified value to the shaderSharedInt64Atomics field.

public boolean
shaderStorageBufferArrayNonUniformIndexing()

indicates whether arrays of storage buffers can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderStorageImageArrayNonUniformIndexing()

indicates whether arrays of storage images can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
shaderStorageImageArrayNonUniformIndexing(boolean value)

Sets the specified value to the shaderStorageImageArrayNonUniformIndexing field.

public boolean
shaderStorageTexelBufferArrayDynamicIndexing()

indicates whether arrays of storage texel buffers can be indexed by dynamically uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderStorageTexelBufferArrayNonUniformIndexing()

indicates whether arrays of storage texel buffers can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderSubgroupExtendedTypes()

a boolean specifying whether subgroup operations can use 8-bit integer, 16-bit integer, 64-bit integer, 16-bit floating-point, and vectors of these types in group operations with subgroup scope, if the implementation supports the types.

public VkPhysicalDeviceVulkan12Features
shaderSubgroupExtendedTypes(boolean value)

Sets the specified value to the shaderSubgroupExtendedTypes field.

public boolean
shaderUniformBufferArrayNonUniformIndexing()

indicates whether arrays of uniform buffers can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderUniformTexelBufferArrayDynamicIndexing()

indicates whether arrays of uniform texel buffers can be indexed by dynamically uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public boolean
shaderUniformTexelBufferArrayNonUniformIndexing()

indicates whether arrays of uniform texel buffers can be indexed by non-uniform integer expressions in shader code.

public VkPhysicalDeviceVulkan12Features
public int
sizeof()

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

Returns sizeof(struct).
public boolean
storageBuffer8BitAccess()

indicates whether objects in the StorageBuffer, ShaderRecordBufferKHR, or PhysicalStorageBuffer storage class with the Block decoration can have 8-bit integer members.

public VkPhysicalDeviceVulkan12Features
storageBuffer8BitAccess(boolean value)

Sets the specified value to the storageBuffer8BitAccess field.

public boolean
storagePushConstant8()

indicates whether objects in the PushConstant storage class can have 8-bit integer members.

public VkPhysicalDeviceVulkan12Features
storagePushConstant8(boolean value)

Sets the specified value to the storagePushConstant8 field.

public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDeviceVulkan12Features
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDeviceVulkan12Features
public boolean

Returns:

the value of the subgroupBroadcastDynamicId field.
subgroupBroadcastDynamicId
()

public VkPhysicalDeviceVulkan12Features
subgroupBroadcastDynamicId(boolean value)

Sets the specified value to the subgroupBroadcastDynamicId field.

public boolean
timelineSemaphore()

indicates whether semaphores created with a VkSemaphoreType of SEMAPHORE_TYPE_TIMELINE are supported.

public VkPhysicalDeviceVulkan12Features
timelineSemaphore(boolean value)

Sets the specified value to the timelineSemaphore field.

public boolean
uniformAndStorageBuffer8BitAccess()

indicates whether objects in the Uniform storage class with the Block decoration can have 8-bit integer members.

public VkPhysicalDeviceVulkan12Features
uniformAndStorageBuffer8BitAccess(boolean value)

Sets the specified value to the uniformAndStorageBuffer8BitAccess field.

public boolean
uniformBufferStandardLayout()

indicates that the implementation supports the same layouts for uniform buffers as for storage and other kinds of buffers.

public VkPhysicalDeviceVulkan12Features
uniformBufferStandardLayout(boolean value)

Sets the specified value to the uniformBufferStandardLayout field.

public boolean
vulkanMemoryModel()

indicates whether shader modules can declare the VulkanMemoryModel capability.

public VkPhysicalDeviceVulkan12Features
vulkanMemoryModel(boolean value)

Sets the specified value to the vulkanMemoryModel field.

public boolean
vulkanMemoryModelAvailabilityVisibilityChains()

indicates whether the Vulkan Memory Model can use availability and visibility chains with more than one element.

public VkPhysicalDeviceVulkan12Features
public boolean
vulkanMemoryModelDeviceScope()

indicates whether the Vulkan Memory Model can use Device scope synchronization.

public VkPhysicalDeviceVulkan12Features
vulkanMemoryModelDeviceScope(boolean value)

Sets the specified value to the vulkanMemoryModelDeviceScope field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate