VkDeviceCreateInfo, VkPhysicalDeviceFeatures2, GetPhysicalDeviceFeatures
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;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | VkPhysicalDeviceFeatures.
An array of |
| Modifier and Type | Field 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. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDeviceFeatures(ByteBuffer container)
Creates a |
| Modifier and Type | Method 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 | |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceFeatures | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceFeatures. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures. | |
| public static VkPhysicalDeviceFeatures. | |
| 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. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures | create(long address)
Returns a new |
| public static VkPhysicalDeviceFeatures. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceFeatures. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures. | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | drawIndirectFirstInstance()
specifies whether indirect drawing calls support the |
| public VkPhysicalDeviceFeatures | drawIndirectFirstInstance(boolean value)
Sets the specified value to the |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| 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 |
| public boolean | fullDrawIndexUint32()
specifies the full 32-bit range of indices is supported for indexed draw calls when using a |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | imageCubeArray()
specifies whether image views with a |
| public VkPhysicalDeviceFeatures | |
| public boolean | independentBlend()
specifies whether the |
| public VkPhysicalDeviceFeatures | |
| public boolean | inheritedQueries()
specifies whether a secondary command buffer may be executed while a query is active. |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDeviceFeatures | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceFeatures. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures | |
| public static VkPhysicalDeviceFeatures. | |
| public static VkPhysicalDeviceFeatures. | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| 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 | |
| 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 | |
| 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 | |
| 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 | nshaderSampledImageArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderSampledImageArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageBufferArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageBufferArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageImageArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderStorageImageArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderStorageImageExtendedFormats(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | nshaderStorageImageMultisample(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageImageReadWithoutFormat(long struct)
Unsafe version of |
| public static void | nshaderStorageImageReadWithoutFormat(long struct, int value)
Unsafe version of |
| public static int | nshaderStorageImageWriteWithoutFormat(long struct)
Unsafe version of |
| public static void | nshaderStorageImageWriteWithoutFormat(long struct, int value)
Unsafe version of |
| public static int | nshaderTessellationAndGeometryPointSize(long struct)
Unsafe version of |
| public static void | nshaderTessellationAndGeometryPointSize(long struct, int value)
Unsafe version of |
| public static int | nshaderUniformBufferArrayDynamicIndexing(long struct)
Unsafe version of |
| public static void | nshaderUniformBufferArrayDynamicIndexing(long struct, int value)
Unsafe version of |
| 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 | |
| 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 | nvertexPipelineStoresAndAtomics(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public boolean | occlusionQueryPrecise()
specifies whether occlusion queries returning actual sample counts are supported. |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | pipelineStatisticsQuery(boolean value)
Sets the specified value to the |
| public boolean | robustBufferAccess()
specifies that accesses to buffers are bounds-checked against the range of the buffer descriptor (as determined by |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| 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 structthe source struct src)Copies the specified struct data to this struct. |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| 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 |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | shaderResourceMinLod()
specifies whether image operations specifying the minimum resource LOD are supported in shader code. |
| public VkPhysicalDeviceFeatures | |
| 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 |
| 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 |
| 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 |
| 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 |
| public boolean | shaderStorageImageExtendedFormats()
specifies whether all the “storage image extended formats” below are supported; if this feature is supported, then the
|
| public VkPhysicalDeviceFeatures | shaderStorageImageExtendedFormats(boolean value)
Sets the specified value to the |
| public boolean | |
| public VkPhysicalDeviceFeatures | shaderStorageImageMultisample(boolean value)
Sets the specified value to the |
| 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 |
| 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 |
| public boolean | shaderTessellationAndGeometryPointSize()
specifies whether the |
| public VkPhysicalDeviceFeatures | shaderTessellationAndGeometryPointSize(boolean value)
Sets the specified value to the |
| 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 |
| public int | |
| public boolean | sparseBinding()
specifies whether resource memory can be managed at opaque sparse block level instead of at the object level. |
| public VkPhysicalDeviceFeatures | |
| 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 |
| 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 |
| 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 |
| 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 |
| public boolean | sparseResidencyAliased()
specifies whether the physical device can correctly access data aliased into multiple locations. |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | sparseResidencyImage2D()
specifies whether the device can access partially resident 2D images with 1 sample per pixel. |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| 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 |
| public boolean | |
| public VkPhysicalDeviceFeatures | |
| public boolean | textureCompressionETC2()
specifies whether all of the ETC2 and EAC compressed texture formats are supported. |
| public VkPhysicalDeviceFeatures | |
| 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 |
| public VkPhysicalDeviceFeatures | variableMultisampleRate(boolean value)
Sets the specified value to the |
| 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 |
| public boolean | |
| public VkPhysicalDeviceFeatures |