Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDeviceFeatures

extends Struct<VkPhysicalDeviceFeatures>
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 fine-grained features that can be supported by an implementation.
See Also

VkDeviceCreateInfo, VkPhysicalDeviceFeatures2, GetPhysicalDeviceFeatures

Layout


struct VkPhysicalDeviceFeatures {
    VkBool32 robustBufferAccess;
    VkBool32 fullDrawIndexUint32;
    VkBool32 imageCubeArray;
    VkBool32 independentBlend;
    VkBool32 geometryShader;
    VkBool32 tessellationShader;
    VkBool32 sampleRateShading;
    VkBool32 dualSrcBlend;
    VkBool32 logicOp;
    VkBool32 multiDrawIndirect;
    VkBool32 drawIndirectFirstInstance;
    VkBool32 depthClamp;
    VkBool32 depthBiasClamp;
    VkBool32 fillModeNonSolid;
    VkBool32 depthBounds;
    VkBool32 wideLines;
    VkBool32 largePoints;
    VkBool32 alphaToOne;
    VkBool32 multiViewport;
    VkBool32 samplerAnisotropy;
    VkBool32 textureCompressionETC2;
    VkBool32 textureCompressionASTC_LDR;
    VkBool32 textureCompressionBC;
    VkBool32 occlusionQueryPrecise;
    VkBool32 pipelineStatisticsQuery;
    VkBool32 vertexPipelineStoresAndAtomics;
    VkBool32 fragmentStoresAndAtomics;
    VkBool32 shaderTessellationAndGeometryPointSize;
    VkBool32 shaderImageGatherExtended;
    VkBool32 shaderStorageImageExtendedFormats;
    VkBool32 shaderStorageImageMultisample;
    VkBool32 shaderStorageImageReadWithoutFormat;
    VkBool32 shaderStorageImageWriteWithoutFormat;
    VkBool32 shaderUniformBufferArrayDynamicIndexing;
    VkBool32 shaderSampledImageArrayDynamicIndexing;
    VkBool32 shaderStorageBufferArrayDynamicIndexing;
    VkBool32 shaderStorageImageArrayDynamicIndexing;
    VkBool32 shaderClipDistance;
    VkBool32 shaderCullDistance;
    VkBool32 shaderFloat64;
    VkBool32 shaderInt64;
    VkBool32 shaderInt16;
    VkBool32 shaderResourceResidency;
    VkBool32 shaderResourceMinLod;
    VkBool32 sparseBinding;
    VkBool32 sparseResidencyBuffer;
    VkBool32 sparseResidencyImage2D;
    VkBool32 sparseResidencyImage3D;
    VkBool32 sparseResidency2Samples;
    VkBool32 sparseResidency4Samples;
    VkBool32 sparseResidency8Samples;
    VkBool32 sparseResidency16Samples;
    VkBool32 sparseResidencyAliased;
    VkBool32 variableMultisampleRate;
    VkBool32 inheritedQueries;
}

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
ALPHATOONE

The struct member offsets.

public static final int
DEPTHBIASCLAMP

The struct member offsets.

public static final int
DEPTHBOUNDS

The struct member offsets.

public static final int
DEPTHCLAMP

The struct member offsets.

public static final int
DRAWINDIRECTFIRSTINSTANCE

The struct member offsets.

public static final int
DUALSRCBLEND

The struct member offsets.

public static final int
FILLMODENONSOLID

The struct member offsets.

public static final int
FRAGMENTSTORESANDATOMICS

The struct member offsets.

public static final int
FULLDRAWINDEXUINT32

The struct member offsets.

public static final int
GEOMETRYSHADER

The struct member offsets.

public static final int
IMAGECUBEARRAY

The struct member offsets.

public static final int
INDEPENDENTBLEND

The struct member offsets.

public static final int
INHERITEDQUERIES

The struct member offsets.

public static final int
LARGEPOINTS

The struct member offsets.

public static final int
LOGICOP

The struct member offsets.

public static final int
MULTIDRAWINDIRECT

The struct member offsets.

public static final int
MULTIVIEWPORT

The struct member offsets.

public static final int
OCCLUSIONQUERYPRECISE

The struct member offsets.

public static final int
PIPELINESTATISTICSQUERY

The struct member offsets.

public static final int
ROBUSTBUFFERACCESS

The struct member offsets.

public static final int
SAMPLERANISOTROPY

The struct member offsets.

public static final int
SAMPLERATESHADING

The struct member offsets.

public static final int
SHADERCLIPDISTANCE

The struct member offsets.

public static final int
SHADERCULLDISTANCE

The struct member offsets.

public static final int
SHADERFLOAT64

The struct member offsets.

public static final int
SHADERIMAGEGATHEREXTENDED

The struct member offsets.

public static final int
SHADERINT16

The struct member offsets.

public static final int
SHADERINT64

The struct member offsets.

public static final int
SHADERRESOURCEMINLOD

The struct member offsets.

public static final int
SHADERRESOURCERESIDENCY

The struct member offsets.

public static final int
SHADERSAMPLEDIMAGEARRAYDYNAMICINDEXING

The struct member offsets.

public static final int
SHADERSTORAGEBUFFERARRAYDYNAMICINDEXING

The struct member offsets.

public static final int
SHADERSTORAGEIMAGEARRAYDYNAMICINDEXING

The struct member offsets.

public static final int
SHADERSTORAGEIMAGEEXTENDEDFORMATS

The struct member offsets.

public static final int
SHADERSTORAGEIMAGEMULTISAMPLE

The struct member offsets.

public static final int
SHADERSTORAGEIMAGEREADWITHOUTFORMAT

The struct member offsets.

public static final int
SHADERSTORAGEIMAGEWRITEWITHOUTFORMAT

The struct member offsets.

public static final int
SHADERTESSELLATIONANDGEOMETRYPOINTSIZE

The struct member offsets.

public static final int
SHADERUNIFORMBUFFERARRAYDYNAMICINDEXING

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SPARSEBINDING

The struct member offsets.

public static final int
SPARSERESIDENCY16SAMPLES

The struct member offsets.

public static final int
SPARSERESIDENCY2SAMPLES

The struct member offsets.

public static final int
SPARSERESIDENCY4SAMPLES

The struct member offsets.

public static final int
SPARSERESIDENCY8SAMPLES

The struct member offsets.

public static final int
SPARSERESIDENCYALIASED

The struct member offsets.

public static final int
SPARSERESIDENCYBUFFER

The struct member offsets.

public static final int
SPARSERESIDENCYIMAGE2D

The struct member offsets.

public static final int
SPARSERESIDENCYIMAGE3D

The struct member offsets.

public static final int
TESSELLATIONSHADER

The struct member offsets.

public static final int
TEXTURECOMPRESSIONASTC_LDR

The struct member offsets.

public static final int
TEXTURECOMPRESSIONBC

The struct member offsets.

public static final int
TEXTURECOMPRESSIONETC2

The struct member offsets.

public static final int
VARIABLEMULTISAMPLERATE

The struct member offsets.

public static final int
VERTEXPIPELINESTORESANDATOMICS

The struct member offsets.

public static final int
WIDELINES

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
VkPhysicalDeviceFeatures(long address, ByteBuffer container)

public
VkPhysicalDeviceFeatures(ByteBuffer container)

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

Method Summary

Modifier and TypeMethod and Description
public boolean
alphaToOne()

specifies whether the implementation is able to replace the alpha value of the fragment shader color output in the Multisample Coverage fragment operation.

public VkPhysicalDeviceFeatures
alphaToOne(boolean value)

Sets the specified value to the alphaToOne field.

public static VkPhysicalDeviceFeatures
calloc()

Returns a new VkPhysicalDeviceFeatures instance allocated with memCalloc.

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

Returns a new VkPhysicalDeviceFeatures.Buffer instance allocated with memCalloc.

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

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

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

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

public static VkPhysicalDeviceFeatures
callocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures
callocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures.Buffer
callocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures.Buffer
callocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
protected VkPhysicalDeviceFeatures
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 VkPhysicalDeviceFeatures
create()

Returns a new VkPhysicalDeviceFeatures instance allocated with BufferUtils.

public static VkPhysicalDeviceFeatures
create(long address)

