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.NativeResourceStructure 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
OpImageTexelPointerand 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
OpImageTexelPointerand 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 toOpConstantNullare 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 thecooperativeMatrixRobustBufferAccessfeature is not enabled, then accesses usingOpCooperativeMatrixLoadNVandOpCooperativeMatrixStoreNVmay not be bounds-checked.Note
If a SPIR-V
OpLoadinstruction 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
vertexBufferRangeSizeis the byte size of the memory range bound to the vertex buffer binding andbindingStrideis 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
robustBufferAccessis 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 aVkIndexTypeofINDEX_TYPE_UINT32.maxDrawIndexedIndexValueis the maximum index value that may be used (aside from the primitive restart index, which is always 232-1 when theVkIndexTypeisINDEX_TYPE_UINT32). If this feature is supported,maxDrawIndexedIndexValuemust be 232-1; otherwise it must be no smaller than 224-1. See maxDrawIndexedIndexValue.imageCubeArray– specifies whether image views with aVkImageViewTypeofIMAGE_VIEW_TYPE_CUBE_ARRAYcan be created, and that the correspondingSampledCubeArrayandImageCubeArraySPIR-V capabilities can be used in shader code.independentBlend– specifies whether theVkPipelineColorBlendAttachmentStatesettings are controlled independently per-attachment. If this feature is not enabled, theVkPipelineColorBlendAttachmentStatesettings for all color attachments must be identical. Otherwise, a differentVkPipelineColorBlendAttachmentStatecan be provided for each bound color attachment.geometryShader– specifies whether geometry shaders are supported. If this feature is not enabled, theSHADER_STAGE_GEOMETRY_BITandPIPELINE_STAGE_GEOMETRY_SHADER_BITenum values must not be used. This also specifies whether shader modules can declare theGeometrycapability.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_INFOenum values must not be used. This also specifies whether shader modules can declare theTessellationcapability.sampleRateShading– specifies whether Sample Shading and multisample interpolation are supported. If this feature is not enabled, thesampleShadingEnablemember of theVkPipelineMultisampleStateCreateInfostructure must be set toFALSEand theminSampleShadingmember is ignored. This also specifies whether shader modules can declare theSampleRateShadingcapability.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_ALPHAenum 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, thelogicOpEnablemember of theVkPipelineColorBlendStateCreateInfostructure must be set toFALSE, and thelogicOpmember is ignored.multiDrawIndirect– specifies whether multiple draw indirect is supported. If this feature is not enabled, thedrawCountparameter to thevkCmdDrawIndirectandvkCmdDrawIndexedIndirectcommands must be 0 or 1. ThemaxDrawIndirectCountmember of theVkPhysicalDeviceLimitsstructure must also be 1 if this feature is not supported. See maxDrawIndirectCount.drawIndirectFirstInstance– specifies whether indirect draw calls support thefirstInstanceparameter. If this feature is not enabled, thefirstInstancemember of allVkDrawIndirectCommandandVkDrawIndexedIndirectCommandstructures that are provided to thevkCmdDrawIndirectandvkCmdDrawIndexedIndirectcommands must be 0.depthClamp– specifies whether depth clamping is supported. If this feature is not enabled, thedepthClampEnablemember of theVkPipelineRasterizationStateCreateInfostructure must be set toFALSE. Otherwise, settingdepthClampEnabletoTRUEwill enable depth clamping.depthBiasClamp– specifies whether depth bias clamping is supported. If this feature is not enabled, thedepthBiasClampmember of theVkPipelineRasterizationStateCreateInfostructure must be set to 0.0 unless theDYNAMIC_STATE_DEPTH_BIASdynamic state is enabled, and thedepthBiasClampparameter tovkCmdSetDepthBiasmust be set to 0.0.fillModeNonSolid– specifies whether point and wireframe fill modes are supported. If this feature is not enabled, thePOLYGON_MODE_POINTandPOLYGON_MODE_LINEenum values must not be used.depthBounds– specifies whether depth bounds tests are supported. If this feature is not enabled, thedepthBoundsTestEnablemember of theVkPipelineDepthStencilStateCreateInfostructure must be set toFALSE. WhendepthBoundsTestEnableis set toFALSE, theminDepthBoundsandmaxDepthBoundsmembers of theVkPipelineDepthStencilStateCreateInfostructure are ignored.wideLines– specifies whether lines with width other than 1.0 are supported. If this feature is not enabled, thelineWidthmember of theVkPipelineRasterizationStateCreateInfostructure must be set to 1.0 unless theDYNAMIC_STATE_LINE_WIDTHdynamic state is enabled, and thelineWidthparameter tovkCmdSetLineWidthmust be set to 1.0. When this feature is supported, the range and granularity of supported line widths are indicated by thelineWidthRangeandlineWidthGranularitymembers of theVkPhysicalDeviceLimitsstructure, 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 thepointSizeRangeandpointSizeGranularitymembers of theVkPhysicalDeviceLimitsstructure, 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 thealphaToOneEnablemember of theVkPipelineMultisampleStateCreateInfostructure must be set toFALSE. Otherwise settingalphaToOneEnabletoTRUEwill enable alpha-to-one behavior.multiViewport– specifies whether more than one viewport is supported. If this feature is not enabled:- The
viewportCountandscissorCountmembers of theVkPipelineViewportStateCreateInfostructure must be set to 1. - The
firstViewportandviewportCountparameters to thevkCmdSetViewportcommand must be set to 0 and 1, respectively. - The
firstScissorandscissorCountparameters to thevkCmdSetScissorcommand must be set to 0 and 1, respectively. - The
exclusiveScissorCountmember of theVkPipelineViewportExclusiveScissorStateCreateInfoNVstructure must be set to 0 or 1. - The
firstExclusiveScissorandexclusiveScissorCountparameters to thevkCmdSetExclusiveScissorNVcommand must be set to 0 and 1, respectively.
- The
samplerAnisotropy– specifies whether anisotropic filtering is supported. If this feature is not enabled, theanisotropyEnablemember of theVkSamplerCreateInfostructure 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_BITandFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BITfeatures must be supported inoptimalTilingFeaturesfor 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_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatPropertiesandGetPhysicalDeviceImageFormatPropertiescan 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_BITandFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BITfeatures must be supported inoptimalTilingFeaturesfor 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_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatPropertiesandGetPhysicalDeviceImageFormatPropertiescan 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_BITandFORMAT_FEATURE_SAMPLED_IMAGE_FILTER_LINEAR_BITfeatures must be supported inoptimalTilingFeaturesfor 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_BLOCK
To query for additional properties, or if the feature is not enabled,
GetPhysicalDeviceFormatPropertiesandGetPhysicalDeviceImageFormatPropertiescan 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 aVkQueryPoolby specifying thequeryTypeofQUERY_TYPE_OCCLUSIONin theVkQueryPoolCreateInfostructure which is passed tovkCreateQueryPool. If this feature is enabled, queries of this type can enableQUERY_CONTROL_PRECISE_BITin theflagsparameter 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_BITis 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_STATISTICScannot be created, and none of theVkQueryPipelineStatisticFlagBitsbits can be set in thepipelineStatisticsmember of theVkQueryPoolCreateInfostructure.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 theNonWritabledecoration (or thereadonlymemory 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 theNonWritabledecoration (or thereadonlymemory qualifier in GLSL).shaderTessellationAndGeometryPointSize– specifies whether thePointSizebuilt-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stages. If this feature is not enabled, members decorated with thePointSizebuilt-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 theTessellationPointSizecapability for tessellation control and evaluation shaders, or if the shader modules can declare theGeometryPointSizecapability for geometry shaders. An implementation supporting this feature must also support one or both of thetessellationShaderorgeometryShaderfeatures.shaderImageGatherExtended– specifies whether the extended set of image gather instructions are available in shader code. If this feature is not enabled, theOpImage*Gatherinstructions do not support theOffsetandConstOffsetsoperands. This also specifies whether shader modules can declare theImageGatherExtendedcapability.shaderStorageImageExtendedFormats– specifies whether all the extended storage image formats are available in shader code. If this feature is enabled then theFORMAT_FEATURE_STORAGE_IMAGE_BITfeature must be supported inoptimalTilingFeaturesfor all of the extended formats. To query for additional properties, or if the feature is not enabled,GetPhysicalDeviceFormatPropertiesandGetPhysicalDeviceImageFormatPropertiescan 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 ausagethat includesIMAGE_USAGE_STORAGE_BITmust be created withsamplesequal toSAMPLE_COUNT_1_BIT. This also specifies whether shader modules can declare theStorageImageMultisamplecapability.shaderStorageImageReadWithoutFormat– specifies whether storage images require a format qualifier to be specified when reading from storage images. If this feature is not enabled, theOpImageReadinstruction must not have anOpTypeImageofUnknown. This also specifies whether shader modules can declare theStorageImageReadWithoutFormatcapability.shaderStorageImageWriteWithoutFormat– specifies whether storage images require a format qualifier to be specified when writing to storage images. If this feature is not enabled, theOpImageWriteinstruction must not have anOpTypeImageofUnknown. This also specifies whether shader modules can declare theStorageImageWriteWithoutFormatcapability.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_BUFFERorDESCRIPTOR_TYPE_UNIFORM_BUFFER_DYNAMICmust be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theUniformBufferArrayDynamicIndexingcapability.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_IMAGEmust be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theSampledImageArrayDynamicIndexingcapability.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_BUFFERorDESCRIPTOR_TYPE_STORAGE_BUFFER_DYNAMICmust be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theStorageBufferArrayDynamicIndexingcapability.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_IMAGEmust be indexed only by constant integral expressions when aggregated into arrays in shader code. This also specifies whether shader modules can declare theStorageImageArrayDynamicIndexingcapability.shaderClipDistance– specifies whether clip distances are supported in shader code. If this feature is not enabled, any members decorated with theClipDistancebuilt-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare theClipDistancecapability.shaderCullDistance– specifies whether cull distances are supported in shader code. If this feature is not enabled, any members decorated with theCullDistancebuilt-in decoration must not be read from or written to in shader modules. This also specifies whether shader modules can declare theCullDistancecapability.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 theFloat64capability.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 theInt64capability.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 theInt16capability.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 theSparseResidencycapability. 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, theMinLodimage operand must not be used in shader code. This also specifies whether shader modules can declare theMinLodcapability.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 thevkBindBufferMemoryandvkBindImageMemorycommands. In this case, buffers and images must not be created withBUFFER_CREATE_SPARSE_BINDING_BITandIMAGE_CREATE_SPARSE_BINDING_BITset in theflagsmember of theVkBufferCreateInfoandVkImageCreateInfostructures, 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_BITset in theflagsmember of theVkBufferCreateInfostructure.sparseResidencyImage2D– specifies whether the device can access partially resident 2D images with 1 sample per pixel. If this feature is not enabled, images with animageTypeofIMAGE_TYPE_2Dandsamplesset toSAMPLE_COUNT_1_BITmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.sparseResidencyImage3D– specifies whether the device can access partially resident 3D images. If this feature is not enabled, images with animageTypeofIMAGE_TYPE_3Dmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.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 animageTypeofIMAGE_TYPE_2Dandsamplesset toSAMPLE_COUNT_2_BITmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.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 animageTypeofIMAGE_TYPE_2Dandsamplesset toSAMPLE_COUNT_4_BITmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.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 animageTypeofIMAGE_TYPE_2Dandsamplesset toSAMPLE_COUNT_8_BITmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.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 animageTypeofIMAGE_TYPE_2Dandsamplesset toSAMPLE_COUNT_16_BITmust not be created withIMAGE_CREATE_SPARSE_RESIDENCY_BITset in theflagsmember of theVkImageCreateInfostructure.sparseResidencyAliased– specifies whether the physical device can correctly access data aliased into multiple locations. If this feature is not enabled, theBUFFER_CREATE_SPARSE_ALIASED_BITandIMAGE_CREATE_SPARSE_ALIASED_BITenum values must not be used inflagsmembers of theVkBufferCreateInfoandVkImageCreateInfostructures, 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 classVkPhysicalDeviceFeatures.BufferAn array ofVkPhysicalDeviceFeaturesstructs.
-
Field Summary
-
Constructor Summary
Constructors Constructor Description VkPhysicalDeviceFeatures(java.nio.ByteBuffer container)Creates aVkPhysicalDeviceFeaturesinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanalphaToOne()Returns the value of thealphaToOnefield.VkPhysicalDeviceFeaturesalphaToOne(boolean value)Sets the specified value to thealphaToOnefield.static VkPhysicalDeviceFeaturescalloc()Returns a newVkPhysicalDeviceFeaturesinstance allocated withmemCalloc.static VkPhysicalDeviceFeatures.Buffercalloc(int capacity)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withmemCalloc.static VkPhysicalDeviceFeaturescallocStack()Returns a newVkPhysicalDeviceFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFeatures.BuffercallocStack(int capacity)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFeatures.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFeaturescallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFeaturescreate()Returns a newVkPhysicalDeviceFeaturesinstance allocated withBufferUtils.static VkPhysicalDeviceFeatures.Buffercreate(int capacity)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withBufferUtils.static VkPhysicalDeviceFeaturescreate(long address)Returns a newVkPhysicalDeviceFeaturesinstance for the specified memory address.static VkPhysicalDeviceFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFeatures.Bufferinstance at the specified memory.static VkPhysicalDeviceFeaturescreateSafe(long address)static VkPhysicalDeviceFeatures.BuffercreateSafe(long address, int capacity)booleandepthBiasClamp()Returns the value of thedepthBiasClampfield.VkPhysicalDeviceFeaturesdepthBiasClamp(boolean value)Sets the specified value to thedepthBiasClampfield.booleandepthBounds()Returns the value of thedepthBoundsfield.VkPhysicalDeviceFeaturesdepthBounds(boolean value)Sets the specified value to thedepthBoundsfield.booleandepthClamp()Returns the value of thedepthClampfield.VkPhysicalDeviceFeaturesdepthClamp(boolean value)Sets the specified value to thedepthClampfield.booleandrawIndirectFirstInstance()Returns the value of thedrawIndirectFirstInstancefield.VkPhysicalDeviceFeaturesdrawIndirectFirstInstance(boolean value)Sets the specified value to thedrawIndirectFirstInstancefield.booleandualSrcBlend()Returns the value of thedualSrcBlendfield.VkPhysicalDeviceFeaturesdualSrcBlend(boolean value)Sets the specified value to thedualSrcBlendfield.booleanfillModeNonSolid()Returns the value of thefillModeNonSolidfield.VkPhysicalDeviceFeaturesfillModeNonSolid(boolean value)Sets the specified value to thefillModeNonSolidfield.booleanfragmentStoresAndAtomics()Returns the value of thefragmentStoresAndAtomicsfield.VkPhysicalDeviceFeaturesfragmentStoresAndAtomics(boolean value)Sets the specified value to thefragmentStoresAndAtomicsfield.booleanfullDrawIndexUint32()Returns the value of thefullDrawIndexUint32field.VkPhysicalDeviceFeaturesfullDrawIndexUint32(boolean value)Sets the specified value to thefullDrawIndexUint32field.booleangeometryShader()Returns the value of thegeometryShaderfield.VkPhysicalDeviceFeaturesgeometryShader(boolean value)Sets the specified value to thegeometryShaderfield.booleanimageCubeArray()Returns the value of theimageCubeArrayfield.VkPhysicalDeviceFeaturesimageCubeArray(boolean value)Sets the specified value to theimageCubeArrayfield.booleanindependentBlend()Returns the value of theindependentBlendfield.VkPhysicalDeviceFeaturesindependentBlend(boolean value)Sets the specified value to theindependentBlendfield.booleaninheritedQueries()Returns the value of theinheritedQueriesfield.VkPhysicalDeviceFeaturesinheritedQueries(boolean value)Sets the specified value to theinheritedQueriesfield.booleanlargePoints()Returns the value of thelargePointsfield.VkPhysicalDeviceFeatureslargePoints(boolean value)Sets the specified value to thelargePointsfield.booleanlogicOp()Returns the value of thelogicOpfield.VkPhysicalDeviceFeatureslogicOp(boolean value)Sets the specified value to thelogicOpfield.static VkPhysicalDeviceFeaturesmalloc()Returns a newVkPhysicalDeviceFeaturesinstance allocated withmemAlloc.static VkPhysicalDeviceFeatures.Buffermalloc(int capacity)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withmemAlloc.static VkPhysicalDeviceFeaturesmallocStack()Returns a newVkPhysicalDeviceFeaturesinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceFeatures.BuffermallocStack(int capacity)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the thread-localMemoryStack.static VkPhysicalDeviceFeatures.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFeaturesmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStack.booleanmultiDrawIndirect()Returns the value of themultiDrawIndirectfield.VkPhysicalDeviceFeaturesmultiDrawIndirect(boolean value)Sets the specified value to themultiDrawIndirectfield.booleanmultiViewport()Returns the value of themultiViewportfield.VkPhysicalDeviceFeaturesmultiViewport(boolean value)Sets the specified value to themultiViewportfield.static intnalphaToOne(long struct)Unsafe version ofalphaToOne().static voidnalphaToOne(long struct, int value)Unsafe version ofalphaToOne.static intndepthBiasClamp(long struct)Unsafe version ofdepthBiasClamp().static voidndepthBiasClamp(long struct, int value)Unsafe version ofdepthBiasClamp.static intndepthBounds(long struct)Unsafe version ofdepthBounds().static voidndepthBounds(long struct, int value)Unsafe version ofdepthBounds.static intndepthClamp(long struct)Unsafe version ofdepthClamp().static voidndepthClamp(long struct, int value)Unsafe version ofdepthClamp.static intndrawIndirectFirstInstance(long struct)Unsafe version ofdrawIndirectFirstInstance().static voidndrawIndirectFirstInstance(long struct, int value)Unsafe version ofdrawIndirectFirstInstance.static intndualSrcBlend(long struct)Unsafe version ofdualSrcBlend().static voidndualSrcBlend(long struct, int value)Unsafe version ofdualSrcBlend.static intnfillModeNonSolid(long struct)Unsafe version offillModeNonSolid().static voidnfillModeNonSolid(long struct, int value)Unsafe version offillModeNonSolid.static intnfragmentStoresAndAtomics(long struct)Unsafe version offragmentStoresAndAtomics().static voidnfragmentStoresAndAtomics(long struct, int value)Unsafe version offragmentStoresAndAtomics.static intnfullDrawIndexUint32(long struct)Unsafe version offullDrawIndexUint32().static voidnfullDrawIndexUint32(long struct, int value)Unsafe version offullDrawIndexUint32.static intngeometryShader(long struct)Unsafe version ofgeometryShader().static voidngeometryShader(long struct, int value)Unsafe version ofgeometryShader.static intnimageCubeArray(long struct)Unsafe version ofimageCubeArray().static voidnimageCubeArray(long struct, int value)Unsafe version ofimageCubeArray.static intnindependentBlend(long struct)Unsafe version ofindependentBlend().static voidnindependentBlend(long struct, int value)Unsafe version ofindependentBlend.static intninheritedQueries(long struct)Unsafe version ofinheritedQueries().static voidninheritedQueries(long struct, int value)Unsafe version ofinheritedQueries.static intnlargePoints(long struct)Unsafe version oflargePoints().static voidnlargePoints(long struct, int value)Unsafe version oflargePoints.static intnlogicOp(long struct)Unsafe version oflogicOp().static voidnlogicOp(long struct, int value)Unsafe version oflogicOp.static intnmultiDrawIndirect(long struct)Unsafe version ofmultiDrawIndirect().static voidnmultiDrawIndirect(long struct, int value)Unsafe version ofmultiDrawIndirect.static intnmultiViewport(long struct)Unsafe version ofmultiViewport().static voidnmultiViewport(long struct, int value)Unsafe version ofmultiViewport.static intnocclusionQueryPrecise(long struct)Unsafe version ofocclusionQueryPrecise().static voidnocclusionQueryPrecise(long struct, int value)Unsafe version ofocclusionQueryPrecise.static intnpipelineStatisticsQuery(long struct)Unsafe version ofpipelineStatisticsQuery().static voidnpipelineStatisticsQuery(long struct, int value)Unsafe version ofpipelineStatisticsQuery.static intnrobustBufferAccess(long struct)Unsafe version ofrobustBufferAccess().static voidnrobustBufferAccess(long struct, int value)Unsafe version ofrobustBufferAccess.static intnsamplerAnisotropy(long struct)Unsafe version ofsamplerAnisotropy().static voidnsamplerAnisotropy(long struct, int value)Unsafe version ofsamplerAnisotropy.static intnsampleRateShading(long struct)Unsafe version ofsampleRateShading().static voidnsampleRateShading(long struct, int value)Unsafe version ofsampleRateShading.static intnshaderClipDistance(long struct)Unsafe version ofshaderClipDistance().static voidnshaderClipDistance(long struct, int value)Unsafe version ofshaderClipDistance.static intnshaderCullDistance(long struct)Unsafe version ofshaderCullDistance().static voidnshaderCullDistance(long struct, int value)Unsafe version ofshaderCullDistance.static intnshaderFloat64(long struct)Unsafe version ofshaderFloat64().static voidnshaderFloat64(long struct, int value)Unsafe version ofshaderFloat64.static intnshaderImageGatherExtended(long struct)Unsafe version ofshaderImageGatherExtended().static voidnshaderImageGatherExtended(long struct, int value)Unsafe version ofshaderImageGatherExtended.static intnshaderInt16(long struct)Unsafe version ofshaderInt16().static voidnshaderInt16(long struct, int value)Unsafe version ofshaderInt16.static intnshaderInt64(long struct)Unsafe version ofshaderInt64().static voidnshaderInt64(long struct, int value)Unsafe version ofshaderInt64.static intnshaderResourceMinLod(long struct)Unsafe version ofshaderResourceMinLod().static voidnshaderResourceMinLod(long struct, int value)Unsafe version ofshaderResourceMinLod.static intnshaderResourceResidency(long struct)Unsafe version ofshaderResourceResidency().static voidnshaderResourceResidency(long struct, int value)Unsafe version ofshaderResourceResidency.static intnshaderSampledImageArrayDynamicIndexing(long struct)Unsafe version ofshaderSampledImageArrayDynamicIndexing().static voidnshaderSampledImageArrayDynamicIndexing(long struct, int value)Unsafe version ofshaderSampledImageArrayDynamicIndexing.static intnshaderStorageBufferArrayDynamicIndexing(long struct)Unsafe version ofshaderStorageBufferArrayDynamicIndexing().static voidnshaderStorageBufferArrayDynamicIndexing(long struct, int value)Unsafe version ofshaderStorageBufferArrayDynamicIndexing.static intnshaderStorageImageArrayDynamicIndexing(long struct)Unsafe version ofshaderStorageImageArrayDynamicIndexing().static voidnshaderStorageImageArrayDynamicIndexing(long struct, int value)Unsafe version ofshaderStorageImageArrayDynamicIndexing.static intnshaderStorageImageExtendedFormats(long struct)Unsafe version ofshaderStorageImageExtendedFormats().static voidnshaderStorageImageExtendedFormats(long struct, int value)Unsafe version ofshaderStorageImageExtendedFormats.static intnshaderStorageImageMultisample(long struct)Unsafe version ofshaderStorageImageMultisample().static voidnshaderStorageImageMultisample(long struct, int value)Unsafe version ofshaderStorageImageMultisample.static intnshaderStorageImageReadWithoutFormat(long struct)Unsafe version ofshaderStorageImageReadWithoutFormat().static voidnshaderStorageImageReadWithoutFormat(long struct, int value)Unsafe version ofshaderStorageImageReadWithoutFormat.static intnshaderStorageImageWriteWithoutFormat(long struct)Unsafe version ofshaderStorageImageWriteWithoutFormat().static voidnshaderStorageImageWriteWithoutFormat(long struct, int value)Unsafe version ofshaderStorageImageWriteWithoutFormat.static intnshaderTessellationAndGeometryPointSize(long struct)Unsafe version ofshaderTessellationAndGeometryPointSize().static voidnshaderTessellationAndGeometryPointSize(long struct, int value)Unsafe version ofshaderTessellationAndGeometryPointSize.static intnshaderUniformBufferArrayDynamicIndexing(long struct)Unsafe version ofshaderUniformBufferArrayDynamicIndexing().static voidnshaderUniformBufferArrayDynamicIndexing(long struct, int value)Unsafe version ofshaderUniformBufferArrayDynamicIndexing.static intnsparseBinding(long struct)Unsafe version ofsparseBinding().static voidnsparseBinding(long struct, int value)Unsafe version ofsparseBinding.static intnsparseResidency16Samples(long struct)Unsafe version ofsparseResidency16Samples().static voidnsparseResidency16Samples(long struct, int value)Unsafe version ofsparseResidency16Samples.static intnsparseResidency2Samples(long struct)Unsafe version ofsparseResidency2Samples().static voidnsparseResidency2Samples(long struct, int value)Unsafe version ofsparseResidency2Samples.static intnsparseResidency4Samples(long struct)Unsafe version ofsparseResidency4Samples().static voidnsparseResidency4Samples(long struct, int value)Unsafe version ofsparseResidency4Samples.static intnsparseResidency8Samples(long struct)Unsafe version ofsparseResidency8Samples().static voidnsparseResidency8Samples(long struct, int value)Unsafe version ofsparseResidency8Samples.static intnsparseResidencyAliased(long struct)Unsafe version ofsparseResidencyAliased().static voidnsparseResidencyAliased(long struct, int value)Unsafe version ofsparseResidencyAliased.static intnsparseResidencyBuffer(long struct)Unsafe version ofsparseResidencyBuffer().static voidnsparseResidencyBuffer(long struct, int value)Unsafe version ofsparseResidencyBuffer.static intnsparseResidencyImage2D(long struct)Unsafe version ofsparseResidencyImage2D().static voidnsparseResidencyImage2D(long struct, int value)Unsafe version ofsparseResidencyImage2D.static intnsparseResidencyImage3D(long struct)Unsafe version ofsparseResidencyImage3D().static voidnsparseResidencyImage3D(long struct, int value)Unsafe version ofsparseResidencyImage3D.static intntessellationShader(long struct)Unsafe version oftessellationShader().static voidntessellationShader(long struct, int value)Unsafe version oftessellationShader.static intntextureCompressionASTC_LDR(long struct)Unsafe version oftextureCompressionASTC_LDR().static voidntextureCompressionASTC_LDR(long struct, int value)Unsafe version oftextureCompressionASTC_LDR.static intntextureCompressionBC(long struct)Unsafe version oftextureCompressionBC().static voidntextureCompressionBC(long struct, int value)Unsafe version oftextureCompressionBC.static intntextureCompressionETC2(long struct)Unsafe version oftextureCompressionETC2().static voidntextureCompressionETC2(long struct, int value)Unsafe version oftextureCompressionETC2.static intnvariableMultisampleRate(long struct)Unsafe version ofvariableMultisampleRate().static voidnvariableMultisampleRate(long struct, int value)Unsafe version ofvariableMultisampleRate.static intnvertexPipelineStoresAndAtomics(long struct)Unsafe version ofvertexPipelineStoresAndAtomics().static voidnvertexPipelineStoresAndAtomics(long struct, int value)Unsafe version ofvertexPipelineStoresAndAtomics.static intnwideLines(long struct)Unsafe version ofwideLines().static voidnwideLines(long struct, int value)Unsafe version ofwideLines.booleanocclusionQueryPrecise()Returns the value of theocclusionQueryPrecisefield.VkPhysicalDeviceFeaturesocclusionQueryPrecise(boolean value)Sets the specified value to theocclusionQueryPrecisefield.booleanpipelineStatisticsQuery()Returns the value of thepipelineStatisticsQueryfield.VkPhysicalDeviceFeaturespipelineStatisticsQuery(boolean value)Sets the specified value to thepipelineStatisticsQueryfield.booleanrobustBufferAccess()Returns the value of therobustBufferAccessfield.VkPhysicalDeviceFeaturesrobustBufferAccess(boolean value)Sets the specified value to therobustBufferAccessfield.booleansamplerAnisotropy()Returns the value of thesamplerAnisotropyfield.VkPhysicalDeviceFeaturessamplerAnisotropy(boolean value)Sets the specified value to thesamplerAnisotropyfield.booleansampleRateShading()Returns the value of thesampleRateShadingfield.VkPhysicalDeviceFeaturessampleRateShading(boolean value)Sets the specified value to thesampleRateShadingfield.VkPhysicalDeviceFeaturesset(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.VkPhysicalDeviceFeaturesset(VkPhysicalDeviceFeatures src)Copies the specified struct data to this struct.booleanshaderClipDistance()Returns the value of theshaderClipDistancefield.VkPhysicalDeviceFeaturesshaderClipDistance(boolean value)Sets the specified value to theshaderClipDistancefield.booleanshaderCullDistance()Returns the value of theshaderCullDistancefield.VkPhysicalDeviceFeaturesshaderCullDistance(boolean value)Sets the specified value to theshaderCullDistancefield.booleanshaderFloat64()Returns the value of theshaderFloat64field.VkPhysicalDeviceFeaturesshaderFloat64(boolean value)Sets the specified value to theshaderFloat64field.booleanshaderImageGatherExtended()Returns the value of theshaderImageGatherExtendedfield.VkPhysicalDeviceFeaturesshaderImageGatherExtended(boolean value)Sets the specified value to theshaderImageGatherExtendedfield.booleanshaderInt16()Returns the value of theshaderInt16field.VkPhysicalDeviceFeaturesshaderInt16(boolean value)Sets the specified value to theshaderInt16field.booleanshaderInt64()Returns the value of theshaderInt64field.VkPhysicalDeviceFeaturesshaderInt64(boolean value)Sets the specified value to theshaderInt64field.booleanshaderResourceMinLod()Returns the value of theshaderResourceMinLodfield.VkPhysicalDeviceFeaturesshaderResourceMinLod(boolean value)Sets the specified value to theshaderResourceMinLodfield.booleanshaderResourceResidency()Returns the value of theshaderResourceResidencyfield.VkPhysicalDeviceFeaturesshaderResourceResidency(boolean value)Sets the specified value to theshaderResourceResidencyfield.booleanshaderSampledImageArrayDynamicIndexing()Returns the value of theshaderSampledImageArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderSampledImageArrayDynamicIndexing(boolean value)Sets the specified value to theshaderSampledImageArrayDynamicIndexingfield.booleanshaderStorageBufferArrayDynamicIndexing()Returns the value of theshaderStorageBufferArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderStorageBufferArrayDynamicIndexing(boolean value)Sets the specified value to theshaderStorageBufferArrayDynamicIndexingfield.booleanshaderStorageImageArrayDynamicIndexing()Returns the value of theshaderStorageImageArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderStorageImageArrayDynamicIndexing(boolean value)Sets the specified value to theshaderStorageImageArrayDynamicIndexingfield.booleanshaderStorageImageExtendedFormats()Returns the value of theshaderStorageImageExtendedFormatsfield.VkPhysicalDeviceFeaturesshaderStorageImageExtendedFormats(boolean value)Sets the specified value to theshaderStorageImageExtendedFormatsfield.booleanshaderStorageImageMultisample()Returns the value of theshaderStorageImageMultisamplefield.VkPhysicalDeviceFeaturesshaderStorageImageMultisample(boolean value)Sets the specified value to theshaderStorageImageMultisamplefield.booleanshaderStorageImageReadWithoutFormat()Returns the value of theshaderStorageImageReadWithoutFormatfield.VkPhysicalDeviceFeaturesshaderStorageImageReadWithoutFormat(boolean value)Sets the specified value to theshaderStorageImageReadWithoutFormatfield.booleanshaderStorageImageWriteWithoutFormat()Returns the value of theshaderStorageImageWriteWithoutFormatfield.VkPhysicalDeviceFeaturesshaderStorageImageWriteWithoutFormat(boolean value)Sets the specified value to theshaderStorageImageWriteWithoutFormatfield.booleanshaderTessellationAndGeometryPointSize()Returns the value of theshaderTessellationAndGeometryPointSizefield.VkPhysicalDeviceFeaturesshaderTessellationAndGeometryPointSize(boolean value)Sets the specified value to theshaderTessellationAndGeometryPointSizefield.booleanshaderUniformBufferArrayDynamicIndexing()Returns the value of theshaderUniformBufferArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderUniformBufferArrayDynamicIndexing(boolean value)Sets the specified value to theshaderUniformBufferArrayDynamicIndexingfield.intsizeof()booleansparseBinding()Returns the value of thesparseBindingfield.VkPhysicalDeviceFeaturessparseBinding(boolean value)Sets the specified value to thesparseBindingfield.booleansparseResidency16Samples()Returns the value of thesparseResidency16Samplesfield.VkPhysicalDeviceFeaturessparseResidency16Samples(boolean value)Sets the specified value to thesparseResidency16Samplesfield.booleansparseResidency2Samples()Returns the value of thesparseResidency2Samplesfield.VkPhysicalDeviceFeaturessparseResidency2Samples(boolean value)Sets the specified value to thesparseResidency2Samplesfield.booleansparseResidency4Samples()Returns the value of thesparseResidency4Samplesfield.VkPhysicalDeviceFeaturessparseResidency4Samples(boolean value)Sets the specified value to thesparseResidency4Samplesfield.booleansparseResidency8Samples()Returns the value of thesparseResidency8Samplesfield.VkPhysicalDeviceFeaturessparseResidency8Samples(boolean value)Sets the specified value to thesparseResidency8Samplesfield.booleansparseResidencyAliased()Returns the value of thesparseResidencyAliasedfield.VkPhysicalDeviceFeaturessparseResidencyAliased(boolean value)Sets the specified value to thesparseResidencyAliasedfield.booleansparseResidencyBuffer()Returns the value of thesparseResidencyBufferfield.VkPhysicalDeviceFeaturessparseResidencyBuffer(boolean value)Sets the specified value to thesparseResidencyBufferfield.booleansparseResidencyImage2D()Returns the value of thesparseResidencyImage2Dfield.VkPhysicalDeviceFeaturessparseResidencyImage2D(boolean value)Sets the specified value to thesparseResidencyImage2Dfield.booleansparseResidencyImage3D()Returns the value of thesparseResidencyImage3Dfield.VkPhysicalDeviceFeaturessparseResidencyImage3D(boolean value)Sets the specified value to thesparseResidencyImage3Dfield.booleantessellationShader()Returns the value of thetessellationShaderfield.VkPhysicalDeviceFeaturestessellationShader(boolean value)Sets the specified value to thetessellationShaderfield.booleantextureCompressionASTC_LDR()Returns the value of thetextureCompressionASTC_LDRfield.VkPhysicalDeviceFeaturestextureCompressionASTC_LDR(boolean value)Sets the specified value to thetextureCompressionASTC_LDRfield.booleantextureCompressionBC()Returns the value of thetextureCompressionBCfield.VkPhysicalDeviceFeaturestextureCompressionBC(boolean value)Sets the specified value to thetextureCompressionBCfield.booleantextureCompressionETC2()Returns the value of thetextureCompressionETC2field.VkPhysicalDeviceFeaturestextureCompressionETC2(boolean value)Sets the specified value to thetextureCompressionETC2field.booleanvariableMultisampleRate()Returns the value of thevariableMultisampleRatefield.VkPhysicalDeviceFeaturesvariableMultisampleRate(boolean value)Sets the specified value to thevariableMultisampleRatefield.booleanvertexPipelineStoresAndAtomics()Returns the value of thevertexPipelineStoresAndAtomicsfield.VkPhysicalDeviceFeaturesvertexPipelineStoresAndAtomics(boolean value)Sets the specified value to thevertexPipelineStoresAndAtomicsfield.booleanwideLines()Returns the value of thewideLinesfield.VkPhysicalDeviceFeatureswideLines(boolean value)Sets the specified value to thewideLinesfield.
-
-
-
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 aVkPhysicalDeviceFeaturesinstance at the current position of the specifiedByteBuffercontainer. 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:
sizeofin classorg.lwjgl.system.Struct
-
robustBufferAccess
public boolean robustBufferAccess()
Returns the value of therobustBufferAccessfield.
-
fullDrawIndexUint32
public boolean fullDrawIndexUint32()
Returns the value of thefullDrawIndexUint32field.
-
imageCubeArray
public boolean imageCubeArray()
Returns the value of theimageCubeArrayfield.
-
independentBlend
public boolean independentBlend()
Returns the value of theindependentBlendfield.
-
geometryShader
public boolean geometryShader()
Returns the value of thegeometryShaderfield.
-
tessellationShader
public boolean tessellationShader()
Returns the value of thetessellationShaderfield.
-
sampleRateShading
public boolean sampleRateShading()
Returns the value of thesampleRateShadingfield.
-
dualSrcBlend
public boolean dualSrcBlend()
Returns the value of thedualSrcBlendfield.
-
logicOp
public boolean logicOp()
Returns the value of thelogicOpfield.
-
multiDrawIndirect
public boolean multiDrawIndirect()
Returns the value of themultiDrawIndirectfield.
-
drawIndirectFirstInstance
public boolean drawIndirectFirstInstance()
Returns the value of thedrawIndirectFirstInstancefield.
-
depthClamp
public boolean depthClamp()
Returns the value of thedepthClampfield.
-
depthBiasClamp
public boolean depthBiasClamp()
Returns the value of thedepthBiasClampfield.
-
fillModeNonSolid
public boolean fillModeNonSolid()
Returns the value of thefillModeNonSolidfield.
-
depthBounds
public boolean depthBounds()
Returns the value of thedepthBoundsfield.
-
wideLines
public boolean wideLines()
Returns the value of thewideLinesfield.
-
largePoints
public boolean largePoints()
Returns the value of thelargePointsfield.
-
alphaToOne
public boolean alphaToOne()
Returns the value of thealphaToOnefield.
-
multiViewport
public boolean multiViewport()
Returns the value of themultiViewportfield.
-
samplerAnisotropy
public boolean samplerAnisotropy()
Returns the value of thesamplerAnisotropyfield.
-
textureCompressionETC2
public boolean textureCompressionETC2()
Returns the value of thetextureCompressionETC2field.
-
textureCompressionASTC_LDR
public boolean textureCompressionASTC_LDR()
Returns the value of thetextureCompressionASTC_LDRfield.
-
textureCompressionBC
public boolean textureCompressionBC()
Returns the value of thetextureCompressionBCfield.
-
occlusionQueryPrecise
public boolean occlusionQueryPrecise()
Returns the value of theocclusionQueryPrecisefield.
-
pipelineStatisticsQuery
public boolean pipelineStatisticsQuery()
Returns the value of thepipelineStatisticsQueryfield.
-
vertexPipelineStoresAndAtomics
public boolean vertexPipelineStoresAndAtomics()
Returns the value of thevertexPipelineStoresAndAtomicsfield.
-
fragmentStoresAndAtomics
public boolean fragmentStoresAndAtomics()
Returns the value of thefragmentStoresAndAtomicsfield.
-
shaderTessellationAndGeometryPointSize
public boolean shaderTessellationAndGeometryPointSize()
Returns the value of theshaderTessellationAndGeometryPointSizefield.
-
shaderImageGatherExtended
public boolean shaderImageGatherExtended()
Returns the value of theshaderImageGatherExtendedfield.
-
shaderStorageImageExtendedFormats
public boolean shaderStorageImageExtendedFormats()
Returns the value of theshaderStorageImageExtendedFormatsfield.
-
shaderStorageImageMultisample
public boolean shaderStorageImageMultisample()
Returns the value of theshaderStorageImageMultisamplefield.
-
shaderStorageImageReadWithoutFormat
public boolean shaderStorageImageReadWithoutFormat()
Returns the value of theshaderStorageImageReadWithoutFormatfield.
-
shaderStorageImageWriteWithoutFormat
public boolean shaderStorageImageWriteWithoutFormat()
Returns the value of theshaderStorageImageWriteWithoutFormatfield.
-
shaderUniformBufferArrayDynamicIndexing
public boolean shaderUniformBufferArrayDynamicIndexing()
Returns the value of theshaderUniformBufferArrayDynamicIndexingfield.
-
shaderSampledImageArrayDynamicIndexing
public boolean shaderSampledImageArrayDynamicIndexing()
Returns the value of theshaderSampledImageArrayDynamicIndexingfield.
-
shaderStorageBufferArrayDynamicIndexing
public boolean shaderStorageBufferArrayDynamicIndexing()
Returns the value of theshaderStorageBufferArrayDynamicIndexingfield.
-
shaderStorageImageArrayDynamicIndexing
public boolean shaderStorageImageArrayDynamicIndexing()
Returns the value of theshaderStorageImageArrayDynamicIndexingfield.
-
shaderClipDistance
public boolean shaderClipDistance()
Returns the value of theshaderClipDistancefield.
-
shaderCullDistance
public boolean shaderCullDistance()
Returns the value of theshaderCullDistancefield.
-
shaderFloat64
public boolean shaderFloat64()
Returns the value of theshaderFloat64field.
-
shaderInt64
public boolean shaderInt64()
Returns the value of theshaderInt64field.
-
shaderInt16
public boolean shaderInt16()
Returns the value of theshaderInt16field.
-
shaderResourceResidency
public boolean shaderResourceResidency()
Returns the value of theshaderResourceResidencyfield.
-
shaderResourceMinLod
public boolean shaderResourceMinLod()
Returns the value of theshaderResourceMinLodfield.
-
sparseBinding
public boolean sparseBinding()
Returns the value of thesparseBindingfield.
-
sparseResidencyBuffer
public boolean sparseResidencyBuffer()
Returns the value of thesparseResidencyBufferfield.
-
sparseResidencyImage2D
public boolean sparseResidencyImage2D()
Returns the value of thesparseResidencyImage2Dfield.
-
sparseResidencyImage3D
public boolean sparseResidencyImage3D()
Returns the value of thesparseResidencyImage3Dfield.
-
sparseResidency2Samples
public boolean sparseResidency2Samples()
Returns the value of thesparseResidency2Samplesfield.
-
sparseResidency4Samples
public boolean sparseResidency4Samples()
Returns the value of thesparseResidency4Samplesfield.
-
sparseResidency8Samples
public boolean sparseResidency8Samples()
Returns the value of thesparseResidency8Samplesfield.
-
sparseResidency16Samples
public boolean sparseResidency16Samples()
Returns the value of thesparseResidency16Samplesfield.
-
sparseResidencyAliased
public boolean sparseResidencyAliased()
Returns the value of thesparseResidencyAliasedfield.
-
variableMultisampleRate
public boolean variableMultisampleRate()
Returns the value of thevariableMultisampleRatefield.
-
inheritedQueries
public boolean inheritedQueries()
Returns the value of theinheritedQueriesfield.
-
robustBufferAccess
public VkPhysicalDeviceFeatures robustBufferAccess(boolean value)
Sets the specified value to therobustBufferAccessfield.
-
fullDrawIndexUint32
public VkPhysicalDeviceFeatures fullDrawIndexUint32(boolean value)
Sets the specified value to thefullDrawIndexUint32field.
-
imageCubeArray
public VkPhysicalDeviceFeatures imageCubeArray(boolean value)
Sets the specified value to theimageCubeArrayfield.
-
independentBlend
public VkPhysicalDeviceFeatures independentBlend(boolean value)
Sets the specified value to theindependentBlendfield.
-
geometryShader
public VkPhysicalDeviceFeatures geometryShader(boolean value)
Sets the specified value to thegeometryShaderfield.
-
tessellationShader
public VkPhysicalDeviceFeatures tessellationShader(boolean value)
Sets the specified value to thetessellationShaderfield.
-
sampleRateShading
public VkPhysicalDeviceFeatures sampleRateShading(boolean value)
Sets the specified value to thesampleRateShadingfield.
-
dualSrcBlend
public VkPhysicalDeviceFeatures dualSrcBlend(boolean value)
Sets the specified value to thedualSrcBlendfield.
-
logicOp
public VkPhysicalDeviceFeatures logicOp(boolean value)
Sets the specified value to thelogicOpfield.
-
multiDrawIndirect
public VkPhysicalDeviceFeatures multiDrawIndirect(boolean value)
Sets the specified value to themultiDrawIndirectfield.
-
drawIndirectFirstInstance
public VkPhysicalDeviceFeatures drawIndirectFirstInstance(boolean value)
Sets the specified value to thedrawIndirectFirstInstancefield.
-
depthClamp
public VkPhysicalDeviceFeatures depthClamp(boolean value)
Sets the specified value to thedepthClampfield.
-
depthBiasClamp
public VkPhysicalDeviceFeatures depthBiasClamp(boolean value)
Sets the specified value to thedepthBiasClampfield.
-
fillModeNonSolid
public VkPhysicalDeviceFeatures fillModeNonSolid(boolean value)
Sets the specified value to thefillModeNonSolidfield.
-
depthBounds
public VkPhysicalDeviceFeatures depthBounds(boolean value)
Sets the specified value to thedepthBoundsfield.
-
wideLines
public VkPhysicalDeviceFeatures wideLines(boolean value)
Sets the specified value to thewideLinesfield.
-
largePoints
public VkPhysicalDeviceFeatures largePoints(boolean value)
Sets the specified value to thelargePointsfield.
-
alphaToOne
public VkPhysicalDeviceFeatures alphaToOne(boolean value)
Sets the specified value to thealphaToOnefield.
-
multiViewport
public VkPhysicalDeviceFeatures multiViewport(boolean value)
Sets the specified value to themultiViewportfield.
-
samplerAnisotropy
public VkPhysicalDeviceFeatures samplerAnisotropy(boolean value)
Sets the specified value to thesamplerAnisotropyfield.
-
textureCompressionETC2
public VkPhysicalDeviceFeatures textureCompressionETC2(boolean value)
Sets the specified value to thetextureCompressionETC2field.
-
textureCompressionASTC_LDR
public VkPhysicalDeviceFeatures textureCompressionASTC_LDR(boolean value)
Sets the specified value to thetextureCompressionASTC_LDRfield.
-
textureCompressionBC
public VkPhysicalDeviceFeatures textureCompressionBC(boolean value)
Sets the specified value to thetextureCompressionBCfield.
-
occlusionQueryPrecise
public VkPhysicalDeviceFeatures occlusionQueryPrecise(boolean value)
Sets the specified value to theocclusionQueryPrecisefield.
-
pipelineStatisticsQuery
public VkPhysicalDeviceFeatures pipelineStatisticsQuery(boolean value)
Sets the specified value to thepipelineStatisticsQueryfield.
-
vertexPipelineStoresAndAtomics
public VkPhysicalDeviceFeatures vertexPipelineStoresAndAtomics(boolean value)
Sets the specified value to thevertexPipelineStoresAndAtomicsfield.
-
fragmentStoresAndAtomics
public VkPhysicalDeviceFeatures fragmentStoresAndAtomics(boolean value)
Sets the specified value to thefragmentStoresAndAtomicsfield.
-
shaderTessellationAndGeometryPointSize
public VkPhysicalDeviceFeatures shaderTessellationAndGeometryPointSize(boolean value)
Sets the specified value to theshaderTessellationAndGeometryPointSizefield.
-
shaderImageGatherExtended
public VkPhysicalDeviceFeatures shaderImageGatherExtended(boolean value)
Sets the specified value to theshaderImageGatherExtendedfield.
-
shaderStorageImageExtendedFormats
public VkPhysicalDeviceFeatures shaderStorageImageExtendedFormats(boolean value)
Sets the specified value to theshaderStorageImageExtendedFormatsfield.
-
shaderStorageImageMultisample
public VkPhysicalDeviceFeatures shaderStorageImageMultisample(boolean value)
Sets the specified value to theshaderStorageImageMultisamplefield.
-
shaderStorageImageReadWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageReadWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageReadWithoutFormatfield.
-
shaderStorageImageWriteWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageWriteWithoutFormat(boolean value)
Sets the specified value to theshaderStorageImageWriteWithoutFormatfield.
-
shaderUniformBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderUniformBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderUniformBufferArrayDynamicIndexingfield.
-
shaderSampledImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderSampledImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderSampledImageArrayDynamicIndexingfield.
-
shaderStorageBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageBufferArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageBufferArrayDynamicIndexingfield.
-
shaderStorageImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageImageArrayDynamicIndexing(boolean value)
Sets the specified value to theshaderStorageImageArrayDynamicIndexingfield.
-
shaderClipDistance
public VkPhysicalDeviceFeatures shaderClipDistance(boolean value)
Sets the specified value to theshaderClipDistancefield.
-
shaderCullDistance
public VkPhysicalDeviceFeatures shaderCullDistance(boolean value)
Sets the specified value to theshaderCullDistancefield.
-
shaderFloat64
public VkPhysicalDeviceFeatures shaderFloat64(boolean value)
Sets the specified value to theshaderFloat64field.
-
shaderInt64
public VkPhysicalDeviceFeatures shaderInt64(boolean value)
Sets the specified value to theshaderInt64field.
-
shaderInt16
public VkPhysicalDeviceFeatures shaderInt16(boolean value)
Sets the specified value to theshaderInt16field.
-
shaderResourceResidency
public VkPhysicalDeviceFeatures shaderResourceResidency(boolean value)
Sets the specified value to theshaderResourceResidencyfield.
-
shaderResourceMinLod
public VkPhysicalDeviceFeatures shaderResourceMinLod(boolean value)
Sets the specified value to theshaderResourceMinLodfield.
-
sparseBinding
public VkPhysicalDeviceFeatures sparseBinding(boolean value)
Sets the specified value to thesparseBindingfield.
-
sparseResidencyBuffer
public VkPhysicalDeviceFeatures sparseResidencyBuffer(boolean value)
Sets the specified value to thesparseResidencyBufferfield.
-
sparseResidencyImage2D
public VkPhysicalDeviceFeatures sparseResidencyImage2D(boolean value)
Sets the specified value to thesparseResidencyImage2Dfield.
-
sparseResidencyImage3D
public VkPhysicalDeviceFeatures sparseResidencyImage3D(boolean value)
Sets the specified value to thesparseResidencyImage3Dfield.
-
sparseResidency2Samples
public VkPhysicalDeviceFeatures sparseResidency2Samples(boolean value)
Sets the specified value to thesparseResidency2Samplesfield.
-
sparseResidency4Samples
public VkPhysicalDeviceFeatures sparseResidency4Samples(boolean value)
Sets the specified value to thesparseResidency4Samplesfield.
-
sparseResidency8Samples
public VkPhysicalDeviceFeatures sparseResidency8Samples(boolean value)
Sets the specified value to thesparseResidency8Samplesfield.
-
sparseResidency16Samples
public VkPhysicalDeviceFeatures sparseResidency16Samples(boolean value)
Sets the specified value to thesparseResidency16Samplesfield.
-
sparseResidencyAliased
public VkPhysicalDeviceFeatures sparseResidencyAliased(boolean value)
Sets the specified value to thesparseResidencyAliasedfield.
-
variableMultisampleRate
public VkPhysicalDeviceFeatures variableMultisampleRate(boolean value)
Sets the specified value to thevariableMultisampleRatefield.
-
inheritedQueries
public VkPhysicalDeviceFeatures inheritedQueries(boolean value)
Sets the specified value to theinheritedQueriesfield.
-
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 newVkPhysicalDeviceFeaturesinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkPhysicalDeviceFeatures calloc()
Returns a newVkPhysicalDeviceFeaturesinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkPhysicalDeviceFeatures create()
Returns a newVkPhysicalDeviceFeaturesinstance allocated withBufferUtils.
-
create
public static VkPhysicalDeviceFeatures create(long address)
Returns a newVkPhysicalDeviceFeaturesinstance for the specified memory address.
-
createSafe
@Nullable public static VkPhysicalDeviceFeatures createSafe(long address)
-
malloc
public static VkPhysicalDeviceFeatures.Buffer malloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkPhysicalDeviceFeatures.Buffer calloc(int capacity)
Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFeatures.Buffer create(int capacity)
Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkPhysicalDeviceFeatures.Buffer create(long address, int capacity)
Create aVkPhysicalDeviceFeatures.Bufferinstance 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 newVkPhysicalDeviceFeaturesinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkPhysicalDeviceFeatures callocStack()
Returns a newVkPhysicalDeviceFeaturesinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkPhysicalDeviceFeatures mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceFeatures callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStackand 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.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkPhysicalDeviceFeatures.Buffer callocStack(int capacity)
Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the thread-localMemoryStackand 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.Bufferinstance 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.Bufferinstance allocated on the specifiedMemoryStackand 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.
-
-