If the VkPhysicalDevicePortabilitySubsetFeaturesKHR structure is included in the pNext chain of the VkPhysicalDeviceFeatures2 structure passed to GetPhysicalDeviceFeatures2, it is filled in to indicate whether each corresponding feature is supported. VkPhysicalDevicePortabilitySubsetFeaturesKHR can also be used in the pNext chain of VkDeviceCreateInfo to selectively enable these features.
struct VkPhysicalDevicePortabilitySubsetFeaturesKHR {
VkStructureType sType;
void * pNext;
VkBool32 constantAlphaColorBlendFactors;
VkBool32 events;
VkBool32 imageViewFormatReinterpretation;
VkBool32 imageViewFormatSwizzle;
VkBool32 imageView2DOn3DImage;
VkBool32 multisampleArrayImage;
VkBool32 mutableComparisonSamplers;
VkBool32 pointPolygons;
VkBool32 samplerMipLodBias;
VkBool32 separateStencilMaskRef;
VkBool32 shaderSampleRateInterpolationFunctions;
VkBool32 tessellationIsolines;
VkBool32 tessellationPointMode;
VkBool32 triangleFans;
VkBool32 vertexAttributeAccessBeyondStride;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | CONSTANTALPHACOLORBLENDFACTORS
The struct member offsets. |
| public static final int | EVENTS
The struct member offsets. |
| public static final int | IMAGEVIEW2DON3DIMAGE
The struct member offsets. |
| public static final int | IMAGEVIEWFORMATREINTERPRETATION
The struct member offsets. |
| public static final int | IMAGEVIEWFORMATSWIZZLE
The struct member offsets. |
| public static final int | MULTISAMPLEARRAYIMAGE
The struct member offsets. |
| public static final int | MUTABLECOMPARISONSAMPLERS
The struct member offsets. |
| public static final int | PNEXT
The struct member offsets. |
| public static final int | POINTPOLYGONS
The struct member offsets. |
| public static final int | SAMPLERMIPLODBIAS
The struct member offsets. |
| public static final int | SEPARATESTENCILMASKREF
The struct member offsets. |
| public static final int | SHADERSAMPLERATEINTERPOLATIONFUNCTIONS
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| public static final int | STYPE
The struct member offsets. |
| public static final int | TESSELLATIONISOLINES
The struct member offsets. |
| public static final int | TESSELLATIONPOINTMODE
The struct member offsets. |
| public static final int | TRIANGLEFANS
The struct member offsets. |
| public static final int | VERTEXATTRIBUTEACCESSBEYONDSTRIDE
The struct member offsets. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | VkPhysicalDevicePortabilitySubsetFeaturesKHR(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | calloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | constantAlphaColorBlendFactors()
indicates whether this implementation supports constant alpha Blend Factors used as source or destination color Blending. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | constantAlphaColorBlendFactors(boolean value)
Sets the specified value to the |
| protected VkPhysicalDevicePortabilitySubsetFeaturesKHR | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | create()
Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | create(long address)
Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | create(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | |
| public boolean | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | imageView2DOn3DImage()
indicates whether this implementation supports a |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | imageViewFormatReinterpretation()
indicates whether this implementation supports a |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | imageViewFormatReinterpretation(boolean value)
Sets the specified value to the |
| public boolean | imageViewFormatSwizzle()
indicates whether this implementation supports remapping format components using |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | malloc(int
the buffer capacity capacity)Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static VkPhysicalDevicePortabilitySubsetFeaturesKHR. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public boolean | multisampleArrayImage()
indicates whether this implementation supports a |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | mutableComparisonSamplers()
indicates whether this implementation allows descriptors with comparison samplers to be updated. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | mutableComparisonSamplers(boolean value)
Sets the specified value to the |
| public static int | |
| public static void | nconstantAlphaColorBlendFactors(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nimageViewFormatReinterpretation(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static long | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | nshaderSampleRateInterpolationFunctions(long struct)
Unsafe version of |
| public static void | nshaderSampleRateInterpolationFunctions(long struct, int value)
Unsafe version of |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | |
| public static int | |
| public static void | nvertexAttributeAccessBeyondStride(long struct, int value)
Unsafe version of |
| public long | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | pointPolygons()
indicates whether this implementation supports Rasterization using a point Polygon Mode. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | samplerMipLodBias()
indicates whether this implementation supports setting a mipmap LOD bias value when creating a sampler. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | separateStencilMaskRef()
indicates whether this implementation supports separate front and back Stencil Test reference values. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | set(int sType, long pNext, boolean constantAlphaColorBlendFactors, boolean events, boolean imageViewFormatReinterpretation, boolean imageViewFormatSwizzle, boolean imageView2DOn3DImage, boolean multisampleArrayImage, boolean mutableComparisonSamplers, boolean pointPolygons, boolean samplerMipLodBias, boolean separateStencilMaskRef, boolean shaderSampleRateInterpolationFunctions, boolean tessellationIsolines, boolean tessellationPointMode, boolean triangleFans, boolean vertexAttributeAccessBeyondStride)
Initializes this struct with the specified values. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public boolean | shaderSampleRateInterpolationFunctions()
indicates whether this implementation supports fragment shaders which use the |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | shaderSampleRateInterpolationFunctions(boolean value)
Sets the specified value to the |
| public int | |
| public int | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | sType$Default()
Sets the |
| public boolean | tessellationIsolines()
indicates whether this implementation supports isoline output from the Tessellation stage of a graphics pipeline. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | tessellationPointMode()
indicates whether this implementation supports point output from the Tessellation stage of a graphics pipeline. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | |
| public boolean | vertexAttributeAccessBeyondStride()
indicates whether this implementation supports accessing a vertex input attribute beyond the stride of the corresponding vertex input binding. |
| public VkPhysicalDevicePortabilitySubsetFeaturesKHR | vertexAttributeAccessBeyondStride(boolean value)
Sets the specified value to the |