Package org.lwjgl.vulkan
Class VkPhysicalDeviceFeatures
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkPhysicalDeviceFeatures
-
- All Implemented Interfaces:
- java.lang.AutoCloseable, NativeResource, Pointer
public class VkPhysicalDeviceFeatures extends Struct
Khronos Reference Page
Vulkan SpecificationContains a feature flag for each of the fine-grained features that may be supported by an implementation.
Valid Usage
- If any member of this structure is
FALSE, as returned byGetPhysicalDeviceFeatures, then it must beFALSEwhen passed as part of theVkDeviceCreateInfostruct when creating a device
Member documentation
robustBufferAccess– indicates that out of bounds accesses to buffers via shader operations are well-definedfullDrawIndexUint32– indicates the full 32-bit range of indices is supported for indexed draw calls when using a VkIndexType ofINDEX_TYPE_UINT32imageCubeArray– indicates whether image views with aVkImageViewTypeofIMAGE_VIEW_TYPE_CUBE_ARRAYcan be created, and that the corresponding SampledCubeArray and ImageCubeArray SPIR-V capabilities can be used in shader codeindependentBlend– indicates whether theVkPipelineColorBlendAttachmentStatesettings are controlled independently per-attachmentgeometryShader– indicates whether geometry shaders are supportedtessellationShader– indicates whether tessellation control and evaluation shaders are supportedsampleRateShading– indicates whether per-sample shading and multisample interpolation are supporteddualSrcBlend– indicates whether blend operations which take two sources are supportedlogicOp– indicates whether logic operations are supportedmultiDrawIndirect– indicates whether multiple draw indirect is supporteddrawIndirectFirstInstance– indicates whether indirect draw calls support thefirstInstanceparameterdepthClamp– indicates whether depth clamping is supporteddepthBiasClamp– indicates whether depth bias clamping is supportedfillModeNonSolid– indicates whether point and wireframe fill modes are supporteddepthBounds– indicates whether depth bounds tests are supportedwideLines– indicates whether lines with width other than 1.0 are supportedlargePoints– indicates whether points with size greater than 1.0 are supportedalphaToOne– indicates 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 colorsmultiViewport– indicates whether more than one viewport is supportedsamplerAnisotropy– indicates whether anisotropic filtering is supportedtextureCompressionETC2– indicates whether the ETC2 and EAC compressed texture formats are supportedtextureCompressionASTC_LDR– indicates whether the ASTC LDR compressed texture formats are supportedtextureCompressionBC– indicates whether the BC compressed texture formats are supportedocclusionQueryPrecise– indicates whether occlusion queries returning actual sample counts are supportedpipelineStatisticsQuery– indicates whether the pipeline statistics queries are supportedvertexPipelineStoresAndAtomics– indicates whether storage buffers and images support stores and atomic operations in the vertex, tessellation, and geometry shader stagesfragmentStoresAndAtomics– indicates whether storage buffers and images support stores and atomic operations in the fragment shader stageshaderTessellationAndGeometryPointSize– indicates whether thePointSizebuilt-in decoration is available in the tessellation control, tessellation evaluation, and geometry shader stagesshaderImageGatherExtended– indicates whether the extended set of image gather instructions are available in shader codeshaderStorageImageExtendedFormats– indicates whether the extended storage image formats are available in shader codeshaderStorageImageMultisample– indicates whether multisampled storage images are supportedshaderStorageImageReadWithoutFormat– indicates whether storage images require a format qualifier to be specified when reading from storage imagesshaderStorageImageWriteWithoutFormat– indicates whether storage images require a format qualifier to be specified when writing to storage imagesshaderUniformBufferArrayDynamicIndexing– indicates whether arrays of uniform buffers can be indexed by dynamically uniform integer expressions in shader codeshaderSampledImageArrayDynamicIndexing– indicates whether arrays of samplers or sampled images can be indexed by dynamically uniform integer expressions in shader codeshaderStorageBufferArrayDynamicIndexing– indicates whether arrays of storage buffers can be indexed by dynamically uniform integer expressions in shader codeshaderStorageImageArrayDynamicIndexing– indicates whether arrays of storage images can be indexed by dynamically uniform integer expressions in shader codeshaderClipDistance– indicates whether clip distances are supported in shader codeshaderCullDistance– indicates whether cull distances are supported in shader codeshaderFloat64– indicates whether 64-bit floats (doubles) are supported in shader codeshaderInt64– indicates whether 64-bit integers (signed and unsigned) are supported in shader codeshaderInt16– indicates whether 16-bit integers (signed and unsigned) are supported in shader codeshaderResourceResidency– indicates whether image operations that return resource residency information are supported in shader codeshaderResourceMinLod– indicates whether image operations that specify the minimum resource level-of-detail (LOD) are supported in shader codesparseBinding– indicates whether resource memory can be managed at opaque sparse block level instead of at the object levelsparseResidencyBuffer– indicates whether the device can access partially resident bufferssparseResidencyImage2D– indicates whether the device can access partially resident 2D images with 1 sample per pixelsparseResidencyImage3D– indicates whether the device can access partially resident 3D imagessparseResidency2Samples– indicates whether the physical device can access partially resident 2D images with 2 samples per pixelsparseResidency4Samples– indicates whether the physical device can access partially resident 2D images with 4 samples per pixelsparseResidency8Samples– indicates whether the physical device can access partially resident 2D images with 8 samples per pixelsparseResidency16Samples– indicates whether the physical device can access partially resident 2D images with 16 samples per pixelsparseResidencyAliased– indicates whether the physical device can correctly access data aliased into multiple locationsvariableMultisampleRate– indicates whether all pipelines that will be bound to a command buffer during a subpass with no attachments must have the same value forVkPipelineMultisampleStateCreateInfo::rasterizationSamplesinheritedQueries– indicates 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 and Description static classVkPhysicalDeviceFeatures.BufferAn array ofVkPhysicalDeviceFeaturesstructs.-
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default
-
-
Field Summary
Fields Modifier and Type Field and Description static intSIZEOFThe struct size in bytes.-
Fields inherited from interface org.lwjgl.system.Pointer
POINTER_SHIFT, POINTER_SIZE
-
-
Constructor Summary
Constructors Constructor and 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 and Description intalphaToOne()Returns the value of thealphaToOnefield.VkPhysicalDeviceFeaturesalphaToOne(int 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, MemoryStack stack)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkPhysicalDeviceFeaturescallocStack(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 ornullif the address isNULL.static VkPhysicalDeviceFeatures.Buffercreate(long address, int capacity)Create aVkPhysicalDeviceFeatures.Bufferinstance at the specified memory.intdepthBiasClamp()Returns the value of thedepthBiasClampfield.VkPhysicalDeviceFeaturesdepthBiasClamp(int value)Sets the specified value to thedepthBiasClampfield.intdepthBounds()Returns the value of thedepthBoundsfield.VkPhysicalDeviceFeaturesdepthBounds(int value)Sets the specified value to thedepthBoundsfield.intdepthClamp()Returns the value of thedepthClampfield.VkPhysicalDeviceFeaturesdepthClamp(int value)Sets the specified value to thedepthClampfield.intdrawIndirectFirstInstance()Returns the value of thedrawIndirectFirstInstancefield.VkPhysicalDeviceFeaturesdrawIndirectFirstInstance(int value)Sets the specified value to thedrawIndirectFirstInstancefield.intdualSrcBlend()Returns the value of thedualSrcBlendfield.VkPhysicalDeviceFeaturesdualSrcBlend(int value)Sets the specified value to thedualSrcBlendfield.intfillModeNonSolid()Returns the value of thefillModeNonSolidfield.VkPhysicalDeviceFeaturesfillModeNonSolid(int value)Sets the specified value to thefillModeNonSolidfield.intfragmentStoresAndAtomics()Returns the value of thefragmentStoresAndAtomicsfield.VkPhysicalDeviceFeaturesfragmentStoresAndAtomics(int value)Sets the specified value to thefragmentStoresAndAtomicsfield.intfullDrawIndexUint32()Returns the value of thefullDrawIndexUint32field.VkPhysicalDeviceFeaturesfullDrawIndexUint32(int value)Sets the specified value to thefullDrawIndexUint32field.intgeometryShader()Returns the value of thegeometryShaderfield.VkPhysicalDeviceFeaturesgeometryShader(int value)Sets the specified value to thegeometryShaderfield.intimageCubeArray()Returns the value of theimageCubeArrayfield.VkPhysicalDeviceFeaturesimageCubeArray(int value)Sets the specified value to theimageCubeArrayfield.intindependentBlend()Returns the value of theindependentBlendfield.VkPhysicalDeviceFeaturesindependentBlend(int value)Sets the specified value to theindependentBlendfield.intinheritedQueries()Returns the value of theinheritedQueriesfield.VkPhysicalDeviceFeaturesinheritedQueries(int value)Sets the specified value to theinheritedQueriesfield.intlargePoints()Returns the value of thelargePointsfield.VkPhysicalDeviceFeatureslargePoints(int value)Sets the specified value to thelargePointsfield.intlogicOp()Returns the value of thelogicOpfield.VkPhysicalDeviceFeatureslogicOp(int 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, MemoryStack stack)Returns a newVkPhysicalDeviceFeatures.Bufferinstance allocated on the specifiedMemoryStack.static VkPhysicalDeviceFeaturesmallocStack(MemoryStack stack)Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStack.intmultiDrawIndirect()Returns the value of themultiDrawIndirectfield.VkPhysicalDeviceFeaturesmultiDrawIndirect(int value)Sets the specified value to themultiDrawIndirectfield.intmultiViewport()Returns the value of themultiViewportfield.VkPhysicalDeviceFeaturesmultiViewport(int value)Sets the specified value to themultiViewportfield.VkPhysicalDeviceFeaturesnset(long struct)Unsafe version ofset.intocclusionQueryPrecise()Returns the value of theocclusionQueryPrecisefield.VkPhysicalDeviceFeaturesocclusionQueryPrecise(int value)Sets the specified value to theocclusionQueryPrecisefield.intpipelineStatisticsQuery()Returns the value of thepipelineStatisticsQueryfield.VkPhysicalDeviceFeaturespipelineStatisticsQuery(int value)Sets the specified value to thepipelineStatisticsQueryfield.introbustBufferAccess()Returns the value of therobustBufferAccessfield.VkPhysicalDeviceFeaturesrobustBufferAccess(int value)Sets the specified value to therobustBufferAccessfield.intsamplerAnisotropy()Returns the value of thesamplerAnisotropyfield.VkPhysicalDeviceFeaturessamplerAnisotropy(int value)Sets the specified value to thesamplerAnisotropyfield.intsampleRateShading()Returns the value of thesampleRateShadingfield.VkPhysicalDeviceFeaturessampleRateShading(int value)Sets the specified value to thesampleRateShadingfield.VkPhysicalDeviceFeaturesset(int robustBufferAccess, int fullDrawIndexUint32, int imageCubeArray, int independentBlend, int geometryShader, int tessellationShader, int sampleRateShading, int dualSrcBlend, int logicOp, int multiDrawIndirect, int drawIndirectFirstInstance, int depthClamp, int depthBiasClamp, int fillModeNonSolid, int depthBounds, int wideLines, int largePoints, int alphaToOne, int multiViewport, int samplerAnisotropy, int textureCompressionETC2, int textureCompressionASTC_LDR, int textureCompressionBC, int occlusionQueryPrecise, int pipelineStatisticsQuery, int vertexPipelineStoresAndAtomics, int fragmentStoresAndAtomics, int shaderTessellationAndGeometryPointSize, int shaderImageGatherExtended, int shaderStorageImageExtendedFormats, int shaderStorageImageMultisample, int shaderStorageImageReadWithoutFormat, int shaderStorageImageWriteWithoutFormat, int shaderUniformBufferArrayDynamicIndexing, int shaderSampledImageArrayDynamicIndexing, int shaderStorageBufferArrayDynamicIndexing, int shaderStorageImageArrayDynamicIndexing, int shaderClipDistance, int shaderCullDistance, int shaderFloat64, int shaderInt64, int shaderInt16, int shaderResourceResidency, int shaderResourceMinLod, int sparseBinding, int sparseResidencyBuffer, int sparseResidencyImage2D, int sparseResidencyImage3D, int sparseResidency2Samples, int sparseResidency4Samples, int sparseResidency8Samples, int sparseResidency16Samples, int sparseResidencyAliased, int variableMultisampleRate, int inheritedQueries)Initializes this struct with the specified values.VkPhysicalDeviceFeaturesset(VkPhysicalDeviceFeatures src)Copies the specified struct data to this struct.intshaderClipDistance()Returns the value of theshaderClipDistancefield.VkPhysicalDeviceFeaturesshaderClipDistance(int value)Sets the specified value to theshaderClipDistancefield.intshaderCullDistance()Returns the value of theshaderCullDistancefield.VkPhysicalDeviceFeaturesshaderCullDistance(int value)Sets the specified value to theshaderCullDistancefield.intshaderFloat64()Returns the value of theshaderFloat64field.VkPhysicalDeviceFeaturesshaderFloat64(int value)Sets the specified value to theshaderFloat64field.intshaderImageGatherExtended()Returns the value of theshaderImageGatherExtendedfield.VkPhysicalDeviceFeaturesshaderImageGatherExtended(int value)Sets the specified value to theshaderImageGatherExtendedfield.intshaderInt16()Returns the value of theshaderInt16field.VkPhysicalDeviceFeaturesshaderInt16(int value)Sets the specified value to theshaderInt16field.intshaderInt64()Returns the value of theshaderInt64field.VkPhysicalDeviceFeaturesshaderInt64(int value)Sets the specified value to theshaderInt64field.intshaderResourceMinLod()Returns the value of theshaderResourceMinLodfield.VkPhysicalDeviceFeaturesshaderResourceMinLod(int value)Sets the specified value to theshaderResourceMinLodfield.intshaderResourceResidency()Returns the value of theshaderResourceResidencyfield.VkPhysicalDeviceFeaturesshaderResourceResidency(int value)Sets the specified value to theshaderResourceResidencyfield.intshaderSampledImageArrayDynamicIndexing()Returns the value of theshaderSampledImageArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderSampledImageArrayDynamicIndexing(int value)Sets the specified value to theshaderSampledImageArrayDynamicIndexingfield.intshaderStorageBufferArrayDynamicIndexing()Returns the value of theshaderStorageBufferArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderStorageBufferArrayDynamicIndexing(int value)Sets the specified value to theshaderStorageBufferArrayDynamicIndexingfield.intshaderStorageImageArrayDynamicIndexing()Returns the value of theshaderStorageImageArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderStorageImageArrayDynamicIndexing(int value)Sets the specified value to theshaderStorageImageArrayDynamicIndexingfield.intshaderStorageImageExtendedFormats()Returns the value of theshaderStorageImageExtendedFormatsfield.VkPhysicalDeviceFeaturesshaderStorageImageExtendedFormats(int value)Sets the specified value to theshaderStorageImageExtendedFormatsfield.intshaderStorageImageMultisample()Returns the value of theshaderStorageImageMultisamplefield.VkPhysicalDeviceFeaturesshaderStorageImageMultisample(int value)Sets the specified value to theshaderStorageImageMultisamplefield.intshaderStorageImageReadWithoutFormat()Returns the value of theshaderStorageImageReadWithoutFormatfield.VkPhysicalDeviceFeaturesshaderStorageImageReadWithoutFormat(int value)Sets the specified value to theshaderStorageImageReadWithoutFormatfield.intshaderStorageImageWriteWithoutFormat()Returns the value of theshaderStorageImageWriteWithoutFormatfield.VkPhysicalDeviceFeaturesshaderStorageImageWriteWithoutFormat(int value)Sets the specified value to theshaderStorageImageWriteWithoutFormatfield.intshaderTessellationAndGeometryPointSize()Returns the value of theshaderTessellationAndGeometryPointSizefield.VkPhysicalDeviceFeaturesshaderTessellationAndGeometryPointSize(int value)Sets the specified value to theshaderTessellationAndGeometryPointSizefield.intshaderUniformBufferArrayDynamicIndexing()Returns the value of theshaderUniformBufferArrayDynamicIndexingfield.VkPhysicalDeviceFeaturesshaderUniformBufferArrayDynamicIndexing(int value)Sets the specified value to theshaderUniformBufferArrayDynamicIndexingfield.intsizeof()Returns thesizeof(struct).intsparseBinding()Returns the value of thesparseBindingfield.VkPhysicalDeviceFeaturessparseBinding(int value)Sets the specified value to thesparseBindingfield.intsparseResidency16Samples()Returns the value of thesparseResidency16Samplesfield.VkPhysicalDeviceFeaturessparseResidency16Samples(int value)Sets the specified value to thesparseResidency16Samplesfield.intsparseResidency2Samples()Returns the value of thesparseResidency2Samplesfield.VkPhysicalDeviceFeaturessparseResidency2Samples(int value)Sets the specified value to thesparseResidency2Samplesfield.intsparseResidency4Samples()Returns the value of thesparseResidency4Samplesfield.VkPhysicalDeviceFeaturessparseResidency4Samples(int value)Sets the specified value to thesparseResidency4Samplesfield.intsparseResidency8Samples()Returns the value of thesparseResidency8Samplesfield.VkPhysicalDeviceFeaturessparseResidency8Samples(int value)Sets the specified value to thesparseResidency8Samplesfield.intsparseResidencyAliased()Returns the value of thesparseResidencyAliasedfield.VkPhysicalDeviceFeaturessparseResidencyAliased(int value)Sets the specified value to thesparseResidencyAliasedfield.intsparseResidencyBuffer()Returns the value of thesparseResidencyBufferfield.VkPhysicalDeviceFeaturessparseResidencyBuffer(int value)Sets the specified value to thesparseResidencyBufferfield.intsparseResidencyImage2D()Returns the value of thesparseResidencyImage2Dfield.VkPhysicalDeviceFeaturessparseResidencyImage2D(int value)Sets the specified value to thesparseResidencyImage2Dfield.intsparseResidencyImage3D()Returns the value of thesparseResidencyImage3Dfield.VkPhysicalDeviceFeaturessparseResidencyImage3D(int value)Sets the specified value to thesparseResidencyImage3Dfield.inttessellationShader()Returns the value of thetessellationShaderfield.VkPhysicalDeviceFeaturestessellationShader(int value)Sets the specified value to thetessellationShaderfield.inttextureCompressionASTC_LDR()Returns the value of thetextureCompressionASTC_LDRfield.VkPhysicalDeviceFeaturestextureCompressionASTC_LDR(int value)Sets the specified value to thetextureCompressionASTC_LDRfield.inttextureCompressionBC()Returns the value of thetextureCompressionBCfield.VkPhysicalDeviceFeaturestextureCompressionBC(int value)Sets the specified value to thetextureCompressionBCfield.inttextureCompressionETC2()Returns the value of thetextureCompressionETC2field.VkPhysicalDeviceFeaturestextureCompressionETC2(int value)Sets the specified value to thetextureCompressionETC2field.intvariableMultisampleRate()Returns the value of thevariableMultisampleRatefield.VkPhysicalDeviceFeaturesvariableMultisampleRate(int value)Sets the specified value to thevariableMultisampleRatefield.intvertexPipelineStoresAndAtomics()Returns the value of thevertexPipelineStoresAndAtomicsfield.VkPhysicalDeviceFeaturesvertexPipelineStoresAndAtomics(int value)Sets the specified value to thevertexPipelineStoresAndAtomicsfield.intwideLines()Returns the value of thewideLinesfield.VkPhysicalDeviceFeatureswideLines(int value)Sets the specified value to thewideLinesfield.-
Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toString
-
Methods inherited from interface org.lwjgl.system.NativeResource
close
-
-
-
-
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()
Description copied from class:StructReturns thesizeof(struct).
-
robustBufferAccess
public int robustBufferAccess()
Returns the value of therobustBufferAccessfield.
-
fullDrawIndexUint32
public int fullDrawIndexUint32()
Returns the value of thefullDrawIndexUint32field.
-
imageCubeArray
public int imageCubeArray()
Returns the value of theimageCubeArrayfield.
-
independentBlend
public int independentBlend()
Returns the value of theindependentBlendfield.
-
geometryShader
public int geometryShader()
Returns the value of thegeometryShaderfield.
-
tessellationShader
public int tessellationShader()
Returns the value of thetessellationShaderfield.
-
sampleRateShading
public int sampleRateShading()
Returns the value of thesampleRateShadingfield.
-
dualSrcBlend
public int dualSrcBlend()
Returns the value of thedualSrcBlendfield.
-
logicOp
public int logicOp()
Returns the value of thelogicOpfield.
-
multiDrawIndirect
public int multiDrawIndirect()
Returns the value of themultiDrawIndirectfield.
-
drawIndirectFirstInstance
public int drawIndirectFirstInstance()
Returns the value of thedrawIndirectFirstInstancefield.
-
depthClamp
public int depthClamp()
Returns the value of thedepthClampfield.
-
depthBiasClamp
public int depthBiasClamp()
Returns the value of thedepthBiasClampfield.
-
fillModeNonSolid
public int fillModeNonSolid()
Returns the value of thefillModeNonSolidfield.
-
depthBounds
public int depthBounds()
Returns the value of thedepthBoundsfield.
-
wideLines
public int wideLines()
Returns the value of thewideLinesfield.
-
largePoints
public int largePoints()
Returns the value of thelargePointsfield.
-
alphaToOne
public int alphaToOne()
Returns the value of thealphaToOnefield.
-
multiViewport
public int multiViewport()
Returns the value of themultiViewportfield.
-
samplerAnisotropy
public int samplerAnisotropy()
Returns the value of thesamplerAnisotropyfield.
-
textureCompressionETC2
public int textureCompressionETC2()
Returns the value of thetextureCompressionETC2field.
-
textureCompressionASTC_LDR
public int textureCompressionASTC_LDR()
Returns the value of thetextureCompressionASTC_LDRfield.
-
textureCompressionBC
public int textureCompressionBC()
Returns the value of thetextureCompressionBCfield.
-
occlusionQueryPrecise
public int occlusionQueryPrecise()
Returns the value of theocclusionQueryPrecisefield.
-
pipelineStatisticsQuery
public int pipelineStatisticsQuery()
Returns the value of thepipelineStatisticsQueryfield.
-
vertexPipelineStoresAndAtomics
public int vertexPipelineStoresAndAtomics()
Returns the value of thevertexPipelineStoresAndAtomicsfield.
-
fragmentStoresAndAtomics
public int fragmentStoresAndAtomics()
Returns the value of thefragmentStoresAndAtomicsfield.
-
shaderTessellationAndGeometryPointSize
public int shaderTessellationAndGeometryPointSize()
Returns the value of theshaderTessellationAndGeometryPointSizefield.
-
shaderImageGatherExtended
public int shaderImageGatherExtended()
Returns the value of theshaderImageGatherExtendedfield.
-
shaderStorageImageExtendedFormats
public int shaderStorageImageExtendedFormats()
Returns the value of theshaderStorageImageExtendedFormatsfield.
-
shaderStorageImageMultisample
public int shaderStorageImageMultisample()
Returns the value of theshaderStorageImageMultisamplefield.
-
shaderStorageImageReadWithoutFormat
public int shaderStorageImageReadWithoutFormat()
Returns the value of theshaderStorageImageReadWithoutFormatfield.
-
shaderStorageImageWriteWithoutFormat
public int shaderStorageImageWriteWithoutFormat()
Returns the value of theshaderStorageImageWriteWithoutFormatfield.
-
shaderUniformBufferArrayDynamicIndexing
public int shaderUniformBufferArrayDynamicIndexing()
Returns the value of theshaderUniformBufferArrayDynamicIndexingfield.
-
shaderSampledImageArrayDynamicIndexing
public int shaderSampledImageArrayDynamicIndexing()
Returns the value of theshaderSampledImageArrayDynamicIndexingfield.
-
shaderStorageBufferArrayDynamicIndexing
public int shaderStorageBufferArrayDynamicIndexing()
Returns the value of theshaderStorageBufferArrayDynamicIndexingfield.
-
shaderStorageImageArrayDynamicIndexing
public int shaderStorageImageArrayDynamicIndexing()
Returns the value of theshaderStorageImageArrayDynamicIndexingfield.
-
shaderClipDistance
public int shaderClipDistance()
Returns the value of theshaderClipDistancefield.
-
shaderCullDistance
public int shaderCullDistance()
Returns the value of theshaderCullDistancefield.
-
shaderFloat64
public int shaderFloat64()
Returns the value of theshaderFloat64field.
-
shaderInt64
public int shaderInt64()
Returns the value of theshaderInt64field.
-
shaderInt16
public int shaderInt16()
Returns the value of theshaderInt16field.
-
shaderResourceResidency
public int shaderResourceResidency()
Returns the value of theshaderResourceResidencyfield.
-
shaderResourceMinLod
public int shaderResourceMinLod()
Returns the value of theshaderResourceMinLodfield.
-
sparseBinding
public int sparseBinding()
Returns the value of thesparseBindingfield.
-
sparseResidencyBuffer
public int sparseResidencyBuffer()
Returns the value of thesparseResidencyBufferfield.
-
sparseResidencyImage2D
public int sparseResidencyImage2D()
Returns the value of thesparseResidencyImage2Dfield.
-
sparseResidencyImage3D
public int sparseResidencyImage3D()
Returns the value of thesparseResidencyImage3Dfield.
-
sparseResidency2Samples
public int sparseResidency2Samples()
Returns the value of thesparseResidency2Samplesfield.
-
sparseResidency4Samples
public int sparseResidency4Samples()
Returns the value of thesparseResidency4Samplesfield.
-
sparseResidency8Samples
public int sparseResidency8Samples()
Returns the value of thesparseResidency8Samplesfield.
-
sparseResidency16Samples
public int sparseResidency16Samples()
Returns the value of thesparseResidency16Samplesfield.
-
sparseResidencyAliased
public int sparseResidencyAliased()
Returns the value of thesparseResidencyAliasedfield.
-
variableMultisampleRate
public int variableMultisampleRate()
Returns the value of thevariableMultisampleRatefield.
-
inheritedQueries
public int inheritedQueries()
Returns the value of theinheritedQueriesfield.
-
robustBufferAccess
public VkPhysicalDeviceFeatures robustBufferAccess(int value)
Sets the specified value to therobustBufferAccessfield.
-
fullDrawIndexUint32
public VkPhysicalDeviceFeatures fullDrawIndexUint32(int value)
Sets the specified value to thefullDrawIndexUint32field.
-
imageCubeArray
public VkPhysicalDeviceFeatures imageCubeArray(int value)
Sets the specified value to theimageCubeArrayfield.
-
independentBlend
public VkPhysicalDeviceFeatures independentBlend(int value)
Sets the specified value to theindependentBlendfield.
-
geometryShader
public VkPhysicalDeviceFeatures geometryShader(int value)
Sets the specified value to thegeometryShaderfield.
-
tessellationShader
public VkPhysicalDeviceFeatures tessellationShader(int value)
Sets the specified value to thetessellationShaderfield.
-
sampleRateShading
public VkPhysicalDeviceFeatures sampleRateShading(int value)
Sets the specified value to thesampleRateShadingfield.
-
dualSrcBlend
public VkPhysicalDeviceFeatures dualSrcBlend(int value)
Sets the specified value to thedualSrcBlendfield.
-
logicOp
public VkPhysicalDeviceFeatures logicOp(int value)
Sets the specified value to thelogicOpfield.
-
multiDrawIndirect
public VkPhysicalDeviceFeatures multiDrawIndirect(int value)
Sets the specified value to themultiDrawIndirectfield.
-
drawIndirectFirstInstance
public VkPhysicalDeviceFeatures drawIndirectFirstInstance(int value)
Sets the specified value to thedrawIndirectFirstInstancefield.
-
depthClamp
public VkPhysicalDeviceFeatures depthClamp(int value)
Sets the specified value to thedepthClampfield.
-
depthBiasClamp
public VkPhysicalDeviceFeatures depthBiasClamp(int value)
Sets the specified value to thedepthBiasClampfield.
-
fillModeNonSolid
public VkPhysicalDeviceFeatures fillModeNonSolid(int value)
Sets the specified value to thefillModeNonSolidfield.
-
depthBounds
public VkPhysicalDeviceFeatures depthBounds(int value)
Sets the specified value to thedepthBoundsfield.
-
wideLines
public VkPhysicalDeviceFeatures wideLines(int value)
Sets the specified value to thewideLinesfield.
-
largePoints
public VkPhysicalDeviceFeatures largePoints(int value)
Sets the specified value to thelargePointsfield.
-
alphaToOne
public VkPhysicalDeviceFeatures alphaToOne(int value)
Sets the specified value to thealphaToOnefield.
-
multiViewport
public VkPhysicalDeviceFeatures multiViewport(int value)
Sets the specified value to themultiViewportfield.
-
samplerAnisotropy
public VkPhysicalDeviceFeatures samplerAnisotropy(int value)
Sets the specified value to thesamplerAnisotropyfield.
-
textureCompressionETC2
public VkPhysicalDeviceFeatures textureCompressionETC2(int value)
Sets the specified value to thetextureCompressionETC2field.
-
textureCompressionASTC_LDR
public VkPhysicalDeviceFeatures textureCompressionASTC_LDR(int value)
Sets the specified value to thetextureCompressionASTC_LDRfield.
-
textureCompressionBC
public VkPhysicalDeviceFeatures textureCompressionBC(int value)
Sets the specified value to thetextureCompressionBCfield.
-
occlusionQueryPrecise
public VkPhysicalDeviceFeatures occlusionQueryPrecise(int value)
Sets the specified value to theocclusionQueryPrecisefield.
-
pipelineStatisticsQuery
public VkPhysicalDeviceFeatures pipelineStatisticsQuery(int value)
Sets the specified value to thepipelineStatisticsQueryfield.
-
vertexPipelineStoresAndAtomics
public VkPhysicalDeviceFeatures vertexPipelineStoresAndAtomics(int value)
Sets the specified value to thevertexPipelineStoresAndAtomicsfield.
-
fragmentStoresAndAtomics
public VkPhysicalDeviceFeatures fragmentStoresAndAtomics(int value)
Sets the specified value to thefragmentStoresAndAtomicsfield.
-
shaderTessellationAndGeometryPointSize
public VkPhysicalDeviceFeatures shaderTessellationAndGeometryPointSize(int value)
Sets the specified value to theshaderTessellationAndGeometryPointSizefield.
-
shaderImageGatherExtended
public VkPhysicalDeviceFeatures shaderImageGatherExtended(int value)
Sets the specified value to theshaderImageGatherExtendedfield.
-
shaderStorageImageExtendedFormats
public VkPhysicalDeviceFeatures shaderStorageImageExtendedFormats(int value)
Sets the specified value to theshaderStorageImageExtendedFormatsfield.
-
shaderStorageImageMultisample
public VkPhysicalDeviceFeatures shaderStorageImageMultisample(int value)
Sets the specified value to theshaderStorageImageMultisamplefield.
-
shaderStorageImageReadWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageReadWithoutFormat(int value)
Sets the specified value to theshaderStorageImageReadWithoutFormatfield.
-
shaderStorageImageWriteWithoutFormat
public VkPhysicalDeviceFeatures shaderStorageImageWriteWithoutFormat(int value)
Sets the specified value to theshaderStorageImageWriteWithoutFormatfield.
-
shaderUniformBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderUniformBufferArrayDynamicIndexing(int value)
Sets the specified value to theshaderUniformBufferArrayDynamicIndexingfield.
-
shaderSampledImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderSampledImageArrayDynamicIndexing(int value)
Sets the specified value to theshaderSampledImageArrayDynamicIndexingfield.
-
shaderStorageBufferArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageBufferArrayDynamicIndexing(int value)
Sets the specified value to theshaderStorageBufferArrayDynamicIndexingfield.
-
shaderStorageImageArrayDynamicIndexing
public VkPhysicalDeviceFeatures shaderStorageImageArrayDynamicIndexing(int value)
Sets the specified value to theshaderStorageImageArrayDynamicIndexingfield.
-
shaderClipDistance
public VkPhysicalDeviceFeatures shaderClipDistance(int value)
Sets the specified value to theshaderClipDistancefield.
-
shaderCullDistance
public VkPhysicalDeviceFeatures shaderCullDistance(int value)
Sets the specified value to theshaderCullDistancefield.
-
shaderFloat64
public VkPhysicalDeviceFeatures shaderFloat64(int value)
Sets the specified value to theshaderFloat64field.
-
shaderInt64
public VkPhysicalDeviceFeatures shaderInt64(int value)
Sets the specified value to theshaderInt64field.
-
shaderInt16
public VkPhysicalDeviceFeatures shaderInt16(int value)
Sets the specified value to theshaderInt16field.
-
shaderResourceResidency
public VkPhysicalDeviceFeatures shaderResourceResidency(int value)
Sets the specified value to theshaderResourceResidencyfield.
-
shaderResourceMinLod
public VkPhysicalDeviceFeatures shaderResourceMinLod(int value)
Sets the specified value to theshaderResourceMinLodfield.
-
sparseBinding
public VkPhysicalDeviceFeatures sparseBinding(int value)
Sets the specified value to thesparseBindingfield.
-
sparseResidencyBuffer
public VkPhysicalDeviceFeatures sparseResidencyBuffer(int value)
Sets the specified value to thesparseResidencyBufferfield.
-
sparseResidencyImage2D
public VkPhysicalDeviceFeatures sparseResidencyImage2D(int value)
Sets the specified value to thesparseResidencyImage2Dfield.
-
sparseResidencyImage3D
public VkPhysicalDeviceFeatures sparseResidencyImage3D(int value)
Sets the specified value to thesparseResidencyImage3Dfield.
-
sparseResidency2Samples
public VkPhysicalDeviceFeatures sparseResidency2Samples(int value)
Sets the specified value to thesparseResidency2Samplesfield.
-
sparseResidency4Samples
public VkPhysicalDeviceFeatures sparseResidency4Samples(int value)
Sets the specified value to thesparseResidency4Samplesfield.
-
sparseResidency8Samples
public VkPhysicalDeviceFeatures sparseResidency8Samples(int value)
Sets the specified value to thesparseResidency8Samplesfield.
-
sparseResidency16Samples
public VkPhysicalDeviceFeatures sparseResidency16Samples(int value)
Sets the specified value to thesparseResidency16Samplesfield.
-
sparseResidencyAliased
public VkPhysicalDeviceFeatures sparseResidencyAliased(int value)
Sets the specified value to thesparseResidencyAliasedfield.
-
variableMultisampleRate
public VkPhysicalDeviceFeatures variableMultisampleRate(int value)
Sets the specified value to thevariableMultisampleRatefield.
-
inheritedQueries
public VkPhysicalDeviceFeatures inheritedQueries(int value)
Sets the specified value to theinheritedQueriesfield.
-
set
public VkPhysicalDeviceFeatures set(int robustBufferAccess, int fullDrawIndexUint32, int imageCubeArray, int independentBlend, int geometryShader, int tessellationShader, int sampleRateShading, int dualSrcBlend, int logicOp, int multiDrawIndirect, int drawIndirectFirstInstance, int depthClamp, int depthBiasClamp, int fillModeNonSolid, int depthBounds, int wideLines, int largePoints, int alphaToOne, int multiViewport, int samplerAnisotropy, int textureCompressionETC2, int textureCompressionASTC_LDR, int textureCompressionBC, int occlusionQueryPrecise, int pipelineStatisticsQuery, int vertexPipelineStoresAndAtomics, int fragmentStoresAndAtomics, int shaderTessellationAndGeometryPointSize, int shaderImageGatherExtended, int shaderStorageImageExtendedFormats, int shaderStorageImageMultisample, int shaderStorageImageReadWithoutFormat, int shaderStorageImageWriteWithoutFormat, int shaderUniformBufferArrayDynamicIndexing, int shaderSampledImageArrayDynamicIndexing, int shaderStorageBufferArrayDynamicIndexing, int shaderStorageImageArrayDynamicIndexing, int shaderClipDistance, int shaderCullDistance, int shaderFloat64, int shaderInt64, int shaderInt16, int shaderResourceResidency, int shaderResourceMinLod, int sparseBinding, int sparseResidencyBuffer, int sparseResidencyImage2D, int sparseResidencyImage3D, int sparseResidency2Samples, int sparseResidency4Samples, int sparseResidency8Samples, int sparseResidency16Samples, int sparseResidencyAliased, int variableMultisampleRate, int inheritedQueries)
Initializes this struct with the specified values.
-
nset
public VkPhysicalDeviceFeatures nset(long struct)
Unsafe version ofset.
-
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 ornullif the address isNULL.
-
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
-
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(MemoryStack stack)
Returns a newVkPhysicalDeviceFeaturesinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkPhysicalDeviceFeatures callocStack(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, 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, 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
-
-