Returns a new VkPhysicalDeviceFeatures instance for the specified memory address.

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

Returns a new VkPhysicalDeviceFeatures.Buffer instance allocated with BufferUtils.

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

Create a VkPhysicalDeviceFeatures.Buffer instance at the specified memory.

public static VkPhysicalDeviceFeatures
createSafe(long address)

Like create, but returns null if address is NULL.

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

Like create, but returns null if address is NULL.

public boolean
depthBiasClamp()

specifies whether depth bias clamping is supported.

public VkPhysicalDeviceFeatures
depthBiasClamp(boolean value)

Sets the specified value to the depthBiasClamp field.

public boolean
depthBounds()

specifies whether depth bounds tests are supported.

public VkPhysicalDeviceFeatures
depthBounds(boolean value)

Sets the specified value to the depthBounds field.

public boolean
depthClamp()

specifies whether depth clamping is supported.

public VkPhysicalDeviceFeatures
depthClamp(boolean value)

Sets the specified value to the depthClamp field.

public boolean
drawIndirectFirstInstance()

specifies whether indirect drawing calls support the firstInstance parameter.

public VkPhysicalDeviceFeatures
drawIndirectFirstInstance(boolean value)

Sets the specified value to the drawIndirectFirstInstance field.

public boolean
dualSrcBlend()

specifies whether blend operations which take two sources are supported.

public VkPhysicalDeviceFeatures
dualSrcBlend(boolean value)

Sets the specified value to the dualSrcBlend field.

public boolean
fillModeNonSolid()

specifies whether point and wireframe fill modes are supported.

public VkPhysicalDeviceFeatures
fillModeNonSolid(boolean value)

Sets the specified value to the fillModeNonSolid field.

public boolean
fragmentStoresAndAtomics()

specifies whether storage buffers and images support stores and atomic operations in the fragment shader stage.

public VkPhysicalDeviceFeatures
fragmentStoresAndAtomics(boolean value)

Sets the specified value to the fragmentStoresAndAtomics field.

public boolean
fullDrawIndexUint32()

specifies the full 32-bit range of indices is supported for indexed draw calls when using a VkIndexType of INDEX_TYPE_UINT32.

public VkPhysicalDeviceFeatures
fullDrawIndexUint32(boolean value)

Sets the specified value to the fullDrawIndexUint32 field.

public boolean
geometryShader()

specifies whether geometry shaders are supported.

public VkPhysicalDeviceFeatures
geometryShader(boolean value)

Sets the specified value to the geometryShader field.

public boolean
imageCubeArray()

specifies whether image views with a VkImageViewType of IMAGE_VIEW_TYPE_CUBE_ARRAY can be created, and that the corresponding SampledCubeArray and ImageCubeArray SPIR-V capabilities can be used in shader code.

public VkPhysicalDeviceFeatures
imageCubeArray(boolean value)

Sets the specified value to the imageCubeArray field.

public boolean
independentBlend()

specifies whether the VkPipelineColorBlendAttachmentState settings are controlled independently per-attachment.

public VkPhysicalDeviceFeatures
independentBlend(boolean value)

Sets the specified value to the independentBlend field.

public boolean
inheritedQueries()

specifies whether a secondary command buffer may be executed while a query is active.

public VkPhysicalDeviceFeatures
inheritedQueries(boolean value)

Sets the specified value to the inheritedQueries field.

public boolean
largePoints()

specifies whether points with size greater than 1.0 are supported.

public VkPhysicalDeviceFeatures
largePoints(boolean value)

Sets the specified value to the largePoints field.

public boolean
logicOp()

specifies whether logic operations are supported.

public VkPhysicalDeviceFeatures
logicOp(boolean value)

Sets the specified value to the logicOp field.

public static VkPhysicalDeviceFeatures
malloc()

Returns a new VkPhysicalDeviceFeatures instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceFeatures.Buffer instance allocated with memAlloc.

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

Returns a new VkPhysicalDeviceFeatures instance allocated on the specified MemoryStack.

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

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

