Class VkPhysicalDeviceFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFeatures
-
- All Implemented Interfaces:
java.lang.AutoCloseable
,org.lwjgl.system.NativeResource
,org.lwjgl.system.Pointer
public class VkPhysicalDeviceFeatures extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResource
Structure describing the fine-grained features that can be supported by an implementation.Member documentation
robustBufferAccess
– specifies that accesses to buffers are bounds-checked against the range of the buffer descriptor (as determined byVkDescriptorBufferInfo
::range
,VkBufferViewCreateInfo
::range
, or the size of the buffer). Out of bounds accesses must not cause application termination, and the effects of shader loads, stores, and atomics must conform to an implementation-dependent behavior as described below.- A buffer access is considered to be out of bounds if any of the following are true:
- The pointer was formed by
OpImageTexelPointer
and the coordinate is less than zero or greater than or equal to the number of whole elements in the bound range. - The pointer was not formed by
OpImageTexelPointer
and the object pointed to is not wholly contained within the bound range. This includes accesses performed via variable pointers where the buffer descriptor being accessed cannot be statically determined. Uninitialized pointers and pointers equal toOpConstantNull
are treated as pointing to a zero-sized object, so all accesses through such pointers are considered to be out of bounds. Buffer accesses through buffer device addresses are not bounds-checked. If thecooperativeMatrixRobustBufferAccess
feature is not enabled, then accesses usingOpCooperativeMatrixLoadNV
andOpCooperativeMatrixStoreNV
may not be bounds-checked.Note
If a SPIR-V
OpLoad
instruction loads a structure and the tail end of the structure is out of bounds, then all members of the structure are considered out of bounds even if the members at the end are not statically used. - If any buffer access is determined to be out of bounds, then any other access of the same type (load, store, or atomic) to the same buffer that accesses an address less than 16 bytes away from the out of bounds address may also be considered out of bounds.
- The pointer was formed by
- Out-of-bounds buffer loads will return any of the following values:
- Values from anywhere within the memory range(s) bound to the buffer (possibly including bytes of memory past the end of the buffer, up to the end of the bound range).
- Zero values, or
(0,0,0,x)
vectors for vector reads where x is a valid value represented in the type of the vector components and may be any of:- 0, 1, or the maximum representable positive integer value, for signed or unsigned integer components
- 0.0 or 1.0, for floating-point components
- Out-of-bounds writes may modify values within the memory range(s) bound to the buffer, but must not modify any other memory.
- Out-of-bounds atomics may modify values within the memory range(s) bound to the buffer, but must not modify any other memory, and return an undefined value.
- Vertex input attributes are considered out of bounds if the offset of the attribute in the bound vertex buffer range plus the size of the attribute is greater than either:
vertexBufferRangeSize
, ifbindingStride == 0
; or(vertexBufferRangeSize - (vertexBufferRangeSize % bindingStride))
where
vertexBufferRangeSize
is the byte size of the memory range bound to the vertex buffer binding andbindingStride
is the byte stride of the corresponding vertex input binding. Further, if any vertex input attribute using a specific vertex input binding is out of bounds, then all vertex input attributes using that vertex input binding for that vertex shader invocation are considered out of bounds.- If a vertex input attribute is out of bounds, it will be assigned one of the following values:
- Values from anywhere within the memory range(s) bound to the buffer, converted according to the format of the attribute.
- Zero values, format converted according to the format of the attribute.
- Zero values, or
(0,0,0,x)
vectors, as described above.
- If
robustBufferAccess
is not enabled, applications must not perform out of bounds accesses.
- A buffer access is considered to be out of bounds if any of the following are true:
fullDrawIndexUint32
– specifies the full 32-bit range of indices is supported for indexed draw calls when using aVkIndexType
ofINDEX_TYPE_UINT32
.maxDrawIndexedIndexValue
is the maximum index value that may be used (aside from the primitive restart index, which is always 232-1 when theVkIndexType
isINDEX_TYPE_UINT32
). If this feature is supported,maxDrawIndexedIndexValue
must be 232-1; otherwise it must be no smaller than 224-1. See maxDrawIndexedIndexValue.imageCubeArray
– specifies whether image views with aVkImageViewType
ofIMAGE_VIEW_TYPE_CUBE_ARRAY
can be created, and that the correspondingSampledCubeArray
andImageCubeArray
SPIR-V capabilities can be used in shader code.independentBlend
– specifies whether theVkPipelineColorBlendAttachmentState
settings are controlled independently per-attachment. If this feature is not enabled, theVkPipelineColorBlendAttachmentState
settings for all color attachments must be identical. Otherwise, a differentVkPipelineColorBlendAttachmentState
can be provided for each bound color attachment.geometryShader
– specifies whether geometry shaders are supported. If this feature is not enabled, theSHADER_STAGE_GEOMETRY_BIT
andPIPELINE_STAGE_GEOMETRY_SHADER_BIT
enum values must not be used. This also specifies whether shader modules can declare theGeometry
capability.tessellationShader
– specifies whether tessellation control and evaluation shaders are supported. If this feature is not enabled, theSHADER_STAGE_TESSELLATION_CONTROL_BIT
,SHADER_STAGE_TESSELLATION_EVALUATION_BIT
,PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT
,PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT
, andSTRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO
enum values must not be used. This also specifies whether shader modules can declare theTessellation
capability.sampleRateShading
– specifies whether Sample Shading and multisample interpolation are supported. If this feature is not enabled, thesampleShadingEnable
member of theVkPipelineMultisampleStateCreateInfo
structure must be set toFALSE
and theminSampleShading
member is ignored. This also specifies whether shader modules can declare theSampleRateShading
capability.dualSrcBlend
– specifies whether blend operations which take two sources are supported. If this feature is not enabled, theBLEND_FACTOR_SRC1_COLOR
,BLEND_FACTOR_ONE_MINUS_SRC1_COLOR
,BLEND_FACTOR_SRC1_ALPHA
, andBLEND_FACTOR_ONE_MINUS_SRC1_ALPHA
enum values must not be used as source or destination blending factors. See Dual-Source Blending.logicOp
– specifies whether logic operations are supported. If this feature is not enabled, thelogicOpEnable
member of theVkPipelineColorBlendStateCreateInfo
structure must be set toFALSE
, and thelogicOp
member is ignored.multiDrawIndirect
– specifies whether multiple draw indirect is supported. If this feature is not enabled, thedrawCount
parameter to thevkCmdDrawIndirect
andvkCmdDrawIndexedIndirect
commands must be 0 or 1. ThemaxDrawIndirectCount
member of theVkPhysicalDeviceLimits
structure must also be 1 if this feature is not supported. See maxDrawIndirectCount.drawIndirectFirstInstance
– specifies whether indirect draw calls support thefirstInstance
parameter. If this feature is not enabled, thefirstInstance
member of allVkDrawIndirectCommand
andVkDrawIndexedIndirectCommand
structures that are provided to thevkCmdDrawIndirect
andvkCmdDrawIndexedIndirect
commands must be 0.depthClamp
– specifies whether depth clamping is supported. If this feature is not enabled, thedepthClampEnable
member of theVkPipelineRasterizationStateCreateInfo
structure must be set toFALSE
. Otherwise, settingdepthClampEnable
toTRUE
will enable depth clamping.depthBiasClamp
– specifies whether depth bias clamping is supported. If this feature is not enabled, thedepthBiasClamp
member of theVkPipelineRasterizationStateCreateInfo
structure must be set to 0.0 unless theDYNAMIC_STATE_DEPTH_BIAS
dynamic state is enabled, and thedepthBiasClamp
parameter tovkCmdSetDepthBias
must be set to 0.0.fillModeNonSolid
– specifies whether point and wireframe fill modes are supported. If this feature is not enabled, thePOLYGON_MODE_POINT
andPOLYGON_MODE_LINE
enum values must not be used.depthBounds
– specifies whether depth bounds tests are supported. If this feature is not enabled, thedepthBoundsTestEnable
member of theVkPipelineDepthStencilStateCreateInfo
structure must be set toFALSE
. WhendepthBoundsTestEnable
is set toFALSE
, theminDepthBounds
andmaxDepthBounds
members of theVkPipelineDepthStencilStateCreateInfo
structure are ignored.wideLines
– specifies whether lines with width other than 1.0 are supported. If this feature is not enabled, thelineWidth
member of theVkPipelineRasterizationStateCreateInfo
structure must be set to 1.0 unless theDYNAMIC_STATE_LINE_WIDTH
dynamic state is enabled, and thelineWidth
parameter tovkCmdSetLineWidth
must be set to 1.0. When this feature is supported, the range and granularity of supported line widths are indicated by thelineWidthRange
andlineWidthGranularity
members of theVkPhysicalDeviceLimits
structure, respectively.largePoints
– specifies whether points with size greater than 1.0 are supported. If this feature is not enabled, only a point size of 1.0 written by a shader is supported. The range and granularity of supported point sizes are indicated by thepointSizeRange
andpointSizeGranularity
members of theVkPhysicalDeviceLimits
structure, respectively.alphaToOne
– specifies whether the implementation is able to replace the alpha value of the color fragment output from the fragment shader with the maximum representable alpha value for fixed-point colors or 1.0 for floating-point colors. If this feature is not enabled, then thealphaToOneEnable
member of theVkPipelineMultisampleStateCreateInfo
structure must be set toFALSE
. Otherwise settingalphaToOneEnable
toTRUE
will enable alpha-to-one behavior.multiViewport
– specifies whether more than one viewport is supported. If this feature is not enabled:- The
viewportCount
andscissorCount
members of theVkPipelineViewportStateCreateInfo
structure must be set to 1. - The
firstViewport
andviewportCount
parameters to thevkCmdSetViewport
command must be set to 0 and 1, respectively. - The
firstScissor
andscissorCount
parameters to thevkCmdSetScissor
command must be set to 0 and 1, respectively. - The
exclusiveScissorCount
member of theVkPipelineViewportExclusiveScissorStateCreateInfoNV
structure must be set to 0 or 1. - The
firstExclusiveScissor
andexclusiveScissorCount
parameters to thevkCmdSetExclusiveScissorNV
command must be set to 0 and 1, respectively.
- The
samplerAnisotropy
– specifies whether anisotropic filtering is supported. If this feature is not enabled, theanisotropyEnable
member of theVkSamplerCreateInfo
structure must beFALSE
.textureCompressionETC2
– specifies whether all of the ETC2 and EAC compressed texture formats are supported. If this feature is enabled, then theFORMAT_FEATURE_SAMPLED_IMAGE_BIT
,FORMAT_FEATURE_BLIT_SRC_BIT
andFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
features must be supported inoptimalTilingFeatures
for the following formats:FORMAT_ETC2_R8G8B8_UNORM_BLOCK
FORMAT_ETC2_R8G8B8_SRGB_BLOCK
FORMAT_ETC2_R8G8B8A1_UNORM_BLOCK
FORMAT_ETC2_R8G8B8A1_SRGB_BLOCK
FORMAT_ETC2_R8G8B8A8_UNORM_BLOCK
FORMAT_ETC2_R8G8B8A8_SRGB_BLOCK
FORMAT_EAC_R11_UNORM_BLOCK
FORMAT_EAC_R11_SNORM_BLOCK
FORMAT_EAC_R11G11_UNORM_BLOCK
FORMAT_EAC_R11G11_SNORM_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatProperties
andGetPhysicalDeviceImageFormatProperties
can be used to check for supported properties of individual formats as normal.textureCompressionASTC_LDR
– specifies whether all of the ASTC LDR compressed texture formats are supported. If this feature is enabled, then theFORMAT_FEATURE_SAMPLED_IMAGE_BIT
,FORMAT_FEATURE_BLIT_SRC_BIT
andFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
features must be supported inoptimalTilingFeatures
for the following formats:FORMAT_ASTC_4x4_UNORM_BLOCK
FORMAT_ASTC_4x4_SRGB_BLOCK
FORMAT_ASTC_5x4_UNORM_BLOCK
FORMAT_ASTC_5x4_SRGB_BLOCK
FORMAT_ASTC_5x5_UNORM_BLOCK
FORMAT_ASTC_5x5_SRGB_BLOCK
FORMAT_ASTC_6x5_UNORM_BLOCK
FORMAT_ASTC_6x5_SRGB_BLOCK
FORMAT_ASTC_6x6_UNORM_BLOCK
FORMAT_ASTC_6x6_SRGB_BLOCK
FORMAT_ASTC_8x5_UNORM_BLOCK
FORMAT_ASTC_8x5_SRGB_BLOCK
FORMAT_ASTC_8x6_UNORM_BLOCK
FORMAT_ASTC_8x6_SRGB_BLOCK
FORMAT_ASTC_8x8_UNORM_BLOCK
FORMAT_ASTC_8x8_SRGB_BLOCK
FORMAT_ASTC_10x5_UNORM_BLOCK
FORMAT_ASTC_10x5_SRGB_BLOCK
FORMAT_ASTC_10x6_UNORM_BLOCK
FORMAT_ASTC_10x6_SRGB_BLOCK
FORMAT_ASTC_10x8_UNORM_BLOCK
FORMAT_ASTC_10x8_SRGB_BLOCK
FORMAT_ASTC_10x10_UNORM_BLOCK
FORMAT_ASTC_10x10_SRGB_BLOCK
FORMAT_ASTC_12x10_UNORM_BLOCK
FORMAT_ASTC_12x10_SRGB_BLOCK
FORMAT_ASTC_12x12_UNORM_BLOCK
FORMAT_ASTC_12x12_SRGB_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatProperties
andGetPhysicalDeviceImageFormatProperties
can be used to check for supported properties of individual formats as normal.textureCompressionBC
– specifies whether all of the BC compressed texture formats are supported. If this feature is enabled, then theFORMAT_FEATURE_SAMPLED_IMAGE_BIT
,FORMAT_FEATURE_BLIT_SRC_BIT
andFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT
features must be supported inoptimalTilingFeatures
for the following formats:FORMAT_BC1_RGB_UNORM_BLOCK
FORMAT_BC1_RGB_SRGB_BLOCK
FORMAT_BC1_RGBA_UNORM_BLOCK
FORMAT_BC1_RGBA_SRGB_BLOCK
FORMAT_BC2_UNORM_BLOCK
FORMAT_BC2_SRGB_BLOCK
FORMAT_BC3_UNORM_BLOCK
FORMAT_BC3_SRGB_BLOCK
FORMAT_BC4_UNORM_BLOCK
FORMAT_BC4_SNORM_BLOCK
FORMAT_BC5_UNORM_BLOCK
FORMAT_BC5_SNORM_BLOCK
FORMAT_BC6H_UFLOAT_BLOCK
FORMAT_BC6H_SFLOAT_BLOCK
FORMAT_BC7_UNORM_BLOCK
FORMAT_BC7_SRGB_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatProperties
andGetPhysicalDeviceImageFormatProperties
can be used to check for supported properties of individual formats as normal.occlusionQueryPrecise
– specifies whether occlusion queries returning actual sample counts are supported. Occlusion queries are created in aVkQueryPool
by specifying thequeryType
ofQUERY_TYPE_OCCLUSION
in theVkQueryPoolCreateInfo
structure which is passed tovkCreateQueryPool
. If this feature is enabled, queries of this type can enableQUERY_CONTROL_PRECISE_BIT
in theflags
parameter tovkCmdBeginQuery
. If this feature is not supported, the implementation supports only boolean occlusion queries. When any samples are passed, boolean queries will return a non-zero result value, otherwise a result value of zero is returned. When this feature is enabled andQUERY_CONTROL_PRECISE_BIT
is set, occlusion queries will report the actual number of samples passed.pipelineStatisticsQuery
– specifies whether the pipeline statistics queries are supported. If this feature is not enabled, queries of typeQUERY_TYPE_PIPELINE_STATISTICS
cannot be created, and none of theVkQueryPipelineStatisticFlagBits
bits can be set in thepipelineStatistics
member of theVkQueryPoolCreateInfo
structure.vertexPipelineStoresAndAtomics
– specifies whether storage buffers and images support stores and atomic operations in the vertex, tessellation, and geometry shader stages. If this feature is not enabled, all storage image, storage texel buffers, and storage buffer variables used by these stages in shader modules must be decorated with theNonWritable
decoration (or thereadonly
memory qualifier in GLSL).fragmentStoresAndAtomics
– specifies whether storage buffers and images support stores and atomic operations in the fragment shader stage. If this feature is not enabled, all storage image, storage texel buffers, and storage buffer variables used by the fragment stage in shader modules must be decorated with theNonWritable
decoration (or thereadonly
memory qualifier in GLSL).shaderTessellationAndGeometryPointSize
– specifies whether thePointSize
built-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stages. If this feature is not enabled, members decorated with thePointSize
built-in decoration must not be read from or written to and all points written from a tessellation or geometry shader will have a size of 1.0. This also specifies whether shader modules can declare theTessellationPointSize
capability for tessellation control and evaluation shaders, or if the shader modules can declare theGeometryPointSize
capability for geometry shaders. An implementation supporting this feature must also support one or both of thetessellationShader
orgeometryShader
features.shaderImageGatherExtended
– specifies whether the extended set of image gather instructions are available in shader code. If this feature is not enabled, theOpImage
*Gather
instructions do not support theOffset
andConstOffsets
operands. This also specifies whether shader modules can declare theImageGatherExtended
capability.shaderStorageImageExtendedFormats
– specifies whether all the extended storage image formats are available in shader code. If this feature is enabled then theFORMAT_FEATURE_STORAGE_IMAGE_BIT
feature must be supported inoptimalTilingFeatures
for all of the extended formats. To query for additional properties, or if the feature is not enabled,GetPhysicalDeviceFormatProperties
andGetPhysicalDeviceImageFormatProperties
can be used to check for supported properties of individual formats as normal.shaderStorageImageMultisample
– specifies whether multisampled storage images are supported. If this feature is not enabled, images that are created with ausage
that includesIMAGE_USAGE_STORAGE_BIT
must be created withsamples
equal toSAMPLE_COUNT_1_BIT
. This also specifies whether shader modules can declare theStorageImageMultisample
capability.shaderStorageImageReadWithoutFormat
– specifies whether storage images require a format qualifier to be specified when reading from storage images. If this feature is not enabled, theOpImageRead
instruction must not have anOpTypeImage
ofUnknown
. This also specifies whether shader modules can declare theStorageImageReadWithoutFormat
capability.shaderStorageImageWriteWithoutFormat
– specifies whether storage images require a format qualifier to be specified when writing to storage images. If this feature is not enabled, theOpImageWrite
instruction must not have anOpTypeImage
ofUnknown
. This also specifies whether shader modules can declare theStorageImageWriteWithoutFormat
capability.shaderUniformBufferArrayDynamicIndexing
– specifies whether arrays of uniform buffers can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type ofDESCRIPTOR_TYPE_UNIFORM_BUFFER
orDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMIC
must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theUniformBufferArrayDynamicIndexing
capability.shaderSampledImageArrayDynamicIndexing
– specifies whether arrays of samplers or sampled images can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type ofDESCRIPTOR_TYPE_SAMPLER
,DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
, orDESCRIPTOR_TYPE_SAMPLED_IMAGE
must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theSampledImageArrayDynamicIndexing
capability.shaderStorageBufferArrayDynamicIndexing
– specifies whether arrays of storage buffers can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type ofDESCRIPTOR_TYPE_STORAGE_BUFFER
orDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMIC
must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theStorageBufferArrayDynamicIndexing
capability.shaderStorageImageArrayDynamicIndexing
– specifies whether arrays of storage images can be indexed by dynamically uniform integer expressions in shader code. If this feature is not enabled, resources with a descriptor type ofDESCRIPTOR_TYPE_STORAGE_IMAGE
must be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theStorageImageArrayDynamicIndexing
capability.shaderClipDistance
– specifies whether clip distances are supported in shader code. If this feature is not enabled, any members decorated with theClipDistance
built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare theClipDistance
capability.shaderCullDistance
– specifies whether cull distances are supported in shader code. If this feature is not enabled, any members decorated with theCullDistance
built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare theCullDistance
capability.shaderFloat64
– specifies whether 64-bit floats (doubles) are supported in shader code. If this feature is not enabled, 64-bit floating-point types must not be used in shader code. This also specifies whether shader modules can declare theFloat64
capability.shaderInt64
– specifies whether 64-bit integers (signed and unsigned) are supported in shader code. If this feature is not enabled, 64-bit integer types must not be used in shader code. This also specifies whether shader modules can declare theInt64
capability.shaderInt16
– specifies whether 16-bit integers (signed and unsigned) are supported in shader code. If this feature is not enabled, 16-bit integer types must not be used in shader code. This also specifies whether shader modules can declare theInt16
capability.shaderResourceResidency
– specifies whether image operations that return resource residency information are supported in shader code. If this feature is not enabled, theOpImageSparse
* instructions must not be used in shader code. This also specifies whether shader modules can declare theSparseResidency
capability. The feature requires at least one of thesparseResidency
* features to be supported.shaderResourceMinLod
– specifies whether image operations that specify the minimum resource LOD are supported in shader code. If this feature is not enabled, theMinLod
image operand must not be used in shader code. This also specifies whether shader modules can declare theMinLod
capability.sparseBinding
– specifies whether resource memory can be managed at opaque sparse block level instead of at the object level. If this feature is not enabled, resource memory must be bound only on a per-object basis using thevkBindBufferMemory
andvkBindImageMemory
commands. In this case, buffers and images must not be created withBUFFER_CREATE_SPARSE_BINDING_BIT
andIMAGE_CREATE_SPARSE_BINDING_BIT
set in theflags
member of theVkBufferCreateInfo
andVkImageCreateInfo
structures, respectively. Otherwise resource memory can be managed as described in Sparse Resource Features.sparseResidencyBuffer
– specifies whether the device can access partially resident buffers. If this feature is not enabled, buffers must not be created withBUFFER_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkBufferCreateInfo
structure.sparseResidencyImage2D
– specifies whether the device can access partially resident 2D images with 1 sample per pixel. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_2D
andsamples
set toSAMPLE_COUNT_1_BIT
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidencyImage3D
– specifies whether the device can access partially resident 3D images. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_3D
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidency2Samples
– specifies whether the physical device can access partially resident 2D images with 2 samples per pixel. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_2D
andsamples
set toSAMPLE_COUNT_2_BIT
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidency4Samples
– specifies whether the physical device can access partially resident 2D images with 4 samples per pixel. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_2D
andsamples
set toSAMPLE_COUNT_4_BIT
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidency8Samples
– specifies whether the physical device can access partially resident 2D images with 8 samples per pixel. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_2D
andsamples
set toSAMPLE_COUNT_8_BIT
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidency16Samples
– specifies whether the physical device can access partially resident 2D images with 16 samples per pixel. If this feature is not enabled, images with animageType
ofIMAGE_TYPE_2D
andsamples
set toSAMPLE_COUNT_16_BIT
must not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BIT
set in theflags
member of theVkImageCreateInfo
structure.sparseResidencyAliased
– specifies whether the physical device can correctly access data aliased into multiple locations. If this feature is not enabled, theBUFFER_CREATE_SPARSE_ALIASED_BIT
andIMAGE_CREATE_SPARSE_ALIASED_BIT
enum values must not be used inflags
members of theVkBufferCreateInfo
andVkImageCreateInfo
structures, respectively.variableMultisampleRate
– specifies whether all pipelines that will be bound to a command buffer during a subpass with no attachments must have the same value forVkPipelineMultisampleStateCreateInfo
::rasterizationSamples
. If set toTRUE
, the implementation supports variable multisample rates in a subpass with no attachments. If set toFALSE
, then all pipelines bound in such a subpass must have the same multisample rate. This has no effect in situations where a subpass uses any attachments.inheritedQueries
– specifies whether a secondary command buffer may be executed while a query is active.
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 Class Summary
Nested Classes Modifier and Type Class Description static class
VkPhysicalDeviceFeatures.Buffer
An array ofVkPhysicalDeviceFeatures
structs.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFeatures
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
alphaToOne()
Returns the value of thealphaToOne
field.VkPhysicalDeviceFeatures
alphaToOne(boolean value)
Sets the specified value to thealphaToOne
field.static VkPhysicalDeviceFeatures
calloc()
Returns a newVkPhysicalDeviceFeatures
instance allocated withmemCalloc
.static VkPhysicalDeviceFeatures.Buffer
calloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withmemCalloc
.static VkPhysicalDeviceFeatures
callocStack()
Returns a newVkPhysicalDeviceFeatures
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFeatures.Buffer
callocStack(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFeatures.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFeatures
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkPhysicalDeviceFeatures
create()
Returns a newVkPhysicalDeviceFeatures
instance allocated withBufferUtils
.static VkPhysicalDeviceFeatures.Buffer
create(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withBufferUtils
.static VkPhysicalDeviceFeatures
create(long address)
Returns a newVkPhysicalDeviceFeatures
instance for the specified memory address.static VkPhysicalDeviceFeatures.Buffer
create(long address, int capacity)
Create aVkPhysicalDeviceFeatures.Buffer
instance at the specified memory.static VkPhysicalDeviceFeatures
createSafe(long address)
static VkPhysicalDeviceFeatures.Buffer
createSafe(long address, int capacity)
boolean
depthBiasClamp()
Returns the value of thedepthBiasClamp
field.VkPhysicalDeviceFeatures
depthBiasClamp(boolean value)
Sets the specified value to thedepthBiasClamp
field.boolean
depthBounds()
Returns the value of thedepthBounds
field.VkPhysicalDeviceFeatures
depthBounds(boolean value)
Sets the specified value to thedepthBounds
field.boolean
depthClamp()
Returns the value of thedepthClamp
field.VkPhysicalDeviceFeatures
depthClamp(boolean value)
Sets the specified value to thedepthClamp
field.boolean
drawIndirectFirstInstance()
Returns the value of thedrawIndirectFirstInstance
field.VkPhysicalDeviceFeatures
drawIndirectFirstInstance(boolean value)
Sets the specified value to thedrawIndirectFirstInstance
field.boolean
dualSrcBlend()
Returns the value of thedualSrcBlend
field.VkPhysicalDeviceFeatures
dualSrcBlend(boolean value)
Sets the specified value to thedualSrcBlend
field.boolean
fillModeNonSolid()
Returns the value of thefillModeNonSolid
field.VkPhysicalDeviceFeatures
fillModeNonSolid(boolean value)
Sets the specified value to thefillModeNonSolid
field.boolean
fragmentStoresAndAtomics()
Returns the value of thefragmentStoresAndAtomics
field.VkPhysicalDeviceFeatures
fragmentStoresAndAtomics(boolean value)
Sets the specified value to thefragmentStoresAndAtomics
field.boolean
fullDrawIndexUint32()
Returns the value of thefullDrawIndexUint32
field.VkPhysicalDeviceFeatures
fullDrawIndexUint32(boolean value)
Sets the specified value to thefullDrawIndexUint32
field.boolean
geometryShader()
Returns the value of thegeometryShader
field.VkPhysicalDeviceFeatures
geometryShader(boolean value)
Sets the specified value to thegeometryShader
field.boolean
imageCubeArray()
Returns the value of theimageCubeArray
field.VkPhysicalDeviceFeatures
imageCubeArray(boolean value)
Sets the specified value to theimageCubeArray
field.boolean
independentBlend()
Returns the value of theindependentBlend
field.VkPhysicalDeviceFeatures
independentBlend(boolean value)
Sets the specified value to theindependentBlend
field.boolean
inheritedQueries()
Returns the value of theinheritedQueries
field.VkPhysicalDeviceFeatures
inheritedQueries(boolean value)
Sets the specified value to theinheritedQueries
field.boolean
largePoints()
Returns the value of thelargePoints
field.VkPhysicalDeviceFeatures
largePoints(boolean value)
Sets the specified value to thelargePoints
field.boolean
logicOp()
Returns the value of thelogicOp
field.VkPhysicalDeviceFeatures
logicOp(boolean value)
Sets the specified value to thelogicOp
field.static VkPhysicalDeviceFeatures
malloc()
Returns a newVkPhysicalDeviceFeatures
instance allocated withmemAlloc
.static VkPhysicalDeviceFeatures.Buffer
malloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withmemAlloc
.static VkPhysicalDeviceFeatures
mallocStack()
Returns a newVkPhysicalDeviceFeatures
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceFeatures.Buffer
mallocStack(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the thread-localMemoryStack
.static VkPhysicalDeviceFeatures.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the specifiedMemoryStack
.static VkPhysicalDeviceFeatures
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures
instance allocated on the specifiedMemoryStack
.boolean
multiDrawIndirect()
Returns the value of themultiDrawIndirect
field.VkPhysicalDeviceFeatures
multiDrawIndirect(boolean value)
Sets the specified value to themultiDrawIndirect
field.boolean
multiViewport()
Returns the value of themultiViewport
field.VkPhysicalDeviceFeatures
multiViewport(boolean value)
Sets the specified value to themultiViewport
field.static int
nalphaToOne(long struct)
Unsafe version ofalphaToOne()
.static void
nalphaToOne(long struct, int value)
Unsafe version ofalphaToOne
.static int
ndepthBiasClamp(long struct)
Unsafe version ofdepthBiasClamp()
.static void
ndepthBiasClamp(long struct, int value)
Unsafe version ofdepthBiasClamp
.static int
ndepthBounds(long struct)
Unsafe version ofdepthBounds()
.static void
ndepthBounds(long struct, int value)
Unsafe version ofdepthBounds
.static int
ndepthClamp(long struct)
Unsafe version ofdepthClamp()
.static void
ndepthClamp(long struct, int value)
Unsafe version ofdepthClamp
.static int
ndrawIndirectFirstInstance(long struct)
Unsafe version ofdrawIndirectFirstInstance()
.static void
ndrawIndirectFirstInstance(long struct, int value)
Unsafe version ofdrawIndirectFirstInstance
.static int
ndualSrcBlend(long struct)
Unsafe version ofdualSrcBlend()
.static void
ndualSrcBlend(long struct, int value)
Unsafe version ofdualSrcBlend
.static int
nfillModeNonSolid(long struct)
Unsafe version offillModeNonSolid()
.static void
nfillModeNonSolid(long struct, int value)
Unsafe version offillModeNonSolid
.static int
nfragmentStoresAndAtomics(long struct)
Unsafe version offragmentStoresAndAtomics()
.static void
nfragmentStoresAndAtomics(long struct, int value)
Unsafe version offragmentStoresAndAtomics
.static int
nfullDrawIndexUint32(long struct)
Unsafe version offullDrawIndexUint32()
.static void
nfullDrawIndexUint32(long struct, int value)
Unsafe version offullDrawIndexUint32
.static int
ngeometryShader(long struct)
Unsafe version ofgeometryShader()
.static void
ngeometryShader(long struct, int value)
Unsafe version ofgeometryShader
.static int
nimageCubeArray(long struct)
Unsafe version ofimageCubeArray()
.static void
nimageCubeArray(long struct, int value)
Unsafe version ofimageCubeArray
.static int
nindependentBlend(long struct)
Unsafe version ofindependentBlend()
.static void
nindependentBlend(long struct, int value)
Unsafe version ofindependentBlend
.static int
ninheritedQueries(long struct)
Unsafe version ofinheritedQueries()
.static void
ninheritedQueries(long struct, int value)
Unsafe version ofinheritedQueries
.static int
nlargePoints(long struct)
Unsafe version oflargePoints()
.static void
nlargePoints(long struct, int value)
Unsafe version oflargePoints
.static int
nlogicOp(long struct)
Unsafe version oflogicOp()
.static void
nlogicOp(long struct, int value)
Unsafe version oflogicOp
.static int
nmultiDrawIndirect(long struct)
Unsafe version ofmultiDrawIndirect()
.static void
nmultiDrawIndirect(long struct, int value)
Unsafe version ofmultiDrawIndirect
.static int
nmultiViewport(long struct)
Unsafe version ofmultiViewport()
.static void
nmultiViewport(long struct, int value)
Unsafe version ofmultiViewport
.static int
nocclusionQueryPrecise(long struct)
Unsafe version ofocclusionQueryPrecise()
.static void
nocclusionQueryPrecise(long struct, int value)
Unsafe version ofocclusionQueryPrecise
.static int
npipelineStatisticsQuery(long struct)
Unsafe version ofpipelineStatisticsQuery()
.static void
npipelineStatisticsQuery(long struct, int value)
Unsafe version ofpipelineStatisticsQuery
.static int
nrobustBufferAccess(long struct)
Unsafe version ofrobustBufferAccess()
.static void
nrobustBufferAccess(long struct, int value)
Unsafe version ofrobustBufferAccess
.static int
nsamplerAnisotropy(long struct)
Unsafe version ofsamplerAnisotropy()
.static void
nsamplerAnisotropy(long struct, int value)
Unsafe version ofsamplerAnisotropy
.static int
nsampleRateShading(long struct)
Unsafe version ofsampleRateShading()
.static void
nsampleRateShading(long struct, int value)
Unsafe version ofsampleRateShading
.static int
nshaderClipDistance(long struct)
Unsafe version ofshaderClipDistance()
.static void
nshaderClipDistance(long struct, int value)
Unsafe version ofshaderClipDistance
.static int
nshaderCullDistance(long struct)
Unsafe version ofshaderCullDistance()
.static void
nshaderCullDistance(long struct, int value)
Unsafe version ofshaderCullDistance
.static int
nshaderFloat64(long struct)
Unsafe version ofshaderFloat64()
.static void
nshaderFloat64(long struct, int value)
Unsafe version ofshaderFloat64
.static int
nshaderImageGatherExtended(long struct)
Unsafe version ofshaderImageGatherExtended()
.static void
nshaderImageGatherExtended(long struct, int value)
Unsafe version ofshaderImageGatherExtended
.static int
nshaderInt16(long struct)
Unsafe version ofshaderInt16()
.static void
nshaderInt16(long struct, int value)
Unsafe version ofshaderInt16
.static int
nshaderInt64(long struct)
Unsafe version ofshaderInt64()
.static void
nshaderInt64(long struct, int value)
Unsafe version ofshaderInt64
.static int
nshaderResourceMinLod(long struct)
Unsafe version ofshaderResourceMinLod()
.static void
nshaderResourceMinLod(long struct, int value)
Unsafe version ofshaderResourceMinLod
.static int
nshaderResourceResidency(long struct)
Unsafe version ofshaderResourceResidency()
.static void
nshaderResourceResidency(long struct, int value)
Unsafe version ofshaderResourceResidency
.static int
nshaderSampledImageArrayDynamicIndexing(long struct)
Unsafe version ofshaderSampledImageArrayDynamicIndexing()
.static void
nshaderSampledImageArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderSampledImageArrayDynamicIndexing
.static int
nshaderStorageBufferArrayDynamicIndexing(long struct)
Unsafe version ofshaderStorageBufferArrayDynamicIndexing()
.static void
nshaderStorageBufferArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderStorageBufferArrayDynamicIndexing
.static int
nshaderStorageImageArrayDynamicIndexing(long struct)
Unsafe version ofshaderStorageImageArrayDynamicIndexing()
.static void
nshaderStorageImageArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderStorageImageArrayDynamicIndexing
.static int
nshaderStorageImageExtendedFormats(long struct)
Unsafe version ofshaderStorageImageExtendedFormats()
.static void
nshaderStorageImageExtendedFormats(long struct, int value)
Unsafe version ofshaderStorageImageExtendedFormats
.static int
nshaderStorageImageMultisample(long struct)
Unsafe version ofshaderStorageImageMultisample()
.static void
nshaderStorageImageMultisample(long struct, int value)
Unsafe version ofshaderStorageImageMultisample
.static int
nshaderStorageImageReadWithoutFormat(long struct)
Unsafe version ofshaderStorageImageReadWithoutFormat()
.static void
nshaderStorageImageReadWithoutFormat(long struct, int value)
Unsafe version ofshaderStorageImageReadWithoutFormat
.static int
nshaderStorageImageWriteWithoutFormat(long struct)
Unsafe version ofshaderStorageImageWriteWithoutFormat()
.static void
nshaderStorageImageWriteWithoutFormat(long struct, int value)
Unsafe version ofshaderStorageImageWriteWithoutFormat
.static int
nshaderTessellationAndGeometryPointSize(long struct)
Unsafe version ofshaderTessellationAndGeometryPointSize()
.static void
nshaderTessellationAndGeometryPointSize(long struct, int value)
Unsafe version ofshaderTessellationAndGeometryPointSize
.static int
nshaderUniformBufferArrayDynamicIndexing(long struct)
Unsafe version ofshaderUniformBufferArrayDynamicIndexing()
.static void
nshaderUniformBufferArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderUniformBufferArrayDynamicIndexing
.static int
nsparseBinding(long struct)
Unsafe version ofsparseBinding()
.static void
nsparseBinding(long struct, int value)
Unsafe version ofsparseBinding
.static int
nsparseResidency16Samples(long struct)
Unsafe version ofsparseResidency16Samples()
.static void
nsparseResidency16Samples(long struct, int value)
Unsafe version ofsparseResidency16Samples
.static int
nsparseResidency2Samples(long struct)
Unsafe version ofsparseResidency2Samples()
.static void
nsparseResidency2Samples(long struct, int value)
Unsafe version ofsparseResidency2Samples
.static int
nsparseResidency4Samples(long struct)
Unsafe version ofsparseResidency4Samples()
.static void
nsparseResidency4Samples(long struct, int value)
Unsafe version ofsparseResidency4Samples
.static int
nsparseResidency8Samples(long struct)
Unsafe version ofsparseResidency8Samples()
.static void
nsparseResidency8Samples(long struct, int value)
Unsafe version ofsparseResidency8Samples
.static int
nsparseResidencyAliased(long struct)
Unsafe version ofsparseResidencyAliased()
.static void
nsparseResidencyAliased(long struct, int value)
Unsafe version ofsparseResidencyAliased
.static int
nsparseResidencyBuffer(long struct)
Unsafe version ofsparseResidencyBuffer()
.static void
nsparseResidencyBuffer(long struct, int value)
Unsafe version ofsparseResidencyBuffer
.static int
nsparseResidencyImage2D(long struct)
Unsafe version ofsparseResidencyImage2D()
.static void
nsparseResidencyImage2D(long struct, int value)
Unsafe version ofsparseResidencyImage2D
.static int
nsparseResidencyImage3D(long struct)
Unsafe version ofsparseResidencyImage3D()
.static void
nsparseResidencyImage3D(long struct, int value)
Unsafe version ofsparseResidencyImage3D
.static int
ntessellationShader(long struct)
Unsafe version oftessellationShader()
.static void
ntessellationShader(long struct, int value)
Unsafe version oftessellationShader
.static int
ntextureCompressionASTC_LDR(long struct)
Unsafe version oftextureCompressionASTC_LDR()
.static void
ntextureCompressionASTC_LDR(long struct, int value)
Unsafe version oftextureCompressionASTC_LDR
.static int
ntextureCompressionBC(long struct)
Unsafe version oftextureCompressionBC()
.static void
ntextureCompressionBC(long struct, int value)
Unsafe version oftextureCompressionBC
.static int
ntextureCompressionETC2(long struct)
Unsafe version oftextureCompressionETC2()
.static void
ntextureCompressionETC2(long struct, int value)
Unsafe version oftextureCompressionETC2
.static int
nvariableMultisampleRate(long struct)
Unsafe version ofvariableMultisampleRate()
.static void
nvariableMultisampleRate(long struct, int value)
Unsafe version ofvariableMultisampleRate
.static int
nvertexPipelineStoresAndAtomics(long struct)
Unsafe version ofvertexPipelineStoresAndAtomics()
.static void
nvertexPipelineStoresAndAtomics(long struct, int value)
Unsafe version ofvertexPipelineStoresAndAtomics
.static int
nwideLines(long struct)
Unsafe version ofwideLines()
.static void
nwideLines(long struct, int value)
Unsafe version ofwideLines
.boolean
occlusionQueryPrecise()
Returns the value of theocclusionQueryPrecise
field.VkPhysicalDeviceFeatures
occlusionQueryPrecise(boolean value)
Sets the specified value to theocclusionQueryPrecise
field.boolean
pipelineStatisticsQuery()
Returns the value of thepipelineStatisticsQuery
field.VkPhysicalDeviceFeatures
pipelineStatisticsQuery(boolean value)
Sets the specified value to thepipelineStatisticsQuery
field.boolean
robustBufferAccess()
Returns the value of therobustBufferAccess
field.VkPhysicalDeviceFeatures
robustBufferAccess(boolean value)
Sets the specified value to therobustBufferAccess
field.boolean
samplerAnisotropy()
Returns the value of thesamplerAnisotropy
field.VkPhysicalDeviceFeatures
samplerAnisotropy(boolean value)
Sets the specified value to thesamplerAnisotropy
field.boolean
sampleRateShading()
Returns the value of thesampleRateShading
field.VkPhysicalDeviceFeatures
sampleRateShading(boolean value)
Sets the specified value to thesampleRateShading
field.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.VkPhysicalDeviceFeatures
set(VkPhysicalDeviceFeatures src)
Copies the specified struct data to this struct.boolean
shaderClipDistance()
Returns the value of theshaderClipDistance
field.VkPhysicalDeviceFeatures
shaderClipDistance(boolean value)
Sets the specified value to theshaderClipDistance
field.boolean
shaderCullDistance()
Returns the value of theshaderCullDistance
field.VkPhysicalDeviceFeatures
shaderCullDistance(boolean value)
Sets the specified value to theshaderCullDistance
field.boolean
shaderFloat64()
Returns the value of theshaderFloat64
field.VkPhysicalDeviceFeatures
shaderFloat64(boolean value)
Sets the specified value to theshaderFloat64
field.boolean
shaderImageGatherExtended()
Returns the value of theshaderImageGatherExtended
field.VkPhysicalDeviceFeatures
shaderImageGatherExtended(boolean value)
Sets the specified value to theshaderImageGatherExtended
field.boolean
shaderInt16()
Returns the value of theshaderInt16
field.VkPhysicalDeviceFeatures
shaderInt16(boolean value)
Sets the specified value to theshaderInt16
field.boolean
shaderInt64()
Returns the value of theshaderInt64
field.VkPhysicalDeviceFeatures
shaderInt64(boolean value)
Sets the specified value to theshaderInt64
field.boolean
shaderResourceMinLod()
Returns the value of theshaderResourceMinLod
field.VkPhysicalDeviceFeatures
shaderResourceMinLod(boolean value)
Sets the specified value to theshaderResourceMinLod
field.boolean
shaderResourceResidency()
Returns the value of theshaderResourceResidency
field.VkPhysicalDeviceFeatures
shaderResourceResidency(boolean value)
Sets the specified value to theshaderResourceResidency
field.boolean
shaderSampledImageArrayDynamicIndexing()
Returns the value of theshaderSampledImageArrayDynamicIndexing
field.VkPhysicalDeviceFeatures
shaderSampledImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderSampledImageArrayDynamicIndexing
field.boolean
shaderStorageBufferArrayDynamicIndexing()
Returns the value of theshaderStorageBufferArrayDynamicIndexing
field.VkPhysicalDeviceFeatures
shaderStorageBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageBufferArrayDynamicIndexing
field.boolean
shaderStorageImageArrayDynamicIndexing()
Returns the value of theshaderStorageImageArrayDynamicIndexing
field.VkPhysicalDeviceFeatures
shaderStorageImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageImageArrayDynamicIndexing
field.boolean
shaderStorageImageExtendedFormats()
Returns the value of theshaderStorageImageExtendedFormats
field.VkPhysicalDeviceFeatures
shaderStorageImageExtendedFormats(boolean value)
Sets the specified value to theshaderStorageImageExtendedFormats
field.boolean
shaderStorageImageMultisample()
Returns the value of theshaderStorageImageMultisample
field.VkPhysicalDeviceFeatures
shaderStorageImageMultisample(boolean value)
Sets the specified value to theshaderStorageImageMultisample
field.boolean
shaderStorageImageReadWithoutFormat()
Returns the value of theshaderStorageImageReadWithoutFormat
field.VkPhysicalDeviceFeatures
shaderStorageImageReadWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageReadWithoutFormat
field.boolean
shaderStorageImageWriteWithoutFormat()
Returns the value of theshaderStorageImageWriteWithoutFormat
field.VkPhysicalDeviceFeatures
shaderStorageImageWriteWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageWriteWithoutFormat
field.boolean
shaderTessellationAndGeometryPointSize()
Returns the value of theshaderTessellationAndGeometryPointSize
field.VkPhysicalDeviceFeatures
shaderTessellationAndGeometryPointSize(boolean value)
Sets the specified value to theshaderTessellationAndGeometryPointSize
field.boolean
shaderUniformBufferArrayDynamicIndexing()
Returns the value of theshaderUniformBufferArrayDynamicIndexing
field.VkPhysicalDeviceFeatures
shaderUniformBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderUniformBufferArrayDynamicIndexing
field.int
sizeof()
boolean
sparseBinding()
Returns the value of thesparseBinding
field.VkPhysicalDeviceFeatures
sparseBinding(boolean value)
Sets the specified value to thesparseBinding
field.boolean
sparseResidency16Samples()
Returns the value of thesparseResidency16Samples
field.VkPhysicalDeviceFeatures
sparseResidency16Samples(boolean value)
Sets the specified value to thesparseResidency16Samples
field.boolean
sparseResidency2Samples()
Returns the value of thesparseResidency2Samples
field.VkPhysicalDeviceFeatures
sparseResidency2Samples(boolean value)
Sets the specified value to thesparseResidency2Samples
field.boolean
sparseResidency4Samples()
Returns the value of thesparseResidency4Samples
field.VkPhysicalDeviceFeatures
sparseResidency4Samples(boolean value)
Sets the specified value to thesparseResidency4Samples
field.boolean
sparseResidency8Samples()
Returns the value of thesparseResidency8Samples
field.VkPhysicalDeviceFeatures
sparseResidency8Samples(boolean value)
Sets the specified value to thesparseResidency8Samples
field.boolean
sparseResidencyAliased()
Returns the value of thesparseResidencyAliased
field.VkPhysicalDeviceFeatures
sparseResidencyAliased(boolean value)
Sets the specified value to thesparseResidencyAliased
field.boolean
sparseResidencyBuffer()
Returns the value of thesparseResidencyBuffer
field.VkPhysicalDeviceFeatures
sparseResidencyBuffer(boolean value)
Sets the specified value to thesparseResidencyBuffer
field.boolean
sparseResidencyImage2D()
Returns the value of thesparseResidencyImage2D
field.VkPhysicalDeviceFeatures
sparseResidencyImage2D(boolean value)
Sets the specified value to thesparseResidencyImage2D
field.boolean
sparseResidencyImage3D()
Returns the value of thesparseResidencyImage3D
field.VkPhysicalDeviceFeatures
sparseResidencyImage3D(boolean value)
Sets the specified value to thesparseResidencyImage3D
field.boolean
tessellationShader()
Returns the value of thetessellationShader
field.VkPhysicalDeviceFeatures
tessellationShader(boolean value)
Sets the specified value to thetessellationShader
field.boolean
textureCompressionASTC_LDR()
Returns the value of thetextureCompressionASTC_LDR
field.VkPhysicalDeviceFeatures
textureCompressionASTC_LDR(boolean value)
Sets the specified value to thetextureCompressionASTC_LDR
field.boolean
textureCompressionBC()
Returns the value of thetextureCompressionBC
field.VkPhysicalDeviceFeatures
textureCompressionBC(boolean value)
Sets the specified value to thetextureCompressionBC
field.boolean
textureCompressionETC2()
Returns the value of thetextureCompressionETC2
field.VkPhysicalDeviceFeatures
textureCompressionETC2(boolean value)
Sets the specified value to thetextureCompressionETC2
field.boolean
variableMultisampleRate()
Returns the value of thevariableMultisampleRate
field.VkPhysicalDeviceFeatures
variableMultisampleRate(boolean value)
Sets the specified value to thevariableMultisampleRate
field.boolean
vertexPipelineStoresAndAtomics()
Returns the value of thevertexPipelineStoresAndAtomics
field.VkPhysicalDeviceFeatures
vertexPipelineStoresAndAtomics(boolean value)
Sets the specified value to thevertexPipelineStoresAndAtomics
field.boolean
wideLines()
Returns the value of thewideLines
field.VkPhysicalDeviceFeatures
wideLines(boolean value)
Sets the specified value to thewideLines
field.
-
-
-
Field Detail
-
SIZEOF
The struct size in bytes.
-
ALIGNOF
The struct alignment in bytes.
-
ROBUSTBUFFERACCESS, FULLDRAWINDEXUINT32, IMAGECUBEARRAY, INDEPENDENTBLEND, GEOMETRYSHADER, TESSELLATIONSHADER, SAMPLERATESHADING, DUALSRCBLEND, LOGICOP, MULTIDRAWINDIRECT, DRAWINDIRECTFIRSTINSTANCE, DEPTHCLAMP, DEPTHBIASCLAMP, FILLMODENONSOLID, DEPTHBOUNDS, WIDELINES, LARGEPOINTS, ALPHATOONE, MULTIVIEWPORT, SAMPLERANISOTROPY, TEXTURECOMPRESSIONETC2, TEXTURECOMPRESSIONASTC_LDR, TEXTURECOMPRESSIONBC, OCCLUSIONQUERYPRECISE, PIPELINESTATISTICSQUERY, VERTEXPIPELINESTORESANDATOMICS, FRAGMENTSTORESANDATOMICS, SHADERTESSELLATIONANDGEOMETRYPOINTSIZE, SHADERIMAGEGATHEREXTENDED, SHADERSTORAGEIMAGEEXTENDEDFORMATS, SHADERSTORAGEIMAGEMULTISAMPLE, SHADERSTORAGEIMAGEREADWITHOUTFORMAT, SHADERSTORAGEIMAGEWRITEWITHOUTFORMAT, SHADERUNIFORMBUFFERARRAYDYNAMICINDEXING, SHADERSAMPLEDIMAGEARRAYDYNAMICINDEXING, SHADERSTORAGEBUFFERARRAYDYNAMICINDEXING, SHADERSTORAGEIMAGEARRAYDYNAMICINDEXING, SHADERCLIPDISTANCE, SHADERCULLDISTANCE, SHADERFLOAT64, SHADERINT64, SHADERINT16, SHADERRESOURCERESIDENCY, SHADERRESOURCEMINLOD, SPARSEBINDING, SPARSERESIDENCYBUFFER, SPARSERESIDENCYIMAGE2D, SPARSERESIDENCYIMAGE3D, SPARSERESIDENCY2SAMPLES, SPARSERESIDENCY4SAMPLES, SPARSERESIDENCY8SAMPLES, SPARSERESIDENCY16SAMPLES, SPARSERESIDENCYALIASED, VARIABLEMULTISAMPLERATE, INHERITEDQUERIES
The struct member offsets.
-
-
Constructor Detail
-
VkPhysicalDeviceFeatures
public VkPhysicalDeviceFeatures(java.nio.ByteBuffer container)
Creates aVkPhysicalDeviceFeatures
instance at the current position of the specifiedByteBuffer
container. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
robustBufferAccess
public boolean robustBufferAccess()
Returns the value of therobustBufferAccess
field.
-
fullDrawIndexUint32
public boolean fullDrawIndexUint32()
Returns the value of thefullDrawIndexUint32
field.
-
imageCubeArray
public boolean imageCubeArray()
Returns the value of theimageCubeArray
field.
-
independentBlend
public boolean independentBlend()
Returns the value of theindependentBlend
field.
-
geometryShader
public boolean geometryShader()
Returns the value of thegeometryShader
field.
-
tessellationShader
public boolean tessellationShader()
Returns the value of thetessellationShader
field.
-
sampleRateShading
public boolean sampleRateShading()
Returns the value of thesampleRateShading
field.
-
dualSrcBlend
public boolean dualSrcBlend()
Returns the value of thedualSrcBlend
field.
-
logicOp
public boolean logicOp()
Returns the value of thelogicOp
field.
-
multiDrawIndirect
public boolean multiDrawIndirect()
Returns the value of themultiDrawIndirect
field.
-
drawIndirectFirstInstance
public boolean drawIndirectFirstInstance()
Returns the value of thedrawIndirectFirstInstance
field.
-
depthClamp
public boolean depthClamp()
Returns the value of thedepthClamp
field.
-
depthBiasClamp
public boolean depthBiasClamp()
Returns the value of thedepthBiasClamp
field.
-
fillModeNonSolid
public boolean fillModeNonSolid()
Returns the value of thefillModeNonSolid
field.
-
depthBounds
public boolean depthBounds()
Returns the value of thedepthBounds
field.
-
wideLines
public boolean wideLines()
Returns the value of thewideLines
field.
-
largePoints
public boolean largePoints()
Returns the value of thelargePoints
field.
-
alphaToOne
public boolean alphaToOne()
Returns the value of thealphaToOne
field.
-
multiViewport
public boolean multiViewport()
Returns the value of themultiViewport
field.
-
samplerAnisotropy
public boolean samplerAnisotropy()
Returns the value of thesamplerAnisotropy
field.
-
textureCompressionETC2
public boolean textureCompressionETC2()
Returns the value of thetextureCompressionETC2
field.
-
textureCompressionASTC_LDR
public boolean textureCompressionASTC_LDR()
Returns the value of thetextureCompressionASTC_LDR
field.
-
textureCompressionBC
public boolean textureCompressionBC()
Returns the value of thetextureCompressionBC
field.
-
occlusionQueryPrecise
public boolean occlusionQueryPrecise()
Returns the value of theocclusionQueryPrecise
field.
-
pipelineStatisticsQuery
public boolean pipelineStatisticsQuery()
Returns the value of thepipelineStatisticsQuery
field.
-
vertexPipelineStoresAndAtomics
public boolean vertexPipelineStoresAndAtomics()
Returns the value of thevertexPipelineStoresAndAtomics
field.
-
fragmentStoresAndAtomics
public boolean fragmentStoresAndAtomics()
Returns the value of thefragmentStoresAndAtomics
field.
-
shaderTessellationAndGeometryPointSize
public boolean shaderTessellationAndGeometryPointSize()
Returns the value of theshaderTessellationAndGeometryPointSize
field.
-
shaderImageGatherExtended
public boolean shaderImageGatherExtended()
Returns the value of theshaderImageGatherExtended
field.
-
shaderStorageImageExtendedFormats
public boolean shaderStorageImageExtendedFormats()
Returns the value of theshaderStorageImageExtendedFormats
field.
-
shaderStorageImageMultisample
public boolean shaderStorageImageMultisample()
Returns the value of theshaderStorageImageMultisample
field.
-
shaderStorageImageReadWithoutFormat
public boolean shaderStorageImageReadWithoutFormat()
Returns the value of theshaderStorageImageReadWithoutFormat
field.
-
shaderStorageImageWriteWithoutFormat
public boolean shaderStorageImageWriteWithoutFormat()
Returns the value of theshaderStorageImageWriteWithoutFormat
field.
-
shaderUniformBufferArrayDynamicIndexing
public boolean shaderUniformBufferArrayDynamicIndexing()
Returns the value of theshaderUniformBufferArrayDynamicIndexing
field.
-
shaderSampledImageArrayDynamicIndexing
public boolean shaderSampledImageArrayDynamicIndexing()
Returns the value of theshaderSampledImageArrayDynamicIndexing
field.
-
shaderStorageBufferArrayDynamicIndexing
public boolean shaderStorageBufferArrayDynamicIndexing()
Returns the value of theshaderStorageBufferArrayDynamicIndexing
field.
-
shaderStorageImageArrayDynamicIndexing
public boolean shaderStorageImageArrayDynamicIndexing()
Returns the value of theshaderStorageImageArrayDynamicIndexing
field.
-
shaderClipDistance
public boolean shaderClipDistance()
Returns the value of theshaderClipDistance
field.
-
shaderCullDistance
public boolean shaderCullDistance()
Returns the value of theshaderCullDistance
field.
-
shaderFloat64
public boolean shaderFloat64()
Returns the value of theshaderFloat64
field.
-
shaderInt64
public boolean shaderInt64()
Returns the value of theshaderInt64
field.
-
shaderInt16
public boolean shaderInt16()
Returns the value of theshaderInt16
field.
-
shaderResourceResidency
public boolean shaderResourceResidency()
Returns the value of theshaderResourceResidency
field.
-
shaderResourceMinLod
public boolean shaderResourceMinLod()
Returns the value of theshaderResourceMinLod
field.
-
sparseBinding
public boolean sparseBinding()
Returns the value of thesparseBinding
field.
-
sparseResidencyBuffer
public boolean sparseResidencyBuffer()
Returns the value of thesparseResidencyBuffer
field.
-
sparseResidencyImage2D
public boolean sparseResidencyImage2D()
Returns the value of thesparseResidencyImage2D
field.
-
sparseResidencyImage3D
public boolean sparseResidencyImage3D()
Returns the value of thesparseResidencyImage3D
field.
-
sparseResidency2Samples
public boolean sparseResidency2Samples()
Returns the value of thesparseResidency2Samples
field.
-
sparseResidency4Samples
public boolean sparseResidency4Samples()
Returns the value of thesparseResidency4Samples
field.
-
sparseResidency8Samples
public boolean sparseResidency8Samples()
Returns the value of thesparseResidency8Samples
field.
-
sparseResidency16Samples
public boolean sparseResidency16Samples()
Returns the value of thesparseResidency16Samples
field.
-
sparseResidencyAliased
public boolean sparseResidencyAliased()
Returns the value of thesparseResidencyAliased
field.
-
variableMultisampleRate
public boolean variableMultisampleRate()
Returns the value of thevariableMultisampleRate
field.
-
inheritedQueries
public boolean inheritedQueries()
Returns the value of theinheritedQueries
field.
-
robustBufferAccess
public VkPhysicalDeviceFeatures robustBufferAccess(boolean value)
Sets the specified value to therobustBufferAccess
field.
-
fullDrawIndexUint32
public VkPhysicalDeviceFeatures fullDrawIndexUint32(boolean value)
Sets the specified value to thefullDrawIndexUint32
field.
-
imageCubeArray
public VkPhysicalDeviceFeatures imageCubeArray(boolean value)
Sets the specified value to theimageCubeArray
field.
-
independentBlend
public VkPhysicalDeviceFeatures independentBlend(boolean value)
Sets the specified value to theindependentBlend
field.
-
geometryShader
public VkPhysicalDeviceFeatures geometryShader(boolean value)
Sets the specified value to thegeometryShader
field.
-
tessellationShader
public VkPhysicalDeviceFeatures tessellationShader(boolean value)
Sets the specified value to thetessellationShader
field.
-
sampleRateShading
public VkPhysicalDeviceFeatures sampleRateShading(boolean value)
Sets the specified value to thesampleRateShading
field.
-
dualSrcBlend
public VkPhysicalDeviceFeatures dualSrcBlend(boolean value)
Sets the specified value to thedualSrcBlend
field.
-
logicOp
public VkPhysicalDeviceFeatures logicOp(boolean value)
Sets the specified value to thelogicOp
field.
-
multiDrawIndirect
public VkPhysicalDeviceFeatures multiDrawIndirect(boolean value)
Sets the specified value to themultiDrawIndirect
field.
-
drawIndirectFirstInstance
public VkPhysicalDeviceFeatures drawIndirectFirstInstance(boolean value)
Sets the specified value to thedrawIndirectFirstInstance
field.
-
depthClamp
public VkPhysicalDeviceFeatures depthClamp(boolean value)
Sets the specified value to thedepthClamp
field.
-
depthBiasClamp
public VkPhysicalDeviceFeatures depthBiasClamp(boolean value)
Sets the specified value to thedepthBiasClamp
field.
-
fillModeNonSolid
public VkPhysicalDeviceFeatures fillModeNonSolid(boolean value)
Sets the specified value to thefillModeNonSolid
field.
-
depthBounds
public VkPhysicalDeviceFeatures depthBounds(boolean value)
Sets the specified value to thedepthBounds
field.
-
wideLines
public VkPhysicalDeviceFeatures wideLines(boolean value)
Sets the specified value to thewideLines
field.
-
largePoints
public VkPhysicalDeviceFeatures largePoints(boolean value)
Sets the specified value to thelargePoints
field.
-
alphaToOne
public VkPhysicalDeviceFeatures alphaToOne(boolean value)
Sets the specified value to thealphaToOne
field.
-
multiViewport
public VkPhysicalDeviceFeatures multiViewport(boolean value)
Sets the specified value to themultiViewport
field.
-
samplerAnisotropy
public VkPhysicalDeviceFeatures samplerAnisotropy(boolean value)
Sets the specified value to thesamplerAnisotropy
field.
-
textureCompressionETC2
public VkPhysicalDeviceFeatures textureCompressionETC2(boolean value)
Sets the specified value to thetextureCompressionETC2
field.
-
textureCompressionASTC_LDR
public VkPhysicalDeviceFeatures textureCompressionASTC_LDR(boolean value)
Sets the specified value to thetextureCompressionASTC_LDR
field.
-
textureCompressionBC
public VkPhysicalDeviceFeatures textureCompressionBC(boolean value)
Sets the specified value to thetextureCompressionBC
field.
-
occlusionQueryPrecise
public VkPhysicalDeviceFeatures occlusionQueryPrecise(boolean value)
Sets the specified value to theocclusionQueryPrecise
field.
-
pipelineStatisticsQuery
public VkPhysicalDeviceFeatures pipelineStatisticsQuery(boolean value)
Sets the specified value to thepipelineStatisticsQuery
field.
-
vertexPipelineStoresAndAtomics
public VkPhysicalDeviceFeatures vertexPipelineStoresAndAtomics(boolean value)
Sets the specified value to thevertexPipelineStoresAndAtomics
field.
-
fragmentStoresAndAtomics
public VkPhysicalDeviceFeatures fragmentStoresAndAtomics(boolean value)
Sets the specified value to thefragmentStoresAndAtomics
field.
-
shaderTessellationAndGeometryPointSize
public VkPhysicalDeviceFeatures shaderTessellationAndGeometryPointSize(boolean value)
Sets the specified value to theshaderTessellationAndGeometryPointSize
field.
-
shaderImageGatherExtended
public VkPhysicalDeviceFeatures shaderImageGatherExtended(boolean value)
Sets the specified value to theshaderImageGatherExtended
field.
-
shaderStorageImageExtendedFormats
public VkPhysicalDeviceFeatures shaderStorageImageExtendedFormats(boolean value)
Sets the specified value to theshaderStorageImageExtendedFormats
field.
-
shaderStorageImageMultisample
public VkPhysicalDeviceFeatures shaderStorageImageMultisample(boolean value)
Sets the specified value to theshaderStorageImageMultisample
field.
-
shaderStorageImageReadWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageReadWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageReadWithoutFormat
field.
-
shaderStorageImageWriteWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageWriteWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageWriteWithoutFormat
field.
-
shaderUniformBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderUniformBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderUniformBufferArrayDynamicIndexing
field.
-
shaderSampledImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderSampledImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderSampledImageArrayDynamicIndexing
field.
-
shaderStorageBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageBufferArrayDynamicIndexing
field.
-
shaderStorageImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageImageArrayDynamicIndexing
field.
-
shaderClipDistance
public VkPhysicalDeviceFeatures shaderClipDistance(boolean value)
Sets the specified value to theshaderClipDistance
field.
-
shaderCullDistance
public VkPhysicalDeviceFeatures shaderCullDistance(boolean value)
Sets the specified value to theshaderCullDistance
field.
-
shaderFloat64
public VkPhysicalDeviceFeatures shaderFloat64(boolean value)
Sets the specified value to theshaderFloat64
field.
-
shaderInt64
public VkPhysicalDeviceFeatures shaderInt64(boolean value)
Sets the specified value to theshaderInt64
field.
-
shaderInt16
public VkPhysicalDeviceFeatures shaderInt16(boolean value)
Sets the specified value to theshaderInt16
field.
-
shaderResourceResidency
public VkPhysicalDeviceFeatures shaderResourceResidency(boolean value)
Sets the specified value to theshaderResourceResidency
field.
-
shaderResourceMinLod
public VkPhysicalDeviceFeatures shaderResourceMinLod(boolean value)
Sets the specified value to theshaderResourceMinLod
field.
-
sparseBinding
public VkPhysicalDeviceFeatures sparseBinding(boolean value)
Sets the specified value to thesparseBinding
field.
-
sparseResidencyBuffer
public VkPhysicalDeviceFeatures sparseResidencyBuffer(boolean value)
Sets the specified value to thesparseResidencyBuffer
field.
-
sparseResidencyImage2D
public VkPhysicalDeviceFeatures sparseResidencyImage2D(boolean value)
Sets the specified value to thesparseResidencyImage2D
field.
-
sparseResidencyImage3D
public VkPhysicalDeviceFeatures sparseResidencyImage3D(boolean value)
Sets the specified value to thesparseResidencyImage3D
field.
-
sparseResidency2Samples
public VkPhysicalDeviceFeatures sparseResidency2Samples(boolean value)
Sets the specified value to thesparseResidency2Samples
field.
-
sparseResidency4Samples
public VkPhysicalDeviceFeatures sparseResidency4Samples(boolean value)
Sets the specified value to thesparseResidency4Samples
field.
-
sparseResidency8Samples
public VkPhysicalDeviceFeatures sparseResidency8Samples(boolean value)
Sets the specified value to thesparseResidency8Samples
field.
-
sparseResidency16Samples
public VkPhysicalDeviceFeatures sparseResidency16Samples(boolean value)
Sets the specified value to thesparseResidency16Samples
field.
-
sparseResidencyAliased
public VkPhysicalDeviceFeatures sparseResidencyAliased(boolean value)
Sets the specified value to thesparseResidencyAliased
field.
-
variableMultisampleRate
public VkPhysicalDeviceFeatures variableMultisampleRate(boolean value)
Sets the specified value to thevariableMultisampleRate
field.
-
inheritedQueries
public VkPhysicalDeviceFeatures inheritedQueries(boolean value)
Sets the specified value to theinheritedQueries
field.
-
set
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.
-
set
public VkPhysicalDeviceFeatures set(VkPhysicalDeviceFeatures src)
Copies the specified struct data to this struct.- Parameters:
src
- the source struct- Returns:
- this struct
-
malloc
public static VkPhysicalDeviceFeatures malloc()
Returns a newVkPhysicalDeviceFeatures
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFeatures calloc()
Returns a newVkPhysicalDeviceFeatures
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFeatures create()
Returns a newVkPhysicalDeviceFeatures
instance allocated withBufferUtils
.
-
create
public static VkPhysicalDeviceFeatures create(long address)
Returns a newVkPhysicalDeviceFeatures
instance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkPhysicalDeviceFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkPhysicalDeviceFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFeatures.Buffer
instance at the specified memory.- Parameters:
address
- the memory addresscapacity
- the buffer capacity
-
createSafe
@Nullable public static VkPhysicalDeviceFeatures.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkPhysicalDeviceFeatures mallocStack()
Returns a newVkPhysicalDeviceFeatures
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkPhysicalDeviceFeatures callocStack()
Returns a newVkPhysicalDeviceFeatures
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocate
-
mallocStack
public static VkPhysicalDeviceFeatures.Buffer mallocStack(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.- Parameters:
capacity
- the buffer capacity
-
mallocStack
public static VkPhysicalDeviceFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeatures.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.- Parameters:
stack
- the stack from which to allocatecapacity
- the buffer capacity
-
nrobustBufferAccess
public static int nrobustBufferAccess(long struct)
Unsafe version ofrobustBufferAccess()
.
-
nfullDrawIndexUint32
public static int nfullDrawIndexUint32(long struct)
Unsafe version offullDrawIndexUint32()
.
-
nimageCubeArray
public static int nimageCubeArray(long struct)
Unsafe version ofimageCubeArray()
.
-
nindependentBlend
public static int nindependentBlend(long struct)
Unsafe version ofindependentBlend()
.
-
ngeometryShader
public static int ngeometryShader(long struct)
Unsafe version ofgeometryShader()
.
-
ntessellationShader
public static int ntessellationShader(long struct)
Unsafe version oftessellationShader()
.
-
nsampleRateShading
public static int nsampleRateShading(long struct)
Unsafe version ofsampleRateShading()
.
-
ndualSrcBlend
public static int ndualSrcBlend(long struct)
Unsafe version ofdualSrcBlend()
.
-
nlogicOp
public static int nlogicOp(long struct)
Unsafe version oflogicOp()
.
-
nmultiDrawIndirect
public static int nmultiDrawIndirect(long struct)
Unsafe version ofmultiDrawIndirect()
.
-
ndrawIndirectFirstInstance
public static int ndrawIndirectFirstInstance(long struct)
Unsafe version ofdrawIndirectFirstInstance()
.
-
ndepthClamp
public static int ndepthClamp(long struct)
Unsafe version ofdepthClamp()
.
-
ndepthBiasClamp
public static int ndepthBiasClamp(long struct)
Unsafe version ofdepthBiasClamp()
.
-
nfillModeNonSolid
public static int nfillModeNonSolid(long struct)
Unsafe version offillModeNonSolid()
.
-
ndepthBounds
public static int ndepthBounds(long struct)
Unsafe version ofdepthBounds()
.
-
nwideLines
public static int nwideLines(long struct)
Unsafe version ofwideLines()
.
-
nlargePoints
public static int nlargePoints(long struct)
Unsafe version oflargePoints()
.
-
nalphaToOne
public static int nalphaToOne(long struct)
Unsafe version ofalphaToOne()
.
-
nmultiViewport
public static int nmultiViewport(long struct)
Unsafe version ofmultiViewport()
.
-
nsamplerAnisotropy
public static int nsamplerAnisotropy(long struct)
Unsafe version ofsamplerAnisotropy()
.
-
ntextureCompressionETC2
public static int ntextureCompressionETC2(long struct)
Unsafe version oftextureCompressionETC2()
.
-
ntextureCompressionASTC_LDR
public static int ntextureCompressionASTC_LDR(long struct)
Unsafe version oftextureCompressionASTC_LDR()
.
-
ntextureCompressionBC
public static int ntextureCompressionBC(long struct)
Unsafe version oftextureCompressionBC()
.
-
nocclusionQueryPrecise
public static int nocclusionQueryPrecise(long struct)
Unsafe version ofocclusionQueryPrecise()
.
-
npipelineStatisticsQuery
public static int npipelineStatisticsQuery(long struct)
Unsafe version ofpipelineStatisticsQuery()
.
-
nvertexPipelineStoresAndAtomics
public static int nvertexPipelineStoresAndAtomics(long struct)
Unsafe version ofvertexPipelineStoresAndAtomics()
.
-
nfragmentStoresAndAtomics
public static int nfragmentStoresAndAtomics(long struct)
Unsafe version offragmentStoresAndAtomics()
.
-
nshaderTessellationAndGeometryPointSize
public static int nshaderTessellationAndGeometryPointSize(long struct)
Unsafe version ofshaderTessellationAndGeometryPointSize()
.
-
nshaderImageGatherExtended
public static int nshaderImageGatherExtended(long struct)
Unsafe version ofshaderImageGatherExtended()
.
-
nshaderStorageImageExtendedFormats
public static int nshaderStorageImageExtendedFormats(long struct)
Unsafe version ofshaderStorageImageExtendedFormats()
.
-
nshaderStorageImageMultisample
public static int nshaderStorageImageMultisample(long struct)
Unsafe version ofshaderStorageImageMultisample()
.
-
nshaderStorageImageReadWithoutFormat
public static int nshaderStorageImageReadWithoutFormat(long struct)
Unsafe version ofshaderStorageImageReadWithoutFormat()
.
-
nshaderStorageImageWriteWithoutFormat
public static int nshaderStorageImageWriteWithoutFormat(long struct)
Unsafe version ofshaderStorageImageWriteWithoutFormat()
.
-
nshaderUniformBufferArrayDynamicIndexing
public static int nshaderUniformBufferArrayDynamicIndexing(long struct)
Unsafe version ofshaderUniformBufferArrayDynamicIndexing()
.
-
nshaderSampledImageArrayDynamicIndexing
public static int nshaderSampledImageArrayDynamicIndexing(long struct)
Unsafe version ofshaderSampledImageArrayDynamicIndexing()
.
-
nshaderStorageBufferArrayDynamicIndexing
public static int nshaderStorageBufferArrayDynamicIndexing(long struct)
Unsafe version ofshaderStorageBufferArrayDynamicIndexing()
.
-
nshaderStorageImageArrayDynamicIndexing
public static int nshaderStorageImageArrayDynamicIndexing(long struct)
Unsafe version ofshaderStorageImageArrayDynamicIndexing()
.
-
nshaderClipDistance
public static int nshaderClipDistance(long struct)
Unsafe version ofshaderClipDistance()
.
-
nshaderCullDistance
public static int nshaderCullDistance(long struct)
Unsafe version ofshaderCullDistance()
.
-
nshaderFloat64
public static int nshaderFloat64(long struct)
Unsafe version ofshaderFloat64()
.
-
nshaderInt64
public static int nshaderInt64(long struct)
Unsafe version ofshaderInt64()
.
-
nshaderInt16
public static int nshaderInt16(long struct)
Unsafe version ofshaderInt16()
.
-
nshaderResourceResidency
public static int nshaderResourceResidency(long struct)
Unsafe version ofshaderResourceResidency()
.
-
nshaderResourceMinLod
public static int nshaderResourceMinLod(long struct)
Unsafe version ofshaderResourceMinLod()
.
-
nsparseBinding
public static int nsparseBinding(long struct)
Unsafe version ofsparseBinding()
.
-
nsparseResidencyBuffer
public static int nsparseResidencyBuffer(long struct)
Unsafe version ofsparseResidencyBuffer()
.
-
nsparseResidencyImage2D
public static int nsparseResidencyImage2D(long struct)
Unsafe version ofsparseResidencyImage2D()
.
-
nsparseResidencyImage3D
public static int nsparseResidencyImage3D(long struct)
Unsafe version ofsparseResidencyImage3D()
.
-
nsparseResidency2Samples
public static int nsparseResidency2Samples(long struct)
Unsafe version ofsparseResidency2Samples()
.
-
nsparseResidency4Samples
public static int nsparseResidency4Samples(long struct)
Unsafe version ofsparseResidency4Samples()
.
-
nsparseResidency8Samples
public static int nsparseResidency8Samples(long struct)
Unsafe version ofsparseResidency8Samples()
.
-
nsparseResidency16Samples
public static int nsparseResidency16Samples(long struct)
Unsafe version ofsparseResidency16Samples()
.
-
nsparseResidencyAliased
public static int nsparseResidencyAliased(long struct)
Unsafe version ofsparseResidencyAliased()
.
-
nvariableMultisampleRate
public static int nvariableMultisampleRate(long struct)
Unsafe version ofvariableMultisampleRate()
.
-
ninheritedQueries
public static int ninheritedQueries(long struct)
Unsafe version ofinheritedQueries()
.
-
nrobustBufferAccess
public static void nrobustBufferAccess(long struct, int value)
Unsafe version ofrobustBufferAccess
.
-
nfullDrawIndexUint32
public static void nfullDrawIndexUint32(long struct, int value)
Unsafe version offullDrawIndexUint32
.
-
nimageCubeArray
public static void nimageCubeArray(long struct, int value)
Unsafe version ofimageCubeArray
.
-
nindependentBlend
public static void nindependentBlend(long struct, int value)
Unsafe version ofindependentBlend
.
-
ngeometryShader
public static void ngeometryShader(long struct, int value)
Unsafe version ofgeometryShader
.
-
ntessellationShader
public static void ntessellationShader(long struct, int value)
Unsafe version oftessellationShader
.
-
nsampleRateShading
public static void nsampleRateShading(long struct, int value)
Unsafe version ofsampleRateShading
.
-
ndualSrcBlend
public static void ndualSrcBlend(long struct, int value)
Unsafe version ofdualSrcBlend
.
-
nlogicOp
public static void nlogicOp(long struct, int value)
Unsafe version oflogicOp
.
-
nmultiDrawIndirect
public static void nmultiDrawIndirect(long struct, int value)
Unsafe version ofmultiDrawIndirect
.
-
ndrawIndirectFirstInstance
public static void ndrawIndirectFirstInstance(long struct, int value)
Unsafe version ofdrawIndirectFirstInstance
.
-
ndepthClamp
public static void ndepthClamp(long struct, int value)
Unsafe version ofdepthClamp
.
-
ndepthBiasClamp
public static void ndepthBiasClamp(long struct, int value)
Unsafe version ofdepthBiasClamp
.
-
nfillModeNonSolid
public static void nfillModeNonSolid(long struct, int value)
Unsafe version offillModeNonSolid
.
-
ndepthBounds
public static void ndepthBounds(long struct, int value)
Unsafe version ofdepthBounds
.
-
nwideLines
public static void nwideLines(long struct, int value)
Unsafe version ofwideLines
.
-
nlargePoints
public static void nlargePoints(long struct, int value)
Unsafe version oflargePoints
.
-
nalphaToOne
public static void nalphaToOne(long struct, int value)
Unsafe version ofalphaToOne
.
-
nmultiViewport
public static void nmultiViewport(long struct, int value)
Unsafe version ofmultiViewport
.
-
nsamplerAnisotropy
public static void nsamplerAnisotropy(long struct, int value)
Unsafe version ofsamplerAnisotropy
.
-
ntextureCompressionETC2
public static void ntextureCompressionETC2(long struct, int value)
Unsafe version oftextureCompressionETC2
.
-
ntextureCompressionASTC_LDR
public static void ntextureCompressionASTC_LDR(long struct, int value)
Unsafe version oftextureCompressionASTC_LDR
.
-
ntextureCompressionBC
public static void ntextureCompressionBC(long struct, int value)
Unsafe version oftextureCompressionBC
.
-
nocclusionQueryPrecise
public static void nocclusionQueryPrecise(long struct, int value)
Unsafe version ofocclusionQueryPrecise
.
-
npipelineStatisticsQuery
public static void npipelineStatisticsQuery(long struct, int value)
Unsafe version ofpipelineStatisticsQuery
.
-
nvertexPipelineStoresAndAtomics
public static void nvertexPipelineStoresAndAtomics(long struct, int value)
Unsafe version ofvertexPipelineStoresAndAtomics
.
-
nfragmentStoresAndAtomics
public static void nfragmentStoresAndAtomics(long struct, int value)
Unsafe version offragmentStoresAndAtomics
.
-
nshaderTessellationAndGeometryPointSize
public static void nshaderTessellationAndGeometryPointSize(long struct, int value)
Unsafe version ofshaderTessellationAndGeometryPointSize
.
-
nshaderImageGatherExtended
public static void nshaderImageGatherExtended(long struct, int value)
Unsafe version ofshaderImageGatherExtended
.
-
nshaderStorageImageExtendedFormats
public static void nshaderStorageImageExtendedFormats(long struct, int value)
Unsafe version ofshaderStorageImageExtendedFormats
.
-
nshaderStorageImageMultisample
public static void nshaderStorageImageMultisample(long struct, int value)
Unsafe version ofshaderStorageImageMultisample
.
-
nshaderStorageImageReadWithoutFormat
public static void nshaderStorageImageReadWithoutFormat(long struct, int value)
Unsafe version ofshaderStorageImageReadWithoutFormat
.
-
nshaderStorageImageWriteWithoutFormat
public static void nshaderStorageImageWriteWithoutFormat(long struct, int value)
Unsafe version ofshaderStorageImageWriteWithoutFormat
.
-
nshaderUniformBufferArrayDynamicIndexing
public static void nshaderUniformBufferArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderUniformBufferArrayDynamicIndexing
.
-
nshaderSampledImageArrayDynamicIndexing
public static void nshaderSampledImageArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderSampledImageArrayDynamicIndexing
.
-
nshaderStorageBufferArrayDynamicIndexing
public static void nshaderStorageBufferArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderStorageBufferArrayDynamicIndexing
.
-
nshaderStorageImageArrayDynamicIndexing
public static void nshaderStorageImageArrayDynamicIndexing(long struct, int value)
Unsafe version ofshaderStorageImageArrayDynamicIndexing
.
-
nshaderClipDistance
public static void nshaderClipDistance(long struct, int value)
Unsafe version ofshaderClipDistance
.
-
nshaderCullDistance
public static void nshaderCullDistance(long struct, int value)
Unsafe version ofshaderCullDistance
.
-
nshaderFloat64
public static void nshaderFloat64(long struct, int value)
Unsafe version ofshaderFloat64
.
-
nshaderInt64
public static void nshaderInt64(long struct, int value)
Unsafe version ofshaderInt64
.
-
nshaderInt16
public static void nshaderInt16(long struct, int value)
Unsafe version ofshaderInt16
.
-
nshaderResourceResidency
public static void nshaderResourceResidency(long struct, int value)
Unsafe version ofshaderResourceResidency
.
-
nshaderResourceMinLod
public static void nshaderResourceMinLod(long struct, int value)
Unsafe version ofshaderResourceMinLod
.
-
nsparseBinding
public static void nsparseBinding(long struct, int value)
Unsafe version ofsparseBinding
.
-
nsparseResidencyBuffer
public static void nsparseResidencyBuffer(long struct, int value)
Unsafe version ofsparseResidencyBuffer
.
-
nsparseResidencyImage2D
public static void nsparseResidencyImage2D(long struct, int value)
Unsafe version ofsparseResidencyImage2D
.
-
nsparseResidencyImage3D
public static void nsparseResidencyImage3D(long struct, int value)
Unsafe version ofsparseResidencyImage3D
.
-
nsparseResidency2Samples
public static void nsparseResidency2Samples(long struct, int value)
Unsafe version ofsparseResidency2Samples
.
-
nsparseResidency4Samples
public static void nsparseResidency4Samples(long struct, int value)
Unsafe version ofsparseResidency4Samples
.
-
nsparseResidency8Samples
public static void nsparseResidency8Samples(long struct, int value)
Unsafe version ofsparseResidency8Samples
.
-
nsparseResidency16Samples
public static void nsparseResidency16Samples(long struct, int value)
Unsafe version ofsparseResidency16Samples
.
-
nsparseResidencyAliased
public static void nsparseResidencyAliased(long struct, int value)
Unsafe version ofsparseResidencyAliased
.
-
nvariableMultisampleRate
public static void nvariableMultisampleRate(long struct, int value)
Unsafe version ofvariableMultisampleRate
.
-
ninheritedQueries
public static void ninheritedQueries(long struct, int value)
Unsafe version ofinheritedQueries
.
-
-