public class VkPhysicalDeviceFeatures
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
VkBool32, VkDeviceCreateInfo, VkPhysicalDeviceFeatures2, GetPhysicalDeviceFeatures
robustBufferAccess – specifies that accesses to buffers are bounds-checked against the range of the buffer descriptor (as determined by VkDescriptorBufferInfo::range, VkBufferViewCreateInfo::range, or the size of the buffer). 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.
OpImageTexelPointer and the coordinate is less than zero or greater than or equal to the number of whole elements in the bound range.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 to OpConstantNull 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 the cooperativeMatrixRobustBufferAccess feature is not enabled, then accesses using OpCooperativeMatrixLoadNV and OpCooperativeMatrixStoreNV may not be bounds-checked.
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.
(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:
vertexBufferRangeSize, if bindingStride == 0; or(vertexBufferRangeSize - (vertexBufferRangeSize % bindingStride))where vertexBufferRangeSize is the byte size of the memory range bound to the vertex buffer binding and bindingStride 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.
(0,0,0,x) vectors, as described above.robustBufferAccess is not enabled, applications must not perform out of bounds accesses.fullDrawIndexUint32 – specifies the full 32-bit range of indices is supported for indexed draw calls when using a VkIndexType of INDEX_TYPE_UINT32. maxDrawIndexedIndexValue is the maximum index value that may be used (aside from the primitive restart index, which is always 232-1 when the VkIndexType is INDEX_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 a VkImageViewType of IMAGE_VIEW_TYPE_CUBE_ARRAY can be created, and that the corresponding SampledCubeArray and ImageCubeArray SPIR-V capabilities can be used in shader code.independentBlend – specifies whether the VkPipelineColorBlendAttachmentState settings are controlled independently per-attachment. If this feature is not enabled, the VkPipelineColorBlendAttachmentState settings for all color attachments must be identical. Otherwise, a different VkPipelineColorBlendAttachmentState can be provided for each bound color attachment.geometryShader – specifies whether geometry shaders are supported. If this feature is not enabled, the SHADER_STAGE_GEOMETRY_BIT and PIPELINE_STAGE_GEOMETRY_SHADER_BIT enum values must not be used. This also specifies whether shader modules can declare the Geometry capability.tessellationShader – specifies whether tessellation control and evaluation shaders are supported. If this feature is not enabled, the SHADER_STAGE_TESSELLATION_CONTROL_BIT, SHADER_STAGE_TESSELLATION_EVALUATION_BIT, PIPELINE_STAGE_TESSELLATION_CONTROL_SHADER_BIT, PIPELINE_STAGE_TESSELLATION_EVALUATION_SHADER_BIT, and STRUCTURE_TYPE_PIPELINE_TESSELLATION_STATE_CREATE_INFO enum values must not be used. This also specifies whether shader modules can declare the Tessellation capability.sampleRateShading – specifies whether Sample Shading and multisample interpolation are supported. If this feature is not enabled, the sampleShadingEnable member of the VkPipelineMultisampleStateCreateInfo structure must be set to FALSE and the minSampleShading member is ignored. This also specifies whether shader modules can declare the SampleRateShading capability.dualSrcBlend – specifies whether blend operations which take two sources are supported. If this feature is not enabled, the BLEND_FACTOR_SRC1_COLOR, BLEND_FACTOR_ONE_MINUS_SRC1_COLOR, BLEND_FACTOR_SRC1_ALPHA, and BLEND_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, the logicOpEnable member of the VkPipelineColorBlendStateCreateInfo structure must be set to FALSE, and the logicOp member is ignored.multiDrawIndirect – specifies whether multiple draw indirect is supported. If this feature is not enabled, the drawCount parameter to the vkCmdDrawIndirect and vkCmdDrawIndexedIndirect commands must be 0 or 1. The maxDrawIndirectCount member of the VkPhysicalDeviceLimits structure must also be 1 if this feature is not supported. See maxDrawIndirectCount.drawIndirectFirstInstance – specifies whether indirect draw calls support the firstInstance parameter. If this feature is not enabled, the firstInstance member of all VkDrawIndirectCommand and VkDrawIndexedIndirectCommand structures that are provided to the vkCmdDrawIndirect and vkCmdDrawIndexedIndirect commands must be 0.depthClamp – specifies whether depth clamping is supported. If this feature is not enabled, the depthClampEnable member of the VkPipelineRasterizationStateCreateInfo structure must be set to FALSE. Otherwise, setting depthClampEnable to TRUE will enable depth clamping.depthBiasClamp – specifies whether depth bias clamping is supported. If this feature is not enabled, the depthBiasClamp member of the VkPipelineRasterizationStateCreateInfo structure must be set to 0.0 unless the DYNAMIC_STATE_DEPTH_BIAS dynamic state is enabled, and the depthBiasClamp parameter to vkCmdSetDepthBias must be set to 0.0.fillModeNonSolid – specifies whether point and wireframe fill modes are supported. If this feature is not enabled, the POLYGON_MODE_POINT and POLYGON_MODE_LINE enum values must not be used.depthBounds – specifies whether depth bounds tests are supported. If this feature is not enabled, the depthBoundsTestEnable member of the VkPipelineDepthStencilStateCreateInfo structure must be set to FALSE. When depthBoundsTestEnable is set to FALSE, the minDepthBounds and maxDepthBounds members of the VkPipelineDepthStencilStateCreateInfo structure are ignored.wideLines – specifies whether lines with width other than 1.0 are supported. If this feature is not enabled, the lineWidth member of the VkPipelineRasterizationStateCreateInfo structure must be set to 1.0 unless the DYNAMIC_STATE_LINE_WIDTH dynamic state is enabled, and the lineWidth parameter to vkCmdSetLineWidth must be set to 1.0. When this feature is supported, the range and granularity of supported line widths are indicated by the lineWidthRange and lineWidthGranularity members of the VkPhysicalDeviceLimits 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 the pointSizeRange and pointSizeGranularity members of the VkPhysicalDeviceLimits 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 the alphaToOneEnable member of the VkPipelineMultisampleStateCreateInfo structure must be set to FALSE. Otherwise setting alphaToOneEnable to TRUE will enable alpha-to-one behavior.multiViewport – specifies whether more than one viewport is supported. If this feature is not enabled:
viewportCount and scissorCount members of the VkPipelineViewportStateCreateInfo structure must be set to 1.firstViewport and viewportCount parameters to the vkCmdSetViewport command must be set to 0 and 1, respectively.firstScissor and scissorCount parameters to the vkCmdSetScissor command must be set to 0 and 1, respectively.exclusiveScissorCount member of the VkPipelineViewportExclusiveScissorStateCreateInfoNV structure must be set to 0 or 1.firstExclusiveScissor and exclusiveScissorCount parameters to the vkCmdSetExclusiveScissorNV command must be set to 0 and 1, respectively.samplerAnisotropy – specifies whether anisotropic filtering is supported. If this feature is not enabled, the anisotropyEnable member of the VkSamplerCreateInfo structure must be FALSE.textureCompressionETC2 – specifies whether all of the ETC2 and EAC compressed texture formats are supported. If this feature is enabled, then the FORMAT_FEATURE_SAMPLED_IMAGE_BIT, FORMAT_FEATURE_BLIT_SRC_BIT and FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT features must be supported in optimalTilingFeatures for the following formats:
FORMAT_ETC2_R8G8B8_UNORM_BLOCKFORMAT_ETC2_R8G8B8_SRGB_BLOCKFORMAT_ETC2_R8G8B8A1_UNORM_BLOCKFORMAT_ETC2_R8G8B8A1_SRGB_BLOCKFORMAT_ETC2_R8G8B8A8_UNORM_BLOCKFORMAT_ETC2_R8G8B8A8_SRGB_BLOCKFORMAT_EAC_R11_UNORM_BLOCKFORMAT_EAC_R11_SNORM_BLOCKFORMAT_EAC_R11G11_UNORM_BLOCKFORMAT_EAC_R11G11_SNORM_BLOCKTo query for additional properties, or if the feature is not enabled, GetPhysicalDeviceFormatProperties and GetPhysicalDeviceImageFormatProperties 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 the FORMAT_FEATURE_SAMPLED_IMAGE_BIT, FORMAT_FEATURE_BLIT_SRC_BIT and FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT features must be supported in optimalTilingFeatures for the following formats:
FORMAT_ASTC_4x4_UNORM_BLOCKFORMAT_ASTC_4x4_SRGB_BLOCKFORMAT_ASTC_5x4_UNORM_BLOCKFORMAT_ASTC_5x4_SRGB_BLOCKFORMAT_ASTC_5x5_UNORM_BLOCKFORMAT_ASTC_5x5_SRGB_BLOCKFORMAT_ASTC_6x5_UNORM_BLOCKFORMAT_ASTC_6x5_SRGB_BLOCKFORMAT_ASTC_6x6_UNORM_BLOCKFORMAT_ASTC_6x6_SRGB_BLOCKFORMAT_ASTC_8x5_UNORM_BLOCKFORMAT_ASTC_8x5_SRGB_BLOCKFORMAT_ASTC_8x6_UNORM_BLOCKFORMAT_ASTC_8x6_SRGB_BLOCKFORMAT_ASTC_8x8_UNORM_BLOCKFORMAT_ASTC_8x8_SRGB_BLOCKFORMAT_ASTC_10x5_UNORM_BLOCKFORMAT_ASTC_10x5_SRGB_BLOCKFORMAT_ASTC_10x6_UNORM_BLOCKFORMAT_ASTC_10x6_SRGB_BLOCKFORMAT_ASTC_10x8_UNORM_BLOCKFORMAT_ASTC_10x8_SRGB_BLOCKFORMAT_ASTC_10x10_UNORM_BLOCKFORMAT_ASTC_10x10_SRGB_BLOCKFORMAT_ASTC_12x10_UNORM_BLOCKFORMAT_ASTC_12x10_SRGB_BLOCKFORMAT_ASTC_12x12_UNORM_BLOCKFORMAT_ASTC_12x12_SRGB_BLOCKTo query for additional properties, or if the feature is not enabled, GetPhysicalDeviceFormatProperties and GetPhysicalDeviceImageFormatProperties 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 the FORMAT_FEATURE_SAMPLED_IMAGE_BIT, FORMAT_FEATURE_BLIT_SRC_BIT and FORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BIT features must be supported in optimalTilingFeatures for the following formats:
FORMAT_BC1_RGB_UNORM_BLOCKFORMAT_BC1_RGB_SRGB_BLOCKFORMAT_BC1_RGBA_UNORM_BLOCKFORMAT_BC1_RGBA_SRGB_BLOCKFORMAT_BC2_UNORM_BLOCKFORMAT_BC2_SRGB_BLOCKFORMAT_BC3_UNORM_BLOCKFORMAT_BC3_SRGB_BLOCKFORMAT_BC4_UNORM_BLOCKFORMAT_BC4_SNORM_BLOCKFORMAT_BC5_UNORM_BLOCKFORMAT_BC5_SNORM_BLOCKFORMAT_BC6H_UFLOAT_BLOCKFORMAT_BC6H_SFLOAT_BLOCKFORMAT_BC7_UNORM_BLOCKFORMAT_BC7_SRGB_BLOCKTo query for additional properties, or if the feature is not enabled, GetPhysicalDeviceFormatProperties and GetPhysicalDeviceImageFormatProperties 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 a VkQueryPool by specifying the queryType of QUERY_TYPE_OCCLUSION in the VkQueryPoolCreateInfo structure which is passed to vkCreateQueryPool. If this feature is enabled, queries of this type can enable QUERY_CONTROL_PRECISE_BIT in the flags parameter to vkCmdBeginQuery. 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 and QUERY_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 type QUERY_TYPE_PIPELINE_STATISTICS cannot be created, and none of the VkQueryPipelineStatisticFlagBits bits can be set in the pipelineStatistics member of the VkQueryPoolCreateInfo 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 the NonWritable decoration (or the readonly 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 the NonWritable decoration (or the readonly memory qualifier in GLSL).shaderTessellationAndGeometryPointSize – specifies whether the PointSize built-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stages. If this feature is not enabled, members decorated with the PointSize 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 the TessellationPointSize capability for tessellation control and evaluation shaders, or if the shader modules can declare the GeometryPointSize capability for geometry shaders. An implementation supporting this feature must also support one or both of the tessellationShader or geometryShader features.shaderImageGatherExtended – specifies whether the extended set of image gather instructions are available in shader code. If this feature is not enabled, the OpImage*Gather instructions do not support the Offset and ConstOffsets operands. This also specifies whether shader modules can declare the ImageGatherExtended capability.shaderStorageImageExtendedFormats – specifies whether all the “storage image extended formats” below are supported; if this feature is supported, then the FORMAT_FEATURE_STORAGE_IMAGE_BIT must be supported in optimalTilingFeatures for the following formats:
FORMAT_R16G16_SFLOATFORMAT_B10G11R11_UFLOAT_PACK32FORMAT_R16_SFLOATFORMAT_R16G16B16A16_UNORMFORMAT_A2B10G10R10_UNORM_PACK32FORMAT_R16G16_UNORMFORMAT_R8G8_UNORMFORMAT_R16_UNORMFORMAT_R8_UNORMFORMAT_R16G16B16A16_SNORMFORMAT_R16G16_SNORMFORMAT_R8G8_SNORMFORMAT_R16_SNORMFORMAT_R8_SNORMFORMAT_R16G16_SINTFORMAT_R8G8_SINTFORMAT_R16_SINTFORMAT_R8_SINTFORMAT_A2B10G10R10_UINT_PACK32FORMAT_R16G16_UINTFORMAT_R8G8_UINTFORMAT_R16_UINTFORMAT_R8_UINTshaderStorageImageExtendedFormats feature only adds a guarantee of format support, which is specified for the whole physical device. Therefore enabling or disabling the feature via CreateDevice has no practical effect.
== Description
To query for additional properties, or if the feature is not supported, GetPhysicalDeviceFormatProperties and GetPhysicalDeviceImageFormatProperties can be used to check for supported properties of individual formats, as usual rules allow.
FORMAT_R32G32_UINT, FORMAT_R32G32_SINT, and FORMAT_R32G32_SFLOAT from StorageImageExtendedFormats SPIR-V capability, are already covered by core Vulkan mandatory format support.
shaderStorageImageMultisample – specifies whether multisampled storage images are supported. If this feature is not enabled, images that are created with a usage that includes IMAGE_USAGE_STORAGE_BIT must be created with samples equal to SAMPLE_COUNT_1_BIT. This also specifies whether shader modules can declare the StorageImageMultisample capability.shaderStorageImageReadWithoutFormat – specifies whether storage images require a format qualifier to be specified when reading from storage images. If this feature is not enabled, the OpImageRead instruction must not have an OpTypeImage of Unknown. This also specifies whether shader modules can declare the StorageImageReadWithoutFormat capability.shaderStorageImageWriteWithoutFormat – specifies whether storage images require a format qualifier to be specified when writing to storage images. If this feature is not enabled, the OpImageWrite instruction must not have an OpTypeImage of Unknown. This also specifies whether shader modules can declare the StorageImageWriteWithoutFormat 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 of DESCRIPTOR_TYPE_UNIFORM_BUFFER or DESCRIPTOR_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 the UniformBufferArrayDynamicIndexing 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 of DESCRIPTOR_TYPE_SAMPLER, DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, or DESCRIPTOR_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 the SampledImageArrayDynamicIndexing 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 of DESCRIPTOR_TYPE_STORAGE_BUFFER or DESCRIPTOR_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 the StorageBufferArrayDynamicIndexing 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 of DESCRIPTOR_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 the StorageImageArrayDynamicIndexing capability.shaderClipDistance – specifies whether clip distances are supported in shader code. If this feature is not enabled, any members decorated with the ClipDistance built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare the ClipDistance capability.shaderCullDistance – specifies whether cull distances are supported in shader code. If this feature is not enabled, any members decorated with the CullDistance built-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare the CullDistance 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 the Float64 capability. Declaring and using 64-bit floats is enabled for all storage classes that SPIR-V allows with the Float64 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 the Int64 capability. Declaring and using 64-bit integers is enabled for all storage classes that SPIR-V allows with the Int64 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 the Int16 capability. However, this only enables a subset of the storage classes that SPIR-V allows for the Int16 SPIR-V capability: Declaring and using 16-bit integers in the Private, Workgroup, and Function storage classes is enabled, while declaring them in the interface storage classes (e.g., UniformConstant, Uniform, StorageBuffer, Input, Output, and PushConstant) is not enabled.shaderResourceResidency – specifies whether image operations that return resource residency information are supported in shader code. If this feature is not enabled, the OpImageSparse* instructions must not be used in shader code. This also specifies whether shader modules can declare the SparseResidency capability. The feature requires at least one of the sparseResidency* features to be supported.shaderResourceMinLod – specifies whether image operations specifying the minimum resource LOD are supported in shader code. If this feature is not enabled, the MinLod image operand must not be used in shader code. This also specifies whether shader modules can declare the MinLod 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 the vkBindBufferMemory and vkBindImageMemory commands. In this case, buffers and images must not be created with BUFFER_CREATE_SPARSE_BINDING_BIT and IMAGE_CREATE_SPARSE_BINDING_BIT set in the flags member of the VkBufferCreateInfo and VkImageCreateInfo 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 with BUFFER_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkBufferCreateInfo 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 an imageType of IMAGE_TYPE_2D and samples set to SAMPLE_COUNT_1_BIT must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.sparseResidencyImage3D – specifies whether the device can access partially resident 3D images. If this feature is not enabled, images with an imageType of IMAGE_TYPE_3D must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo 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 an imageType of IMAGE_TYPE_2D and samples set to SAMPLE_COUNT_2_BIT must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo 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 an imageType of IMAGE_TYPE_2D and samples set to SAMPLE_COUNT_4_BIT must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo 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 an imageType of IMAGE_TYPE_2D and samples set to SAMPLE_COUNT_8_BIT must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo 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 an imageType of IMAGE_TYPE_2D and samples set to SAMPLE_COUNT_16_BIT must not be created with IMAGE_CREATE_SPARSE_RESIDENCY_BIT set in the flags member of the VkImageCreateInfo structure.sparseResidencyAliased – specifies whether the physical device can correctly access data aliased into multiple locations. If this feature is not enabled, the BUFFER_CREATE_SPARSE_ALIASED_BIT and IMAGE_CREATE_SPARSE_ALIASED_BIT enum values must not be used in flags members of the VkBufferCreateInfo and VkImageCreateInfo 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 for VkPipelineMultisampleStateCreateInfo::rasterizationSamples. If set to TRUE, the implementation supports variable multisample rates in a subpass with no attachments. If set to FALSE, 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.
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 |
|---|---|
static class |
VkPhysicalDeviceFeatures.Buffer
An array of
VkPhysicalDeviceFeatures structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
ALPHATOONE
The struct member offsets.
|
static int |
DEPTHBIASCLAMP
The struct member offsets.
|
static int |
DEPTHBOUNDS
The struct member offsets.
|
static int |
DEPTHCLAMP
The struct member offsets.
|
static int |
DRAWINDIRECTFIRSTINSTANCE
The struct member offsets.
|
static int |
DUALSRCBLEND
The struct member offsets.
|
static int |
FILLMODENONSOLID
The struct member offsets.
|
static int |
FRAGMENTSTORESANDATOMICS
The struct member offsets.
|
static int |
FULLDRAWINDEXUINT32
The struct member offsets.
|
static int |
GEOMETRYSHADER
The struct member offsets.
|
static int |
IMAGECUBEARRAY
The struct member offsets.
|
static int |
INDEPENDENTBLEND
The struct member offsets.
|
static int |
INHERITEDQUERIES
The struct member offsets.
|
static int |
LARGEPOINTS
The struct member offsets.
|
static int |
LOGICOP
The struct member offsets.
|
static int |
MULTIDRAWINDIRECT
The struct member offsets.
|
static int |
MULTIVIEWPORT
The struct member offsets.
|
static int |
OCCLUSIONQUERYPRECISE
The struct member offsets.
|
static int |
PIPELINESTATISTICSQUERY
The struct member offsets.
|
static int |
ROBUSTBUFFERACCESS
The struct member offsets.
|
static int |
SAMPLERANISOTROPY
The struct member offsets.
|
static int |
SAMPLERATESHADING
The struct member offsets.
|
static int |
SHADERCLIPDISTANCE
The struct member offsets.
|
static int |
SHADERCULLDISTANCE
The struct member offsets.
|
static int |
SHADERFLOAT64
The struct member offsets.
|
static int |
SHADERIMAGEGATHEREXTENDED
The struct member offsets.
|
static int |
SHADERINT16
The struct member offsets.
|
static int |
SHADERINT64
The struct member offsets.
|
static int |
SHADERRESOURCEMINLOD
The struct member offsets.
|
static int |
SHADERRESOURCERESIDENCY
The struct member offsets.
|
static int |
SHADERSAMPLEDIMAGEARRAYDYNAMICINDEXING
The struct member offsets.
|
static int |
SHADERSTORAGEBUFFERARRAYDYNAMICINDEXING
The struct member offsets.
|
static int |
SHADERSTORAGEIMAGEARRAYDYNAMICINDEXING
The struct member offsets.
|
static int |
SHADERSTORAGEIMAGEEXTENDEDFORMATS
The struct member offsets.
|
static int |
SHADERSTORAGEIMAGEMULTISAMPLE
The struct member offsets.
|
static int |
SHADERSTORAGEIMAGEREADWITHOUTFORMAT
The struct member offsets.
|
static int |
SHADERSTORAGEIMAGEWRITEWITHOUTFORMAT
The struct member offsets.
|
static int |
SHADERTESSELLATIONANDGEOMETRYPOINTSIZE
The struct member offsets.
|
static int |
SHADERUNIFORMBUFFERARRAYDYNAMICINDEXING
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
SPARSEBINDING
The struct member offsets.
|
static int |
SPARSERESIDENCY16SAMPLES
The struct member offsets.
|
static int |
SPARSERESIDENCY2SAMPLES
The struct member offsets.
|
static int |
SPARSERESIDENCY4SAMPLES
The struct member offsets.
|
static int |
SPARSERESIDENCY8SAMPLES
The struct member offsets.
|
static int |
SPARSERESIDENCYALIASED
The struct member offsets.
|
static int |
SPARSERESIDENCYBUFFER
The struct member offsets.
|
static int |
SPARSERESIDENCYIMAGE2D
The struct member offsets.
|
static int |
SPARSERESIDENCYIMAGE3D
The struct member offsets.
|
static int |
TESSELLATIONSHADER
The struct member offsets.
|
static int |
TEXTURECOMPRESSIONASTC_LDR
The struct member offsets.
|
static int |
TEXTURECOMPRESSIONBC
The struct member offsets.
|
static int |
TEXTURECOMPRESSIONETC2
The struct member offsets.
|
static int |
VARIABLEMULTISAMPLERATE
The struct member offsets.
|
static int |
VERTEXPIPELINESTORESANDATOMICS
The struct member offsets.
|
static int |
WIDELINES
The struct member offsets.
|
| Constructor and Description |
|---|
VkPhysicalDeviceFeatures(java.nio.ByteBuffer container)
Creates a
VkPhysicalDeviceFeatures instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alphaToOne()
Returns the value of the
alphaToOne field. |
VkPhysicalDeviceFeatures |
alphaToOne(boolean value)
Sets the specified value to the
alphaToOne field. |
static VkPhysicalDeviceFeatures |
calloc()
Returns a new
VkPhysicalDeviceFeatures instance allocated with memCalloc. |
static VkPhysicalDeviceFeatures.Buffer |
calloc(int capacity)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated with memCalloc. |
static VkPhysicalDeviceFeatures |
callocStack()
Returns a new
VkPhysicalDeviceFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures.Buffer |
callocStack(int capacity)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkPhysicalDeviceFeatures |
create()
Returns a new
VkPhysicalDeviceFeatures instance allocated with BufferUtils. |
static VkPhysicalDeviceFeatures.Buffer |
create(int capacity)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated with BufferUtils. |
static VkPhysicalDeviceFeatures |
create(long address)
Returns a new
VkPhysicalDeviceFeatures instance for the specified memory address. |
static VkPhysicalDeviceFeatures.Buffer |
create(long address,
int capacity)
Create a
VkPhysicalDeviceFeatures.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 the
depthBiasClamp field. |
VkPhysicalDeviceFeatures |
depthBiasClamp(boolean value)
Sets the specified value to the
depthBiasClamp field. |
boolean |
depthBounds()
Returns the value of the
depthBounds field. |
VkPhysicalDeviceFeatures |
depthBounds(boolean value)
Sets the specified value to the
depthBounds field. |
boolean |
depthClamp()
Returns the value of the
depthClamp field. |
VkPhysicalDeviceFeatures |
depthClamp(boolean value)
Sets the specified value to the
depthClamp field. |
boolean |
drawIndirectFirstInstance()
Returns the value of the
drawIndirectFirstInstance field. |
VkPhysicalDeviceFeatures |
drawIndirectFirstInstance(boolean value)
Sets the specified value to the
drawIndirectFirstInstance field. |
boolean |
dualSrcBlend()
Returns the value of the
dualSrcBlend field. |
VkPhysicalDeviceFeatures |
dualSrcBlend(boolean value)
Sets the specified value to the
dualSrcBlend field. |
boolean |
fillModeNonSolid()
Returns the value of the
fillModeNonSolid field. |
VkPhysicalDeviceFeatures |
fillModeNonSolid(boolean value)
Sets the specified value to the
fillModeNonSolid field. |
boolean |
fragmentStoresAndAtomics()
Returns the value of the
fragmentStoresAndAtomics field. |
VkPhysicalDeviceFeatures |
fragmentStoresAndAtomics(boolean value)
Sets the specified value to the
fragmentStoresAndAtomics field. |
boolean |
fullDrawIndexUint32()
Returns the value of the
fullDrawIndexUint32 field. |
VkPhysicalDeviceFeatures |
fullDrawIndexUint32(boolean value)
Sets the specified value to the
fullDrawIndexUint32 field. |
boolean |
geometryShader()
Returns the value of the
geometryShader field. |
VkPhysicalDeviceFeatures |
geometryShader(boolean value)
Sets the specified value to the
geometryShader field. |
boolean |
imageCubeArray()
Returns the value of the
imageCubeArray field. |
VkPhysicalDeviceFeatures |
imageCubeArray(boolean value)
Sets the specified value to the
imageCubeArray field. |
boolean |
independentBlend()
Returns the value of the
independentBlend field. |
VkPhysicalDeviceFeatures |
independentBlend(boolean value)
Sets the specified value to the
independentBlend field. |
boolean |
inheritedQueries()
Returns the value of the
inheritedQueries field. |
VkPhysicalDeviceFeatures |
inheritedQueries(boolean value)
Sets the specified value to the
inheritedQueries field. |
boolean |
largePoints()
Returns the value of the
largePoints field. |
VkPhysicalDeviceFeatures |
largePoints(boolean value)
Sets the specified value to the
largePoints field. |
boolean |
logicOp()
Returns the value of the
logicOp field. |
VkPhysicalDeviceFeatures |
logicOp(boolean value)
Sets the specified value to the
logicOp field. |
static VkPhysicalDeviceFeatures |
malloc()
Returns a new
VkPhysicalDeviceFeatures instance allocated with memAlloc. |
static VkPhysicalDeviceFeatures.Buffer |
malloc(int capacity)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated with memAlloc. |
static VkPhysicalDeviceFeatures |
mallocStack()
Returns a new
VkPhysicalDeviceFeatures instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFeatures.Buffer |
mallocStack(int capacity)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated on the thread-local MemoryStack. |
static VkPhysicalDeviceFeatures.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures.Buffer instance allocated on the specified MemoryStack. |
static VkPhysicalDeviceFeatures |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkPhysicalDeviceFeatures instance allocated on the specified MemoryStack. |
boolean |
multiDrawIndirect()
Returns the value of the
multiDrawIndirect field. |
VkPhysicalDeviceFeatures |
multiDrawIndirect(boolean value)
Sets the specified value to the
multiDrawIndirect field. |
boolean |
multiViewport()
Returns the value of the
multiViewport field. |
VkPhysicalDeviceFeatures |
multiViewport(boolean value)
Sets the specified value to the
multiViewport field. |
static int |
nalphaToOne(long struct)
Unsafe version of
alphaToOne(). |
static void |
nalphaToOne(long struct,
int value)
Unsafe version of
alphaToOne. |
static int |
ndepthBiasClamp(long struct)
Unsafe version of
depthBiasClamp(). |
static void |
ndepthBiasClamp(long struct,
int value)
Unsafe version of
depthBiasClamp. |
static int |
ndepthBounds(long struct)
Unsafe version of
depthBounds(). |
static void |
ndepthBounds(long struct,
int value)
Unsafe version of
depthBounds. |
static int |
ndepthClamp(long struct)
Unsafe version of
depthClamp(). |
static void |
ndepthClamp(long struct,
int value)
Unsafe version of
depthClamp. |
static int |
ndrawIndirectFirstInstance(long struct)
Unsafe version of
drawIndirectFirstInstance(). |
static void |
ndrawIndirectFirstInstance(long struct,
int value)
Unsafe version of
drawIndirectFirstInstance. |
static int |
ndualSrcBlend(long struct)
Unsafe version of
dualSrcBlend(). |
static void |
ndualSrcBlend(long struct,
int value)
Unsafe version of
dualSrcBlend. |
static int |
nfillModeNonSolid(long struct)
Unsafe version of
fillModeNonSolid(). |
static void |
nfillModeNonSolid(long struct,
int value)
Unsafe version of
fillModeNonSolid. |
static int |
nfragmentStoresAndAtomics(long struct)
Unsafe version of
fragmentStoresAndAtomics(). |
static void |
nfragmentStoresAndAtomics(long struct,
int value)
Unsafe version of
fragmentStoresAndAtomics. |
static int |
nfullDrawIndexUint32(long struct)
Unsafe version of
fullDrawIndexUint32(). |
static void |
nfullDrawIndexUint32(long struct,
int value)
Unsafe version of
fullDrawIndexUint32. |
static int |
ngeometryShader(long struct)
Unsafe version of
geometryShader(). |
static void |
ngeometryShader(long struct,
int value)
Unsafe version of
geometryShader. |
static int |
nimageCubeArray(long struct)
Unsafe version of
imageCubeArray(). |
static void |
nimageCubeArray(long struct,
int value)
Unsafe version of
imageCubeArray. |
static int |
nindependentBlend(long struct)
Unsafe version of
independentBlend(). |
static void |
nindependentBlend(long struct,
int value)
Unsafe version of
independentBlend. |
static int |
ninheritedQueries(long struct)
Unsafe version of
inheritedQueries(). |
static void |
ninheritedQueries(long struct,
int value)
Unsafe version of
inheritedQueries. |
static int |
nlargePoints(long struct)
Unsafe version of
largePoints(). |
static void |
nlargePoints(long struct,
int value)
Unsafe version of
largePoints. |
static int |
nlogicOp(long struct)
Unsafe version of
logicOp(). |
static void |
nlogicOp(long struct,
int value)
Unsafe version of
logicOp. |
static int |
nmultiDrawIndirect(long struct)
Unsafe version of
multiDrawIndirect(). |
static void |
nmultiDrawIndirect(long struct,
int value)
Unsafe version of
multiDrawIndirect. |
static int |
nmultiViewport(long struct)
Unsafe version of
multiViewport(). |
static void |
nmultiViewport(long struct,
int value)
Unsafe version of
multiViewport. |
static int |
nocclusionQueryPrecise(long struct)
Unsafe version of
occlusionQueryPrecise(). |
static void |
nocclusionQueryPrecise(long struct,
int value)
Unsafe version of
occlusionQueryPrecise. |
static int |
npipelineStatisticsQuery(long struct)
Unsafe version of
pipelineStatisticsQuery(). |
static void |
npipelineStatisticsQuery(long struct,
int value)
Unsafe version of
pipelineStatisticsQuery. |
static int |
nrobustBufferAccess(long struct)
Unsafe version of
robustBufferAccess(). |
static void |
nrobustBufferAccess(long struct,
int value)
Unsafe version of
robustBufferAccess. |
static int |
nsamplerAnisotropy(long struct)
Unsafe version of
samplerAnisotropy(). |
static void |
nsamplerAnisotropy(long struct,
int value)
Unsafe version of
samplerAnisotropy. |
static int |
nsampleRateShading(long struct)
Unsafe version of
sampleRateShading(). |
static void |
nsampleRateShading(long struct,
int value)
Unsafe version of
sampleRateShading. |
static int |
nshaderClipDistance(long struct)
Unsafe version of
shaderClipDistance(). |
static void |
nshaderClipDistance(long struct,
int value)
Unsafe version of
shaderClipDistance. |
static int |
nshaderCullDistance(long struct)
Unsafe version of
shaderCullDistance(). |
static void |
nshaderCullDistance(long struct,
int value)
Unsafe version of
shaderCullDistance. |
static int |
nshaderFloat64(long struct)
Unsafe version of
shaderFloat64(). |
static void |
nshaderFloat64(long struct,
int value)
Unsafe version of
shaderFloat64. |
static int |
nshaderImageGatherExtended(long struct)
Unsafe version of
shaderImageGatherExtended(). |
static void |
nshaderImageGatherExtended(long struct,
int value)
Unsafe version of
shaderImageGatherExtended. |
static int |
nshaderInt16(long struct)
Unsafe version of
shaderInt16(). |
static void |
nshaderInt16(long struct,
int value)
Unsafe version of
shaderInt16. |
static int |
nshaderInt64(long struct)
Unsafe version of
shaderInt64(). |
static void |
nshaderInt64(long struct,
int value)
Unsafe version of
shaderInt64. |
static int |
nshaderResourceMinLod(long struct)
Unsafe version of
shaderResourceMinLod(). |
static void |
nshaderResourceMinLod(long struct,
int value)
Unsafe version of
shaderResourceMinLod. |
static int |
nshaderResourceResidency(long struct)
Unsafe version of
shaderResourceResidency(). |
static void |
nshaderResourceResidency(long struct,
int value)
Unsafe version of
shaderResourceResidency. |
static int |
nshaderSampledImageArrayDynamicIndexing(long struct)
Unsafe version of
shaderSampledImageArrayDynamicIndexing(). |
static void |
nshaderSampledImageArrayDynamicIndexing(long struct,
int value)
Unsafe version of
shaderSampledImageArrayDynamicIndexing. |
static int |
nshaderStorageBufferArrayDynamicIndexing(long struct)
Unsafe version of
shaderStorageBufferArrayDynamicIndexing(). |
static void |
nshaderStorageBufferArrayDynamicIndexing(long struct,
int value)
Unsafe version of
shaderStorageBufferArrayDynamicIndexing. |
static int |
nshaderStorageImageArrayDynamicIndexing(long struct)
Unsafe version of
shaderStorageImageArrayDynamicIndexing(). |
static void |
nshaderStorageImageArrayDynamicIndexing(long struct,
int value)
Unsafe version of
shaderStorageImageArrayDynamicIndexing. |
static int |
nshaderStorageImageExtendedFormats(long struct)
Unsafe version of
shaderStorageImageExtendedFormats(). |
static void |
nshaderStorageImageExtendedFormats(long struct,
int value)
Unsafe version of
shaderStorageImageExtendedFormats. |
static int |
nshaderStorageImageMultisample(long struct)
Unsafe version of
shaderStorageImageMultisample(). |
static void |
nshaderStorageImageMultisample(long struct,
int value)
Unsafe version of
shaderStorageImageMultisample. |
static int |
nshaderStorageImageReadWithoutFormat(long struct)
Unsafe version of
shaderStorageImageReadWithoutFormat(). |
static void |
nshaderStorageImageReadWithoutFormat(long struct,
int value)
Unsafe version of
shaderStorageImageReadWithoutFormat. |
static int |
nshaderStorageImageWriteWithoutFormat(long struct)
Unsafe version of
shaderStorageImageWriteWithoutFormat(). |
static void |
nshaderStorageImageWriteWithoutFormat(long struct,
int value)
Unsafe version of
shaderStorageImageWriteWithoutFormat. |
static int |
nshaderTessellationAndGeometryPointSize(long struct)
Unsafe version of
shaderTessellationAndGeometryPointSize(). |
static void |
nshaderTessellationAndGeometryPointSize(long struct,
int value)
Unsafe version of
shaderTessellationAndGeometryPointSize. |
static int |
nshaderUniformBufferArrayDynamicIndexing(long struct)
Unsafe version of
shaderUniformBufferArrayDynamicIndexing(). |
static void |
nshaderUniformBufferArrayDynamicIndexing(long struct,
int value)
Unsafe version of
shaderUniformBufferArrayDynamicIndexing. |
static int |
nsparseBinding(long struct)
Unsafe version of
sparseBinding(). |
static void |
nsparseBinding(long struct,
int value)
Unsafe version of
sparseBinding. |
static int |
nsparseResidency16Samples(long struct)
Unsafe version of
sparseResidency16Samples(). |
static void |
nsparseResidency16Samples(long struct,
int value)
Unsafe version of
sparseResidency16Samples. |
static int |
nsparseResidency2Samples(long struct)
Unsafe version of
sparseResidency2Samples(). |
static void |
nsparseResidency2Samples(long struct,
int value)
Unsafe version of
sparseResidency2Samples. |
static int |
nsparseResidency4Samples(long struct)
Unsafe version of
sparseResidency4Samples(). |
static void |
nsparseResidency4Samples(long struct,
int value)
Unsafe version of
sparseResidency4Samples. |
static int |
nsparseResidency8Samples(long struct)
Unsafe version of
sparseResidency8Samples(). |
static void |
nsparseResidency8Samples(long struct,
int value)
Unsafe version of
sparseResidency8Samples. |
static int |
nsparseResidencyAliased(long struct)
Unsafe version of
sparseResidencyAliased(). |
static void |
nsparseResidencyAliased(long struct,
int value)
Unsafe version of
sparseResidencyAliased. |
static int |
nsparseResidencyBuffer(long struct)
Unsafe version of
sparseResidencyBuffer(). |
static void |
nsparseResidencyBuffer(long struct,
int value)
Unsafe version of
sparseResidencyBuffer. |
static int |
nsparseResidencyImage2D(long struct)
Unsafe version of
sparseResidencyImage2D(). |
static void |
nsparseResidencyImage2D(long struct,
int value)
Unsafe version of
sparseResidencyImage2D. |
static int |
nsparseResidencyImage3D(long struct)
Unsafe version of
sparseResidencyImage3D(). |
static void |
nsparseResidencyImage3D(long struct,
int value)
Unsafe version of
sparseResidencyImage3D. |
static int |
ntessellationShader(long struct)
Unsafe version of
tessellationShader(). |
static void |
ntessellationShader(long struct,
int value)
Unsafe version of
tessellationShader. |
static int |
ntextureCompressionASTC_LDR(long struct)
Unsafe version of
textureCompressionASTC_LDR(). |
static void |
ntextureCompressionASTC_LDR(long struct,
int value)
Unsafe version of
textureCompressionASTC_LDR. |
static int |
ntextureCompressionBC(long struct)
Unsafe version of
textureCompressionBC(). |
static void |
ntextureCompressionBC(long struct,
int value)
Unsafe version of
textureCompressionBC. |
static int |
ntextureCompressionETC2(long struct)
Unsafe version of
textureCompressionETC2(). |
static void |
ntextureCompressionETC2(long struct,
int value)
Unsafe version of
textureCompressionETC2. |
static int |
nvariableMultisampleRate(long struct)
Unsafe version of
variableMultisampleRate(). |
static void |
nvariableMultisampleRate(long struct,
int value)
Unsafe version of
variableMultisampleRate. |
static int |
nvertexPipelineStoresAndAtomics(long struct)
Unsafe version of
vertexPipelineStoresAndAtomics(). |
static void |
nvertexPipelineStoresAndAtomics(long struct,
int value)
Unsafe version of
vertexPipelineStoresAndAtomics. |
static int |
nwideLines(long struct)
Unsafe version of
wideLines(). |
static void |
nwideLines(long struct,
int value)
Unsafe version of
wideLines. |
boolean |
occlusionQueryPrecise()
Returns the value of the
occlusionQueryPrecise field. |
VkPhysicalDeviceFeatures |
occlusionQueryPrecise(boolean value)
Sets the specified value to the
occlusionQueryPrecise field. |
boolean |
pipelineStatisticsQuery()
Returns the value of the
pipelineStatisticsQuery field. |
VkPhysicalDeviceFeatures |
pipelineStatisticsQuery(boolean value)
Sets the specified value to the
pipelineStatisticsQuery field. |
boolean |
robustBufferAccess()
Returns the value of the
robustBufferAccess field. |
VkPhysicalDeviceFeatures |
robustBufferAccess(boolean value)
Sets the specified value to the
robustBufferAccess field. |
boolean |
samplerAnisotropy()
Returns the value of the
samplerAnisotropy field. |
VkPhysicalDeviceFeatures |
samplerAnisotropy(boolean value)
Sets the specified value to the
samplerAnisotropy field. |
boolean |
sampleRateShading()
Returns the value of the
sampleRateShading field. |
VkPhysicalDeviceFeatures |
sampleRateShading(boolean value)
Sets the specified value to the
sampleRateShading 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 the
shaderClipDistance field. |
VkPhysicalDeviceFeatures |
shaderClipDistance(boolean value)
Sets the specified value to the
shaderClipDistance field. |
boolean |
shaderCullDistance()
Returns the value of the
shaderCullDistance field. |
VkPhysicalDeviceFeatures |
shaderCullDistance(boolean value)
Sets the specified value to the
shaderCullDistance field. |
boolean |
shaderFloat64()
Returns the value of the
shaderFloat64 field. |
VkPhysicalDeviceFeatures |
shaderFloat64(boolean value)
Sets the specified value to the
shaderFloat64 field. |
boolean |
shaderImageGatherExtended()
Returns the value of the
shaderImageGatherExtended field. |
VkPhysicalDeviceFeatures |
shaderImageGatherExtended(boolean value)
Sets the specified value to the
shaderImageGatherExtended field. |
boolean |
shaderInt16()
Returns the value of the
shaderInt16 field. |
VkPhysicalDeviceFeatures |
shaderInt16(boolean value)
Sets the specified value to the
shaderInt16 field. |
boolean |
shaderInt64()
Returns the value of the
shaderInt64 field. |
VkPhysicalDeviceFeatures |
shaderInt64(boolean value)
Sets the specified value to the
shaderInt64 field. |
boolean |
shaderResourceMinLod()
Returns the value of the
shaderResourceMinLod field. |
VkPhysicalDeviceFeatures |
shaderResourceMinLod(boolean value)
Sets the specified value to the
shaderResourceMinLod field. |
boolean |
shaderResourceResidency()
Returns the value of the
shaderResourceResidency field. |
VkPhysicalDeviceFeatures |
shaderResourceResidency(boolean value)
Sets the specified value to the
shaderResourceResidency field. |
boolean |
shaderSampledImageArrayDynamicIndexing()
Returns the value of the
shaderSampledImageArrayDynamicIndexing field. |
VkPhysicalDeviceFeatures |
shaderSampledImageArrayDynamicIndexing(boolean value)
Sets the specified value to the
shaderSampledImageArrayDynamicIndexing field. |
boolean |
shaderStorageBufferArrayDynamicIndexing()
Returns the value of the
shaderStorageBufferArrayDynamicIndexing field. |
VkPhysicalDeviceFeatures |
shaderStorageBufferArrayDynamicIndexing(boolean value)
Sets the specified value to the
shaderStorageBufferArrayDynamicIndexing field. |
boolean |
shaderStorageImageArrayDynamicIndexing()
Returns the value of the
shaderStorageImageArrayDynamicIndexing field. |
VkPhysicalDeviceFeatures |
shaderStorageImageArrayDynamicIndexing(boolean value)
Sets the specified value to the
shaderStorageImageArrayDynamicIndexing field. |
boolean |
shaderStorageImageExtendedFormats()
Returns the value of the
shaderStorageImageExtendedFormats field. |
VkPhysicalDeviceFeatures |
shaderStorageImageExtendedFormats(boolean value)
Sets the specified value to the
shaderStorageImageExtendedFormats field. |
boolean |
shaderStorageImageMultisample()
Returns the value of the
shaderStorageImageMultisample field. |
VkPhysicalDeviceFeatures |
shaderStorageImageMultisample(boolean value)
Sets the specified value to the
shaderStorageImageMultisample field. |
boolean |
shaderStorageImageReadWithoutFormat()
Returns the value of the
shaderStorageImageReadWithoutFormat field. |
VkPhysicalDeviceFeatures |
shaderStorageImageReadWithoutFormat(boolean value)
Sets the specified value to the
shaderStorageImageReadWithoutFormat field. |
boolean |
shaderStorageImageWriteWithoutFormat()
Returns the value of the
shaderStorageImageWriteWithoutFormat field. |
VkPhysicalDeviceFeatures |
shaderStorageImageWriteWithoutFormat(boolean value)
Sets the specified value to the
shaderStorageImageWriteWithoutFormat field. |
boolean |
shaderTessellationAndGeometryPointSize()
Returns the value of the
shaderTessellationAndGeometryPointSize field. |
VkPhysicalDeviceFeatures |
shaderTessellationAndGeometryPointSize(boolean value)
Sets the specified value to the
shaderTessellationAndGeometryPointSize field. |
boolean |
shaderUniformBufferArrayDynamicIndexing()
Returns the value of the
shaderUniformBufferArrayDynamicIndexing field. |
VkPhysicalDeviceFeatures |
shaderUniformBufferArrayDynamicIndexing(boolean value)
Sets the specified value to the
shaderUniformBufferArrayDynamicIndexing field. |
int |
sizeof() |
boolean |
sparseBinding()
Returns the value of the
sparseBinding field. |
VkPhysicalDeviceFeatures |
sparseBinding(boolean value)
Sets the specified value to the
sparseBinding field. |
boolean |
sparseResidency16Samples()
Returns the value of the
sparseResidency16Samples field. |
VkPhysicalDeviceFeatures |
sparseResidency16Samples(boolean value)
Sets the specified value to the
sparseResidency16Samples field. |
boolean |
sparseResidency2Samples()
Returns the value of the
sparseResidency2Samples field. |
VkPhysicalDeviceFeatures |
sparseResidency2Samples(boolean value)
Sets the specified value to the
sparseResidency2Samples field. |
boolean |
sparseResidency4Samples()
Returns the value of the
sparseResidency4Samples field. |
VkPhysicalDeviceFeatures |
sparseResidency4Samples(boolean value)
Sets the specified value to the
sparseResidency4Samples field. |
boolean |
sparseResidency8Samples()
Returns the value of the
sparseResidency8Samples field. |
VkPhysicalDeviceFeatures |
sparseResidency8Samples(boolean value)
Sets the specified value to the
sparseResidency8Samples field. |
boolean |
sparseResidencyAliased()
Returns the value of the
sparseResidencyAliased field. |
VkPhysicalDeviceFeatures |
sparseResidencyAliased(boolean value)
Sets the specified value to the
sparseResidencyAliased field. |
boolean |
sparseResidencyBuffer()
Returns the value of the
sparseResidencyBuffer field. |
VkPhysicalDeviceFeatures |
sparseResidencyBuffer(boolean value)
Sets the specified value to the
sparseResidencyBuffer field. |
boolean |
sparseResidencyImage2D()
Returns the value of the
sparseResidencyImage2D field. |
VkPhysicalDeviceFeatures |
sparseResidencyImage2D(boolean value)
Sets the specified value to the
sparseResidencyImage2D field. |
boolean |
sparseResidencyImage3D()
Returns the value of the
sparseResidencyImage3D field. |
VkPhysicalDeviceFeatures |
sparseResidencyImage3D(boolean value)
Sets the specified value to the
sparseResidencyImage3D field. |
boolean |
tessellationShader()
Returns the value of the
tessellationShader field. |
VkPhysicalDeviceFeatures |
tessellationShader(boolean value)
Sets the specified value to the
tessellationShader field. |
boolean |
textureCompressionASTC_LDR()
Returns the value of the
textureCompressionASTC_LDR field. |
VkPhysicalDeviceFeatures |
textureCompressionASTC_LDR(boolean value)
Sets the specified value to the
textureCompressionASTC_LDR field. |
boolean |
textureCompressionBC()
Returns the value of the
textureCompressionBC field. |
VkPhysicalDeviceFeatures |
textureCompressionBC(boolean value)
Sets the specified value to the
textureCompressionBC field. |
boolean |
textureCompressionETC2()
Returns the value of the
textureCompressionETC2 field. |
VkPhysicalDeviceFeatures |
textureCompressionETC2(boolean value)
Sets the specified value to the
textureCompressionETC2 field. |
boolean |
variableMultisampleRate()
Returns the value of the
variableMultisampleRate field. |
VkPhysicalDeviceFeatures |
variableMultisampleRate(boolean value)
Sets the specified value to the
variableMultisampleRate field. |
boolean |
vertexPipelineStoresAndAtomics()
Returns the value of the
vertexPipelineStoresAndAtomics field. |
VkPhysicalDeviceFeatures |
vertexPipelineStoresAndAtomics(boolean value)
Sets the specified value to the
vertexPipelineStoresAndAtomics field. |
boolean |
wideLines()
Returns the value of the
wideLines field. |
VkPhysicalDeviceFeatures |
wideLines(boolean value)
Sets the specified value to the
wideLines field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int ROBUSTBUFFERACCESS
public static final int FULLDRAWINDEXUINT32
public static final int IMAGECUBEARRAY
public static final int INDEPENDENTBLEND
public static final int GEOMETRYSHADER
public static final int TESSELLATIONSHADER
public static final int SAMPLERATESHADING
public static final int DUALSRCBLEND
public static final int LOGICOP
public static final int MULTIDRAWINDIRECT
public static final int DRAWINDIRECTFIRSTINSTANCE
public static final int DEPTHCLAMP
public static final int DEPTHBIASCLAMP
public static final int FILLMODENONSOLID
public static final int DEPTHBOUNDS
public static final int WIDELINES
public static final int LARGEPOINTS
public static final int ALPHATOONE
public static final int MULTIVIEWPORT
public static final int SAMPLERANISOTROPY
public static final int TEXTURECOMPRESSIONETC2
public static final int TEXTURECOMPRESSIONASTC_LDR
public static final int TEXTURECOMPRESSIONBC
public static final int OCCLUSIONQUERYPRECISE
public static final int PIPELINESTATISTICSQUERY
public static final int VERTEXPIPELINESTORESANDATOMICS
public static final int FRAGMENTSTORESANDATOMICS
public static final int SHADERTESSELLATIONANDGEOMETRYPOINTSIZE
public static final int SHADERIMAGEGATHEREXTENDED
public static final int SHADERSTORAGEIMAGEEXTENDEDFORMATS
public static final int SHADERSTORAGEIMAGEMULTISAMPLE
public static final int SHADERSTORAGEIMAGEREADWITHOUTFORMAT
public static final int SHADERSTORAGEIMAGEWRITEWITHOUTFORMAT
public static final int SHADERUNIFORMBUFFERARRAYDYNAMICINDEXING
public static final int SHADERSAMPLEDIMAGEARRAYDYNAMICINDEXING
public static final int SHADERSTORAGEBUFFERARRAYDYNAMICINDEXING
public static final int SHADERSTORAGEIMAGEARRAYDYNAMICINDEXING
public static final int SHADERCLIPDISTANCE
public static final int SHADERCULLDISTANCE
public static final int SHADERFLOAT64
public static final int SHADERINT64
public static final int SHADERINT16
public static final int SHADERRESOURCERESIDENCY
public static final int SHADERRESOURCEMINLOD
public static final int SPARSEBINDING
public static final int SPARSERESIDENCYBUFFER
public static final int SPARSERESIDENCYIMAGE2D
public static final int SPARSERESIDENCYIMAGE3D
public static final int SPARSERESIDENCY2SAMPLES
public static final int SPARSERESIDENCY4SAMPLES
public static final int SPARSERESIDENCY8SAMPLES
public static final int SPARSERESIDENCY16SAMPLES
public static final int SPARSERESIDENCYALIASED
public static final int VARIABLEMULTISAMPLERATE
public static final int INHERITEDQUERIES
public VkPhysicalDeviceFeatures(java.nio.ByteBuffer container)
VkPhysicalDeviceFeatures instance at the current position of the specified ByteBuffer 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic boolean robustBufferAccess()
robustBufferAccess field.public boolean fullDrawIndexUint32()
fullDrawIndexUint32 field.public boolean imageCubeArray()
imageCubeArray field.public boolean independentBlend()
independentBlend field.public boolean geometryShader()
geometryShader field.public boolean tessellationShader()
tessellationShader field.public boolean sampleRateShading()
sampleRateShading field.public boolean dualSrcBlend()
dualSrcBlend field.public boolean logicOp()
logicOp field.public boolean multiDrawIndirect()
multiDrawIndirect field.public boolean drawIndirectFirstInstance()
drawIndirectFirstInstance field.public boolean depthClamp()
depthClamp field.public boolean depthBiasClamp()
depthBiasClamp field.public boolean fillModeNonSolid()
fillModeNonSolid field.public boolean depthBounds()
depthBounds field.public boolean wideLines()
wideLines field.public boolean largePoints()
largePoints field.public boolean alphaToOne()
alphaToOne field.public boolean multiViewport()
multiViewport field.public boolean samplerAnisotropy()
samplerAnisotropy field.public boolean textureCompressionETC2()
textureCompressionETC2 field.public boolean textureCompressionASTC_LDR()
textureCompressionASTC_LDR field.public boolean textureCompressionBC()
textureCompressionBC field.public boolean occlusionQueryPrecise()
occlusionQueryPrecise field.public boolean pipelineStatisticsQuery()
pipelineStatisticsQuery field.public boolean vertexPipelineStoresAndAtomics()
vertexPipelineStoresAndAtomics field.public boolean fragmentStoresAndAtomics()
fragmentStoresAndAtomics field.public boolean shaderTessellationAndGeometryPointSize()
shaderTessellationAndGeometryPointSize field.public boolean shaderImageGatherExtended()
shaderImageGatherExtended field.public boolean shaderStorageImageExtendedFormats()
shaderStorageImageExtendedFormats field.public boolean shaderStorageImageMultisample()
shaderStorageImageMultisample field.public boolean shaderStorageImageReadWithoutFormat()
shaderStorageImageReadWithoutFormat field.public boolean shaderStorageImageWriteWithoutFormat()
shaderStorageImageWriteWithoutFormat field.public boolean shaderUniformBufferArrayDynamicIndexing()
shaderUniformBufferArrayDynamicIndexing field.public boolean shaderSampledImageArrayDynamicIndexing()
shaderSampledImageArrayDynamicIndexing field.public boolean shaderStorageBufferArrayDynamicIndexing()
shaderStorageBufferArrayDynamicIndexing field.public boolean shaderStorageImageArrayDynamicIndexing()
shaderStorageImageArrayDynamicIndexing field.public boolean shaderClipDistance()
shaderClipDistance field.public boolean shaderCullDistance()
shaderCullDistance field.public boolean shaderFloat64()
shaderFloat64 field.public boolean shaderInt64()
shaderInt64 field.public boolean shaderInt16()
shaderInt16 field.public boolean shaderResourceResidency()
shaderResourceResidency field.public boolean shaderResourceMinLod()
shaderResourceMinLod field.public boolean sparseBinding()
sparseBinding field.public boolean sparseResidencyBuffer()
sparseResidencyBuffer field.public boolean sparseResidencyImage2D()
sparseResidencyImage2D field.public boolean sparseResidencyImage3D()
sparseResidencyImage3D field.public boolean sparseResidency2Samples()
sparseResidency2Samples field.public boolean sparseResidency4Samples()
sparseResidency4Samples field.public boolean sparseResidency8Samples()
sparseResidency8Samples field.public boolean sparseResidency16Samples()
sparseResidency16Samples field.public boolean sparseResidencyAliased()
sparseResidencyAliased field.public boolean variableMultisampleRate()
variableMultisampleRate field.public boolean inheritedQueries()
inheritedQueries field.public VkPhysicalDeviceFeatures robustBufferAccess(boolean value)
robustBufferAccess field.public VkPhysicalDeviceFeatures fullDrawIndexUint32(boolean value)
fullDrawIndexUint32 field.public VkPhysicalDeviceFeatures imageCubeArray(boolean value)
imageCubeArray field.public VkPhysicalDeviceFeatures independentBlend(boolean value)
independentBlend field.public VkPhysicalDeviceFeatures geometryShader(boolean value)
geometryShader field.public VkPhysicalDeviceFeatures tessellationShader(boolean value)
tessellationShader field.public VkPhysicalDeviceFeatures sampleRateShading(boolean value)
sampleRateShading field.public VkPhysicalDeviceFeatures dualSrcBlend(boolean value)
dualSrcBlend field.public VkPhysicalDeviceFeatures logicOp(boolean value)
logicOp field.public VkPhysicalDeviceFeatures multiDrawIndirect(boolean value)
multiDrawIndirect field.public VkPhysicalDeviceFeatures drawIndirectFirstInstance(boolean value)
drawIndirectFirstInstance field.public VkPhysicalDeviceFeatures depthClamp(boolean value)
depthClamp field.public VkPhysicalDeviceFeatures depthBiasClamp(boolean value)
depthBiasClamp field.public VkPhysicalDeviceFeatures fillModeNonSolid(boolean value)
fillModeNonSolid field.public VkPhysicalDeviceFeatures depthBounds(boolean value)
depthBounds field.public VkPhysicalDeviceFeatures wideLines(boolean value)
wideLines field.public VkPhysicalDeviceFeatures largePoints(boolean value)
largePoints field.public VkPhysicalDeviceFeatures alphaToOne(boolean value)
alphaToOne field.public VkPhysicalDeviceFeatures multiViewport(boolean value)
multiViewport field.public VkPhysicalDeviceFeatures samplerAnisotropy(boolean value)
samplerAnisotropy field.public VkPhysicalDeviceFeatures textureCompressionETC2(boolean value)
textureCompressionETC2 field.public VkPhysicalDeviceFeatures textureCompressionASTC_LDR(boolean value)
textureCompressionASTC_LDR field.public VkPhysicalDeviceFeatures textureCompressionBC(boolean value)
textureCompressionBC field.public VkPhysicalDeviceFeatures occlusionQueryPrecise(boolean value)
occlusionQueryPrecise field.public VkPhysicalDeviceFeatures pipelineStatisticsQuery(boolean value)
pipelineStatisticsQuery field.public VkPhysicalDeviceFeatures vertexPipelineStoresAndAtomics(boolean value)
vertexPipelineStoresAndAtomics field.public VkPhysicalDeviceFeatures fragmentStoresAndAtomics(boolean value)
fragmentStoresAndAtomics field.public VkPhysicalDeviceFeatures shaderTessellationAndGeometryPointSize(boolean value)
shaderTessellationAndGeometryPointSize field.public VkPhysicalDeviceFeatures shaderImageGatherExtended(boolean value)
shaderImageGatherExtended field.public VkPhysicalDeviceFeatures shaderStorageImageExtendedFormats(boolean value)
shaderStorageImageExtendedFormats field.public VkPhysicalDeviceFeatures shaderStorageImageMultisample(boolean value)
shaderStorageImageMultisample field.public VkPhysicalDeviceFeatures shaderStorageImageReadWithoutFormat(boolean value)
shaderStorageImageReadWithoutFormat field.public VkPhysicalDeviceFeatures shaderStorageImageWriteWithoutFormat(boolean value)
shaderStorageImageWriteWithoutFormat field.public VkPhysicalDeviceFeatures shaderUniformBufferArrayDynamicIndexing(boolean value)
shaderUniformBufferArrayDynamicIndexing field.public VkPhysicalDeviceFeatures shaderSampledImageArrayDynamicIndexing(boolean value)
shaderSampledImageArrayDynamicIndexing field.public VkPhysicalDeviceFeatures shaderStorageBufferArrayDynamicIndexing(boolean value)
shaderStorageBufferArrayDynamicIndexing field.public VkPhysicalDeviceFeatures shaderStorageImageArrayDynamicIndexing(boolean value)
shaderStorageImageArrayDynamicIndexing field.public VkPhysicalDeviceFeatures shaderClipDistance(boolean value)
shaderClipDistance field.public VkPhysicalDeviceFeatures shaderCullDistance(boolean value)
shaderCullDistance field.public VkPhysicalDeviceFeatures shaderFloat64(boolean value)
shaderFloat64 field.public VkPhysicalDeviceFeatures shaderInt64(boolean value)
shaderInt64 field.public VkPhysicalDeviceFeatures shaderInt16(boolean value)
shaderInt16 field.public VkPhysicalDeviceFeatures shaderResourceResidency(boolean value)
shaderResourceResidency field.public VkPhysicalDeviceFeatures shaderResourceMinLod(boolean value)
shaderResourceMinLod field.public VkPhysicalDeviceFeatures sparseBinding(boolean value)
sparseBinding field.public VkPhysicalDeviceFeatures sparseResidencyBuffer(boolean value)
sparseResidencyBuffer field.public VkPhysicalDeviceFeatures sparseResidencyImage2D(boolean value)
sparseResidencyImage2D field.public VkPhysicalDeviceFeatures sparseResidencyImage3D(boolean value)
sparseResidencyImage3D field.public VkPhysicalDeviceFeatures sparseResidency2Samples(boolean value)
sparseResidency2Samples field.public VkPhysicalDeviceFeatures sparseResidency4Samples(boolean value)
sparseResidency4Samples field.public VkPhysicalDeviceFeatures sparseResidency8Samples(boolean value)
sparseResidency8Samples field.public VkPhysicalDeviceFeatures sparseResidency16Samples(boolean value)
sparseResidency16Samples field.public VkPhysicalDeviceFeatures sparseResidencyAliased(boolean value)
sparseResidencyAliased field.public VkPhysicalDeviceFeatures variableMultisampleRate(boolean value)
variableMultisampleRate field.public VkPhysicalDeviceFeatures inheritedQueries(boolean value)
inheritedQueries field.public VkPhysicalDeviceFeatures set(boolean robustBufferAccess, boolean fullDrawIndexUint32, boolean imageCubeArray, boolean independentBlend, boolean geometryShader, boolean tessellationShader, boolean sampleRateShading, boolean dualSrcBlend, boolean logicOp, boolean multiDrawIndirect, boolean drawIndirectFirstInstance, boolean depthClamp, boolean depthBiasClamp, boolean fillModeNonSolid, boolean depthBounds, boolean wideLines, boolean largePoints, boolean alphaToOne, boolean multiViewport, boolean samplerAnisotropy, boolean textureCompressionETC2, boolean textureCompressionASTC_LDR, boolean textureCompressionBC, boolean occlusionQueryPrecise, boolean pipelineStatisticsQuery, boolean vertexPipelineStoresAndAtomics, boolean fragmentStoresAndAtomics, boolean shaderTessellationAndGeometryPointSize, boolean shaderImageGatherExtended, boolean shaderStorageImageExtendedFormats, boolean shaderStorageImageMultisample, boolean shaderStorageImageReadWithoutFormat, boolean shaderStorageImageWriteWithoutFormat, boolean shaderUniformBufferArrayDynamicIndexing, boolean shaderSampledImageArrayDynamicIndexing, boolean shaderStorageBufferArrayDynamicIndexing, boolean shaderStorageImageArrayDynamicIndexing, boolean shaderClipDistance, boolean shaderCullDistance, boolean shaderFloat64, boolean shaderInt64, boolean shaderInt16, boolean shaderResourceResidency, boolean shaderResourceMinLod, boolean sparseBinding, boolean sparseResidencyBuffer, boolean sparseResidencyImage2D, boolean sparseResidencyImage3D, boolean sparseResidency2Samples, boolean sparseResidency4Samples, boolean sparseResidency8Samples, boolean sparseResidency16Samples, boolean sparseResidencyAliased, boolean variableMultisampleRate, boolean inheritedQueries)
public VkPhysicalDeviceFeatures set(VkPhysicalDeviceFeatures src)
src - the source structpublic static VkPhysicalDeviceFeatures malloc()
VkPhysicalDeviceFeatures instance allocated with memAlloc. The instance must be explicitly freed.public static VkPhysicalDeviceFeatures calloc()
VkPhysicalDeviceFeatures instance allocated with memCalloc. The instance must be explicitly freed.public static VkPhysicalDeviceFeatures create()
VkPhysicalDeviceFeatures instance allocated with BufferUtils.public static VkPhysicalDeviceFeatures create(long address)
VkPhysicalDeviceFeatures instance for the specified memory address.@Nullable public static VkPhysicalDeviceFeatures createSafe(long address)
public static VkPhysicalDeviceFeatures.Buffer malloc(int capacity)
VkPhysicalDeviceFeatures.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer calloc(int capacity)
VkPhysicalDeviceFeatures.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer create(int capacity)
VkPhysicalDeviceFeatures.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer create(long address, int capacity)
VkPhysicalDeviceFeatures.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkPhysicalDeviceFeatures.Buffer createSafe(long address, int capacity)
public static VkPhysicalDeviceFeatures mallocStack()
VkPhysicalDeviceFeatures instance allocated on the thread-local MemoryStack.public static VkPhysicalDeviceFeatures callocStack()
VkPhysicalDeviceFeatures instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkPhysicalDeviceFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkPhysicalDeviceFeatures callocStack(org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkPhysicalDeviceFeatures.Buffer mallocStack(int capacity)
VkPhysicalDeviceFeatures.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer callocStack(int capacity)
VkPhysicalDeviceFeatures.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkPhysicalDeviceFeatures.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkPhysicalDeviceFeatures.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nrobustBufferAccess(long struct)
robustBufferAccess().public static int nfullDrawIndexUint32(long struct)
fullDrawIndexUint32().public static int nimageCubeArray(long struct)
imageCubeArray().public static int nindependentBlend(long struct)
independentBlend().public static int ngeometryShader(long struct)
geometryShader().public static int ntessellationShader(long struct)
tessellationShader().public static int nsampleRateShading(long struct)
sampleRateShading().public static int ndualSrcBlend(long struct)
dualSrcBlend().public static int nlogicOp(long struct)
logicOp().public static int nmultiDrawIndirect(long struct)
multiDrawIndirect().public static int ndrawIndirectFirstInstance(long struct)
drawIndirectFirstInstance().public static int ndepthClamp(long struct)
depthClamp().public static int ndepthBiasClamp(long struct)
depthBiasClamp().public static int nfillModeNonSolid(long struct)
fillModeNonSolid().public static int ndepthBounds(long struct)
depthBounds().public static int nwideLines(long struct)
wideLines().public static int nlargePoints(long struct)
largePoints().public static int nalphaToOne(long struct)
alphaToOne().public static int nmultiViewport(long struct)
multiViewport().public static int nsamplerAnisotropy(long struct)
samplerAnisotropy().public static int ntextureCompressionETC2(long struct)
textureCompressionETC2().public static int ntextureCompressionASTC_LDR(long struct)
textureCompressionASTC_LDR().public static int ntextureCompressionBC(long struct)
textureCompressionBC().public static int nocclusionQueryPrecise(long struct)
occlusionQueryPrecise().public static int npipelineStatisticsQuery(long struct)
pipelineStatisticsQuery().public static int nvertexPipelineStoresAndAtomics(long struct)
vertexPipelineStoresAndAtomics().public static int nfragmentStoresAndAtomics(long struct)
fragmentStoresAndAtomics().public static int nshaderTessellationAndGeometryPointSize(long struct)
shaderTessellationAndGeometryPointSize().public static int nshaderImageGatherExtended(long struct)
shaderImageGatherExtended().public static int nshaderStorageImageExtendedFormats(long struct)
shaderStorageImageExtendedFormats().public static int nshaderStorageImageMultisample(long struct)
shaderStorageImageMultisample().public static int nshaderStorageImageReadWithoutFormat(long struct)
shaderStorageImageReadWithoutFormat().public static int nshaderStorageImageWriteWithoutFormat(long struct)
shaderStorageImageWriteWithoutFormat().public static int nshaderUniformBufferArrayDynamicIndexing(long struct)
shaderUniformBufferArrayDynamicIndexing().public static int nshaderSampledImageArrayDynamicIndexing(long struct)
shaderSampledImageArrayDynamicIndexing().public static int nshaderStorageBufferArrayDynamicIndexing(long struct)
shaderStorageBufferArrayDynamicIndexing().public static int nshaderStorageImageArrayDynamicIndexing(long struct)
shaderStorageImageArrayDynamicIndexing().public static int nshaderClipDistance(long struct)
shaderClipDistance().public static int nshaderCullDistance(long struct)
shaderCullDistance().public static int nshaderFloat64(long struct)
shaderFloat64().public static int nshaderInt64(long struct)
shaderInt64().public static int nshaderInt16(long struct)
shaderInt16().public static int nshaderResourceResidency(long struct)
shaderResourceResidency().public static int nshaderResourceMinLod(long struct)
shaderResourceMinLod().public static int nsparseBinding(long struct)
sparseBinding().public static int nsparseResidencyBuffer(long struct)
sparseResidencyBuffer().public static int nsparseResidencyImage2D(long struct)
sparseResidencyImage2D().public static int nsparseResidencyImage3D(long struct)
sparseResidencyImage3D().public static int nsparseResidency2Samples(long struct)
sparseResidency2Samples().public static int nsparseResidency4Samples(long struct)
sparseResidency4Samples().public static int nsparseResidency8Samples(long struct)
sparseResidency8Samples().public static int nsparseResidency16Samples(long struct)
sparseResidency16Samples().public static int nsparseResidencyAliased(long struct)
sparseResidencyAliased().public static int nvariableMultisampleRate(long struct)
variableMultisampleRate().public static int ninheritedQueries(long struct)
inheritedQueries().public static void nrobustBufferAccess(long struct,
int value)
robustBufferAccess.public static void nfullDrawIndexUint32(long struct,
int value)
fullDrawIndexUint32.public static void nimageCubeArray(long struct,
int value)
imageCubeArray.public static void nindependentBlend(long struct,
int value)
independentBlend.public static void ngeometryShader(long struct,
int value)
geometryShader.public static void ntessellationShader(long struct,
int value)
tessellationShader.public static void nsampleRateShading(long struct,
int value)
sampleRateShading.public static void ndualSrcBlend(long struct,
int value)
dualSrcBlend.public static void nlogicOp(long struct,
int value)
logicOp.public static void nmultiDrawIndirect(long struct,
int value)
multiDrawIndirect.public static void ndrawIndirectFirstInstance(long struct,
int value)
drawIndirectFirstInstance.public static void ndepthClamp(long struct,
int value)
depthClamp.public static void ndepthBiasClamp(long struct,
int value)
depthBiasClamp.public static void nfillModeNonSolid(long struct,
int value)
fillModeNonSolid.public static void ndepthBounds(long struct,
int value)
depthBounds.public static void nwideLines(long struct,
int value)
wideLines.public static void nlargePoints(long struct,
int value)
largePoints.public static void nalphaToOne(long struct,
int value)
alphaToOne.public static void nmultiViewport(long struct,
int value)
multiViewport.public static void nsamplerAnisotropy(long struct,
int value)
samplerAnisotropy.public static void ntextureCompressionETC2(long struct,
int value)
textureCompressionETC2.public static void ntextureCompressionASTC_LDR(long struct,
int value)
textureCompressionASTC_LDR.public static void ntextureCompressionBC(long struct,
int value)
textureCompressionBC.public static void nocclusionQueryPrecise(long struct,
int value)
occlusionQueryPrecise.public static void npipelineStatisticsQuery(long struct,
int value)
pipelineStatisticsQuery.public static void nvertexPipelineStoresAndAtomics(long struct,
int value)
vertexPipelineStoresAndAtomics.public static void nfragmentStoresAndAtomics(long struct,
int value)
fragmentStoresAndAtomics.public static void nshaderTessellationAndGeometryPointSize(long struct,
int value)
shaderTessellationAndGeometryPointSize.public static void nshaderImageGatherExtended(long struct,
int value)
shaderImageGatherExtended.public static void nshaderStorageImageExtendedFormats(long struct,
int value)
shaderStorageImageExtendedFormats.public static void nshaderStorageImageMultisample(long struct,
int value)
shaderStorageImageMultisample.public static void nshaderStorageImageReadWithoutFormat(long struct,
int value)
shaderStorageImageReadWithoutFormat.public static void nshaderStorageImageWriteWithoutFormat(long struct,
int value)
shaderStorageImageWriteWithoutFormat.public static void nshaderUniformBufferArrayDynamicIndexing(long struct,
int value)
shaderUniformBufferArrayDynamicIndexing.public static void nshaderSampledImageArrayDynamicIndexing(long struct,
int value)
shaderSampledImageArrayDynamicIndexing.public static void nshaderStorageBufferArrayDynamicIndexing(long struct,
int value)
shaderStorageBufferArrayDynamicIndexing.public static void nshaderStorageImageArrayDynamicIndexing(long struct,
int value)
shaderStorageImageArrayDynamicIndexing.public static void nshaderClipDistance(long struct,
int value)
shaderClipDistance.public static void nshaderCullDistance(long struct,
int value)
shaderCullDistance.public static void nshaderFloat64(long struct,
int value)
shaderFloat64.public static void nshaderInt64(long struct,
int value)
shaderInt64.public static void nshaderInt16(long struct,
int value)
shaderInt16.public static void nshaderResourceResidency(long struct,
int value)
shaderResourceResidency.public static void nshaderResourceMinLod(long struct,
int value)
shaderResourceMinLod.public static void nsparseBinding(long struct,
int value)
sparseBinding.public static void nsparseResidencyBuffer(long struct,
int value)
sparseResidencyBuffer.public static void nsparseResidencyImage2D(long struct,
int value)
sparseResidencyImage2D.public static void nsparseResidencyImage3D(long struct,
int value)
sparseResidencyImage3D.public static void nsparseResidency2Samples(long struct,
int value)
sparseResidency2Samples.public static void nsparseResidency4Samples(long struct,
int value)
sparseResidency4Samples.public static void nsparseResidency8Samples(long struct,
int value)
sparseResidency8Samples.public static void nsparseResidency16Samples(long struct,
int value)
sparseResidency16Samples.public static void nsparseResidencyAliased(long struct,
int value)
sparseResidencyAliased.public static void nvariableMultisampleRate(long struct,
int value)
variableMultisampleRate.public static void ninheritedQueries(long struct,
int value)
inheritedQueries.Copyright LWJGL. All Rights Reserved. License terms.