public static VkPhysicalDeviceFeatures
mallocStack()

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures
mallocStack(MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures.Buffer
mallocStack(int capacity)

Deprecated
Deprecated for removal in 3.4.0.
public static VkPhysicalDeviceFeatures.Buffer
mallocStack(int capacity, MemoryStack stack)

Deprecated
Deprecated for removal in 3.4.0.
public boolean
multiDrawIndirect()

specifies whether multiple draw indirect is supported.

public VkPhysicalDeviceFeatures
multiDrawIndirect(boolean value)

Sets the specified value to the multiDrawIndirect field.

public boolean
multiViewport()

specifies whether more than one viewport is supported.

public VkPhysicalDeviceFeatures
multiViewport(boolean value)

Sets the specified value to the multiViewport field.

public static int
nalphaToOne(long struct)

Unsafe version of alphaToOne.

public static void
nalphaToOne(long struct, int value)

Unsafe version of alphaToOne.

public static int
ndepthBiasClamp(long struct)

Unsafe version of depthBiasClamp.

public static void
ndepthBiasClamp(long struct, int value)

Unsafe version of depthBiasClamp.

public static int
ndepthBounds(long struct)

Unsafe version of depthBounds.

public static void
ndepthBounds(long struct, int value)

Unsafe version of depthBounds.

public static int
ndepthClamp(long struct)

Unsafe version of depthClamp.

public static void
ndepthClamp(long struct, int value)

Unsafe version of depthClamp.

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

Unsafe version of drawIndirectFirstInstance.

public static int
ndualSrcBlend(long struct)

Unsafe version of dualSrcBlend.

public static void
ndualSrcBlend(long struct, int value)

Unsafe version of dualSrcBlend.

public static int
nfillModeNonSolid(long struct)

Unsafe version of fillModeNonSolid.

public static void
nfillModeNonSolid(long struct, int value)

Unsafe version of fillModeNonSolid.

public static int
nfragmentStoresAndAtomics(long struct)

Unsafe version of fragmentStoresAndAtomics.

public static void
nfragmentStoresAndAtomics(long struct, int value)

Unsafe version of fragmentStoresAndAtomics.

public static int
nfullDrawIndexUint32(long struct)

Unsafe version of fullDrawIndexUint32.

public static void
nfullDrawIndexUint32(long struct, int value)

Unsafe version of fullDrawIndexUint32.

public static int
ngeometryShader(long struct)

Unsafe version of geometryShader.

public static void
ngeometryShader(long struct, int value)

Unsafe version of geometryShader.

public static int
nimageCubeArray(long struct)

Unsafe version of imageCubeArray.

public static void
nimageCubeArray(long struct, int value)

Unsafe version of imageCubeArray.

public static int
nindependentBlend(long struct)

Unsafe version of independentBlend.

public static void
nindependentBlend(long struct, int value)

Unsafe version of independentBlend.

public static int
ninheritedQueries(long struct)

Unsafe version of inheritedQueries.

public static void
ninheritedQueries(long struct, int value)

Unsafe version of inheritedQueries.

public static int
nlargePoints(long struct)

Unsafe version of largePoints.

public static void
nlargePoints(long struct, int value)

Unsafe version of largePoints.

public static int
nlogicOp(long struct)

Unsafe version of logicOp.

public static void
nlogicOp(long struct, int value)

Unsafe version of logicOp.

public static int
nmultiDrawIndirect(long struct)

Unsafe version of multiDrawIndirect.

public static void
nmultiDrawIndirect(long struct, int value)

Unsafe version of multiDrawIndirect.

public static int
nmultiViewport(long struct)

Unsafe version of multiViewport.

public static void
nmultiViewport(long struct, int value)

Unsafe version of multiViewport.

public static int
nocclusionQueryPrecise(long struct)

Unsafe version of occlusionQueryPrecise.

public static void
nocclusionQueryPrecise(long struct, int value)

Unsafe version of occlusionQueryPrecise.

public static int
npipelineStatisticsQuery(long struct)

Unsafe version of pipelineStatisticsQuery.

public static void
npipelineStatisticsQuery(long struct, int value)

Unsafe version of pipelineStatisticsQuery.

public static int
nrobustBufferAccess(long struct)

Unsafe version of robustBufferAccess.

public static void
nrobustBufferAccess(long struct, int value)

Unsafe version of robustBufferAccess.

public static int
nsamplerAnisotropy(long struct)

Unsafe version of samplerAnisotropy.

public static void
nsamplerAnisotropy(long struct, int value)

Unsafe version of samplerAnisotropy.

public static int
nsampleRateShading(long struct)

Unsafe version of sampleRateShading.

public static void
nsampleRateShading(long struct, int value)

Unsafe version of sampleRateShading.

public static int
nshaderClipDistance(long struct)

Unsafe version of shaderClipDistance.

public static void
nshaderClipDistance(long struct, int value)

Unsafe version of shaderClipDistance.

public static int
nshaderCullDistance(long struct)

Unsafe version of shaderCullDistance.

public static void
nshaderCullDistance(long struct, int value)

Unsafe version of shaderCullDistance.

public static int
nshaderFloat64(long struct)

Unsafe version of shaderFloat64.

public static void
nshaderFloat64(long struct, int value)

Unsafe version of shaderFloat64.

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

Unsafe version of shaderImageGatherExtended.

public static int
nshaderInt16(long struct)

Unsafe version of shaderInt16.

public static void
nshaderInt16(long struct, int value)

Unsafe version of shaderInt16.

public static int
nshaderInt64(long struct)

Unsafe version of shaderInt64.

public static void
nshaderInt64(long struct, int value)

Unsafe version of shaderInt64.

public static int
nshaderResourceMinLod(long struct)

Unsafe version of shaderResourceMinLod.

public static void
nshaderResourceMinLod(long struct, int value)

Unsafe version of shaderResourceMinLod.

public static int
nshaderResourceResidency(long struct)

Unsafe version of shaderResourceResidency.

public static void
nshaderResourceResidency(long struct, int value)

Unsafe version of shaderResourceResidency.

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
nshaderStorageImageMultisample(long struct, int value)

Unsafe version of shaderStorageImageMultisample.

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

Unsafe version of sparseBinding.

public static void
nsparseBinding(long struct, int value)

Unsafe version of sparseBinding.

public static int
nsparseResidency16Samples(long struct)

Unsafe version of sparseResidency16Samples.

public static void
nsparseResidency16Samples(long struct, int value)

Unsafe version of sparseResidency16Samples.

public static int
nsparseResidency2Samples(long struct)

Unsafe version of sparseResidency2Samples.

public static void
nsparseResidency2Samples(long struct, int value)

Unsafe version of sparseResidency2Samples.

public static int
nsparseResidency4Samples(long struct)

Unsafe version of sparseResidency4Samples.

public static void
nsparseResidency4Samples(long struct, int value)

Unsafe version of sparseResidency4Samples.

public static int
nsparseResidency8Samples(long struct)

Unsafe version of sparseResidency8Samples.

public static void
nsparseResidency8Samples(long struct, int value)

Unsafe version of sparseResidency8Samples.

public static int
nsparseResidencyAliased(long struct)

Unsafe version of sparseResidencyAliased.

public static void
nsparseResidencyAliased(long struct, int value)

Unsafe version of sparseResidencyAliased.

public static int
nsparseResidencyBuffer(long struct)

Unsafe version of sparseResidencyBuffer.

public static void
nsparseResidencyBuffer(long struct, int value)

Unsafe version of sparseResidencyBuffer.

public static int
nsparseResidencyImage2D(long struct)

Unsafe version of sparseResidencyImage2D.

public static void
nsparseResidencyImage2D(long struct, int value)

Unsafe version of sparseResidencyImage2D.

public static int
nsparseResidencyImage3D(long struct)

Unsafe version of sparseResidencyImage3D.

public static void
nsparseResidencyImage3D(long struct, int value)

Unsafe version of sparseResidencyImage3D.

public static int
ntessellationShader(long struct)

Unsafe version of tessellationShader.

public static void
ntessellationShader(long struct, int value)

Unsafe version of tessellationShader.

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

Unsafe version of textureCompressionASTC_LDR.

public static int
ntextureCompressionBC(long struct)

Unsafe version of textureCompressionBC.

public static void
ntextureCompressionBC(long struct, int value)

Unsafe version of textureCompressionBC.

public static int
ntextureCompressionETC2(long struct)

Unsafe version of textureCompressionETC2.

public static void
ntextureCompressionETC2(long struct, int value)

Unsafe version of textureCompressionETC2.

public static int
nvariableMultisampleRate(long struct)

Unsafe version of variableMultisampleRate.

public static void
nvariableMultisampleRate(long struct, int value)

Unsafe version of variableMultisampleRate.

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

Unsafe version of vertexPipelineStoresAndAtomics.

public static int
nwideLines(long struct)

Unsafe version of wideLines.

public static void
nwideLines(long struct, int value)

Unsafe version of wideLines.

public boolean
occlusionQueryPrecise()

specifies whether occlusion queries returning actual sample counts are supported.

public VkPhysicalDeviceFeatures
occlusionQueryPrecise(boolean value)

Sets the specified value to the occlusionQueryPrecise field.

public boolean
pipelineStatisticsQuery()

specifies whether the pipeline statistics queries are supported.

public VkPhysicalDeviceFeatures
pipelineStatisticsQuery(boolean value)

Sets the specified value to the pipelineStatisticsQuery field.

public boolean
robustBufferAccess()

specifies that accesses to buffers are bounds-checked against the range of the buffer descriptor (as determined by VkDescriptorBufferInfo::range, VkBufferViewCreateInfo::range, or the size of the buffer).

public VkPhysicalDeviceFeatures
robustBufferAccess(boolean value)

Sets the specified value to the robustBufferAccess field.

public boolean
samplerAnisotropy()

specifies whether anisotropic filtering is supported.

public VkPhysicalDeviceFeatures
samplerAnisotropy(boolean value)

Sets the specified value to the samplerAnisotropy field.

public boolean
sampleRateShading()

specifies whether Sample Shading and multisample interpolation are supported.

public VkPhysicalDeviceFeatures
sampleRateShading(boolean value)

Sets the specified value to the sampleRateShading field.

public VkPhysicalDeviceFeatures
set(boolean robustBufferAccess, boolean fullDrawIndexUint32, boolean imageCubeArray, boolean independentBlend, boolean geometryShader, boolean tessellationShader, boolean sampleRateShading, boolean dualSrcBlend, boolean logicOp, boolean multiDrawIndirect, boolean drawIndirectFirstInstance, boolean depthClamp, boolean depthBiasClamp, boolean fillModeNonSolid, boolean depthBounds, boolean wideLines, boolean largePoints, boolean alphaToOne, boolean multiViewport, boolean samplerAnisotropy, boolean textureCompressionETC2, boolean textureCompressionASTC_LDR, boolean textureCompressionBC, boolean occlusionQueryPrecise, boolean pipelineStatisticsQuery, boolean vertexPipelineStoresAndAtomics, boolean fragmentStoresAndAtomics, boolean shaderTessellationAndGeometryPointSize, boolean shaderImageGatherExtended, boolean shaderStorageImageExtendedFormats, boolean shaderStorageImageMultisample, boolean shaderStorageImageReadWithoutFormat, boolean shaderStorageImageWriteWithoutFormat, boolean shaderUniformBufferArrayDynamicIndexing, boolean shaderSampledImageArrayDynamicIndexing, boolean shaderStorageBufferArrayDynamicIndexing, boolean shaderStorageImageArrayDynamicIndexing, boolean shaderClipDistance, boolean shaderCullDistance, boolean shaderFloat64, boolean shaderInt64, boolean shaderInt16, boolean shaderResourceResidency, boolean shaderResourceMinLod, boolean sparseBinding, boolean sparseResidencyBuffer, boolean sparseResidencyImage2D, boolean sparseResidencyImage3D, boolean sparseResidency2Samples, boolean sparseResidency4Samples, boolean sparseResidency8Samples, boolean sparseResidency16Samples, boolean sparseResidencyAliased, boolean variableMultisampleRate, boolean inheritedQueries)

Initializes this struct with the specified values.

public VkPhysicalDeviceFeatures

Returns:

this struct
set
(VkPhysicalDeviceFeatures
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderClipDistance()

specifies whether clip distances are supported in shader code.

public VkPhysicalDeviceFeatures
shaderClipDistance(boolean value)

Sets the specified value to the shaderClipDistance field.

public boolean
shaderCullDistance()

specifies whether cull distances are supported in shader code.

public VkPhysicalDeviceFeatures
shaderCullDistance(boolean value)

Sets the specified value to the shaderCullDistance field.

public boolean
shaderFloat64()

specifies whether 64-bit floats (doubles) are supported in shader code.

public VkPhysicalDeviceFeatures
shaderFloat64(boolean value)

Sets the specified value to the shaderFloat64 field.

public boolean
shaderImageGatherExtended()

specifies whether the extended set of image gather instructions are available in shader code.

public VkPhysicalDeviceFeatures
shaderImageGatherExtended(boolean value)

Sets the specified value to the shaderImageGatherExtended field.

public boolean
shaderInt16()

specifies whether 16-bit integers (signed and unsigned) are supported in shader code.

public VkPhysicalDeviceFeatures
shaderInt16(boolean value)

Sets the specified value to the shaderInt16 field.

public boolean
shaderInt64()

specifies whether 64-bit integers (signed and unsigned) are supported in shader code.

public VkPhysicalDeviceFeatures
shaderInt64(boolean value)

Sets the specified value to the shaderInt64 field.

public boolean
shaderResourceMinLod()

specifies whether image operations specifying the minimum resource LOD are supported in shader code.

public VkPhysicalDeviceFeatures
shaderResourceMinLod(boolean value)

Sets the specified value to the shaderResourceMinLod field.

public boolean
shaderResourceResidency()

specifies whether image operations that return resource residency information are supported in shader code.

public VkPhysicalDeviceFeatures
shaderResourceResidency(boolean value)

Sets the specified value to the shaderResourceResidency field.

public boolean
shaderSampledImageArrayDynamicIndexing()

specifies whether arrays of samplers or sampled images can be indexed by dynamically uniform integer expressions in shader code.

public VkPhysicalDeviceFeatures
shaderSampledImageArrayDynamicIndexing(boolean value)

Sets the specified value to the shaderSampledImageArrayDynamicIndexing field.

public boolean
shaderStorageBufferArrayDynamicIndexing()

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

public VkPhysicalDeviceFeatures
shaderStorageBufferArrayDynamicIndexing(boolean value)

Sets the specified value to the shaderStorageBufferArrayDynamicIndexing field.

public boolean
shaderStorageImageArrayDynamicIndexing()

specifies whether arrays of storage images can be indexed by dynamically uniform integer expressions in shader code.

public VkPhysicalDeviceFeatures
shaderStorageImageArrayDynamicIndexing(boolean value)

Sets the specified value to the shaderStorageImageArrayDynamicIndexing field.

public boolean
public VkPhysicalDeviceFeatures
shaderStorageImageExtendedFormats(boolean value)

Sets the specified value to the shaderStorageImageExtendedFormats field.

public boolean
shaderStorageImageMultisample()

specifies whether multisampled storage images are supported.

public VkPhysicalDeviceFeatures
shaderStorageImageMultisample(boolean value)

Sets the specified value to the shaderStorageImageMultisample field.

public boolean
shaderStorageImageReadWithoutFormat()

specifies whether storage images and storage texel buffers require a format qualifier to be specified when reading.

public VkPhysicalDeviceFeatures
shaderStorageImageReadWithoutFormat(boolean value)

Sets the specified value to the shaderStorageImageReadWithoutFormat field.

public boolean
shaderStorageImageWriteWithoutFormat()

specifies whether storage images and storage texel buffers require a format qualifier to be specified when writing.

public VkPhysicalDeviceFeatures
shaderStorageImageWriteWithoutFormat(boolean value)

Sets the specified value to the shaderStorageImageWriteWithoutFormat field.

public boolean
shaderTessellationAndGeometryPointSize()

specifies whether the PointSize built-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stages.

public VkPhysicalDeviceFeatures
shaderTessellationAndGeometryPointSize(boolean value)

Sets the specified value to the shaderTessellationAndGeometryPointSize field.

public boolean
shaderUniformBufferArrayDynamicIndexing()

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

public VkPhysicalDeviceFeatures
shaderUniformBufferArrayDynamicIndexing(boolean value)

Sets the specified value to the shaderUniformBufferArrayDynamicIndexing field.

public int
sizeof()

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

Returns sizeof(struct).
public boolean
sparseBinding()

specifies whether resource memory can be managed at opaque sparse block level instead of at the object level.

public VkPhysicalDeviceFeatures
sparseBinding(boolean value)

Sets the specified value to the sparseBinding field.

public boolean
sparseResidency16Samples()

specifies whether the physical device can access partially resident 2D images with 16 samples per pixel.

public VkPhysicalDeviceFeatures
sparseResidency16Samples(boolean value)

Sets the specified value to the sparseResidency16Samples field.

public boolean
sparseResidency2Samples()

specifies whether the physical device can access partially resident 2D images with 2 samples per pixel.

public VkPhysicalDeviceFeatures
sparseResidency2Samples(boolean value)

Sets the specified value to the sparseResidency2Samples field.

public boolean
sparseResidency4Samples()

specifies whether the physical device can access partially resident 2D images with 4 samples per pixel.

public VkPhysicalDeviceFeatures
sparseResidency4Samples(boolean value)

Sets the specified value to the sparseResidency4Samples field.

public boolean
sparseResidency8Samples()

specifies whether the physical device can access partially resident 2D images with 8 samples per pixel.

public VkPhysicalDeviceFeatures
sparseResidency8Samples(boolean value)

Sets the specified value to the sparseResidency8Samples field.

public boolean
sparseResidencyAliased()

specifies whether the physical device can correctly access data aliased into multiple locations.

public VkPhysicalDeviceFeatures
sparseResidencyAliased(boolean value)

Sets the specified value to the sparseResidencyAliased field.

public boolean
sparseResidencyBuffer()

specifies whether the device can access partially resident buffers.

public VkPhysicalDeviceFeatures
sparseResidencyBuffer(boolean value)

Sets the specified value to the sparseResidencyBuffer field.

public boolean
sparseResidencyImage2D()

specifies whether the device can access partially resident 2D images with 1 sample per pixel.

public VkPhysicalDeviceFeatures
sparseResidencyImage2D(boolean value)

Sets the specified value to the sparseResidencyImage2D field.

public boolean
sparseResidencyImage3D()

specifies whether the device can access partially resident 3D images.

public VkPhysicalDeviceFeatures
sparseResidencyImage3D(boolean value)

Sets the specified value to the sparseResidencyImage3D field.

public boolean
tessellationShader()

specifies whether tessellation control and evaluation shaders are supported.

public VkPhysicalDeviceFeatures
tessellationShader(boolean value)

Sets the specified value to the tessellationShader field.

public boolean
textureCompressionASTC_LDR()

specifies whether all of the ASTC LDR compressed texture formats are supported.

public VkPhysicalDeviceFeatures
textureCompressionASTC_LDR(boolean value)

Sets the specified value to the textureCompressionASTC_LDR field.

public boolean
textureCompressionBC()

specifies whether all of the BC compressed texture formats are supported.

public VkPhysicalDeviceFeatures
textureCompressionBC(boolean value)

Sets the specified value to the textureCompressionBC field.

public boolean
textureCompressionETC2()

specifies whether all of the ETC2 and EAC compressed texture formats are supported.

public VkPhysicalDeviceFeatures
textureCompressionETC2(boolean value)

Sets the specified value to the textureCompressionETC2 field.

public boolean
variableMultisampleRate()

specifies whether all pipelines that will be bound to a command buffer during a subpass which uses no attachments must have the same value for VkPipelineMultisampleStateCreateInfo::rasterizationSamples.

public VkPhysicalDeviceFeatures
variableMultisampleRate(boolean value)

Sets the specified value to the variableMultisampleRate field.

public boolean
vertexPipelineStoresAndAtomics()

specifies whether storage buffers and images support stores and atomic operations in the vertex, tessellation, and geometry shader stages.

public VkPhysicalDeviceFeatures
vertexPipelineStoresAndAtomics(boolean value)

Sets the specified value to the vertexPipelineStoresAndAtomics field.

public boolean
wideLines()

specifies whether lines with width other than 1.0 are supported.

public VkPhysicalDeviceFeatures
wideLines(boolean value)

Sets the specified value to the wideLines field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate