Top Description Inners Fields Constructors Methods
org.lwjgl.vulkan

public Class VkPhysicalDevicePortabilitySubsetFeaturesKHR

extends Struct<VkPhysicalDevicePortabilitySubsetFeaturesKHR>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Structure describing the features that may not be supported by an implementation of the Vulkan 1.0 Portability Subset.
Description

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.

Valid Usage (Implicit)

Layout


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;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField 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.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
public
VkPhysicalDevicePortabilitySubsetFeaturesKHR(ByteBuffer container)

Creates a VkPhysicalDevicePortabilitySubsetFeaturesKHR instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
calloc()

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance allocated with memCalloc.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance allocated with memCalloc.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

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 constantAlphaColorBlendFactors field.

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.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
create()

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance allocated with BufferUtils.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
create(long address)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance for the specified memory address.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
create(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance allocated with BufferUtils.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance at the specified memory.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
createSafe(long address)

Like create, but returns null if address is NULL.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public boolean
events()

indicates whether this implementation supports synchronization using Events.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
events(boolean value)

Sets the specified value to the events field.

public boolean
imageView2DOn3DImage()

indicates whether this implementation supports a VkImage being created with the IMAGE_CREATE_2D_ARRAY_COMPATIBLE_BIT flag set, permitting a 2D or 2D array image view to be created on a 3D VkImage.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
imageView2DOn3DImage(boolean value)

Sets the specified value to the imageView2DOn3DImage field.

public boolean
imageViewFormatReinterpretation()

indicates whether this implementation supports a VkImageView being created with a texel format containing a different number of components, or a different number of bits in each component, than the texel format of the underlying VkImage.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
imageViewFormatReinterpretation(boolean value)

Sets the specified value to the imageViewFormatReinterpretation field.

public boolean
imageViewFormatSwizzle()

indicates whether this implementation supports remapping format components using VkImageViewCreateInfo::components.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
imageViewFormatSwizzle(boolean value)

Sets the specified value to the imageViewFormatSwizzle field.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
malloc()

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance allocated with memAlloc.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance allocated with memAlloc.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR instance allocated on the specified MemoryStack.

public static VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new VkPhysicalDevicePortabilitySubsetFeaturesKHR.Buffer instance allocated on the specified MemoryStack.

public boolean
multisampleArrayImage()

indicates whether this implementation supports a VkImage being created as a 2D array with multiple samples per texel.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
multisampleArrayImage(boolean value)

Sets the specified value to the multisampleArrayImage field.

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 mutableComparisonSamplers field.

public static int
public static void
nconstantAlphaColorBlendFactors(long struct, int value)

Unsafe version of constantAlphaColorBlendFactors.

public static int
nevents(long struct)

Unsafe version of events.

public static void
nevents(long struct, int value)

Unsafe version of events.

public static int
nimageView2DOn3DImage(long struct)

Unsafe version of imageView2DOn3DImage.

public static void
nimageView2DOn3DImage(long struct, int value)

Unsafe version of imageView2DOn3DImage.

public static int
public static void
nimageViewFormatReinterpretation(long struct, int value)

Unsafe version of imageViewFormatReinterpretation.

public static int
nimageViewFormatSwizzle(long struct)

Unsafe version of imageViewFormatSwizzle.

public static void
nimageViewFormatSwizzle(long struct, int value)

Unsafe version of imageViewFormatSwizzle.

public static int
nmultisampleArrayImage(long struct)

Unsafe version of multisampleArrayImage.

public static void
nmultisampleArrayImage(long struct, int value)

Unsafe version of multisampleArrayImage.

public static int
public static void
nmutableComparisonSamplers(long struct, int value)

Unsafe version of mutableComparisonSamplers.

public static long
npNext(long struct)

Unsafe version of pNext.

public static void
npNext(long struct, long value)

Unsafe version of pNext.

public static int
npointPolygons(long struct)

Unsafe version of pointPolygons.

public static void
npointPolygons(long struct, int value)

Unsafe version of pointPolygons.

public static int
nsamplerMipLodBias(long struct)

Unsafe version of samplerMipLodBias.

public static void
nsamplerMipLodBias(long struct, int value)

Unsafe version of samplerMipLodBias.

public static int
nseparateStencilMaskRef(long struct)

Unsafe version of separateStencilMaskRef.

public static void
nseparateStencilMaskRef(long struct, int value)

Unsafe version of separateStencilMaskRef.

public static int
public static void
public static int
nsType(long struct)

Unsafe version of sType.

public static void
nsType(long struct, int value)

Unsafe version of sType.

public static int
ntessellationIsolines(long struct)

Unsafe version of tessellationIsolines.

public static void
ntessellationIsolines(long struct, int value)

Unsafe version of tessellationIsolines.

public static int
ntessellationPointMode(long struct)

Unsafe version of tessellationPointMode.

public static void
ntessellationPointMode(long struct, int value)

Unsafe version of tessellationPointMode.

public static int
ntriangleFans(long struct)

Unsafe version of triangleFans.

public static void
ntriangleFans(long struct, int value)

Unsafe version of triangleFans.

public static int
public static void
public long
pNext()

NULL or a pointer to a structure extending this structure.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
pNext(long value)

Sets the specified value to the pNext field.

public boolean
pointPolygons()

indicates whether this implementation supports Rasterization using a point Polygon Mode.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
pointPolygons(boolean value)

Sets the specified value to the pointPolygons field.

public boolean
samplerMipLodBias()

indicates whether this implementation supports setting a mipmap LOD bias value when creating a sampler.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
samplerMipLodBias(boolean value)

Sets the specified value to the samplerMipLodBias field.

public boolean
separateStencilMaskRef()

indicates whether this implementation supports separate front and back Stencil Test reference values.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
separateStencilMaskRef(boolean value)

Sets the specified value to the separateStencilMaskRef field.

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 struct
set
(VkPhysicalDevicePortabilitySubsetFeaturesKHR
the source struct
src
)

Copies the specified struct data to this struct.

public boolean
shaderSampleRateInterpolationFunctions()

indicates whether this implementation supports fragment shaders which use the InterpolationFunction capability and the extended instructions InterpolateAtCentroid, InterpolateAtOffset, and InterpolateAtSample from the GLSL.std.450 extended instruction set.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
shaderSampleRateInterpolationFunctions(boolean value)

Sets the specified value to the shaderSampleRateInterpolationFunctions field.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public int
sType()

a VkStructureType value identifying this structure.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
sType(int value)

Sets the specified value to the sType field.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
public boolean
tessellationIsolines()

indicates whether this implementation supports isoline output from the Tessellation stage of a graphics pipeline.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
tessellationIsolines(boolean value)

Sets the specified value to the tessellationIsolines field.

public boolean
tessellationPointMode()

indicates whether this implementation supports point output from the Tessellation stage of a graphics pipeline.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
tessellationPointMode(boolean value)

Sets the specified value to the tessellationPointMode field.

public boolean
triangleFans()

indicates whether this implementation supports Triangle Fans primitive topology.

public VkPhysicalDevicePortabilitySubsetFeaturesKHR
triangleFans(boolean value)

Sets the specified value to the triangleFans field.

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 vertexAttributeAccessBeyondStride field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate