Record Class VkPhysicalDevicePortabilitySubsetFeaturesKHR
- All Implemented Interfaces:
IPointer
,IVkPhysicalDevicePortabilitySubsetFeaturesKHR
Represents a pointer to a VkPhysicalDevicePortabilitySubsetFeaturesKHR
structure in native memory.
Structure
typedef struct VkPhysicalDevicePortabilitySubsetFeaturesKHR {
VkStructureType
sType
;
void* pNext
; // optional
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
;
} VkPhysicalDevicePortabilitySubsetFeaturesKHR;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PORTABILITY_SUBSET_FEATURES_KHR
The allocate
(allocate(Arena)
, allocate(Arena, long)
)
functions will automatically initialize these fields. Also, you may call autoInit()
to initialize these fields manually for non-allocated instances.
Contracts
The property segment()
should always be not-null
(segment != NULL && !segment.equals(MemorySegment.NULL)
), and properly aligned to
LAYOUT.byteAlignment()
bytes. To represent null pointer, you may use a Java
null
instead. See the documentation of IPointer.segment()
for more details.
The constructor of this class is marked as UnsafeConstructor
, because it does not
perform any runtime check. The constructor can be useful for automatic code generators.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final record
Represents a pointer to / an array ofVkPhysicalDevicePortabilitySubsetFeaturesKHR
structure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final long
static final StructLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final AddressLayout
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final ValueLayout.OfInt
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final MemoryLayout.PathElement
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
static final long
-
Constructor Summary
ConstructorsConstructorDescriptionVkPhysicalDevicePortabilitySubsetFeaturesKHR
(@NotNull MemorySegment segment) Creates an instance of aVkPhysicalDevicePortabilitySubsetFeaturesKHR
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
clone
(Arena arena, VkPhysicalDevicePortabilitySubsetFeaturesKHR src) int
constantAlphaColorBlendFactors
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
events()
events
(int value) final int
hashCode()
Returns a hash code value for this object.int
imageView2DOn3DImage
(int value) int
imageViewFormatReinterpretation
(int value) int
imageViewFormatSwizzle
(int value) int
multisampleArrayImage
(int value) int
mutableComparisonSamplers
(int value) pNext()
void
pNext
(MemorySegment value) int
pointPolygons
(int value) int
samplerMipLodBias
(int value) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
separateStencilMaskRef
(int value) int
shaderSampleRateInterpolationFunctions
(int value) int
sType()
sType
(int value) int
tessellationIsolines
(int value) int
tessellationPointMode
(int value) final String
toString()
Returns a string representation of this record class.int
triangleFans
(int value) int
vertexAttributeAccessBeyondStride
(int value)
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$constantAlphaColorBlendFactors
-
PATH$events
-
PATH$imageViewFormatReinterpretation
-
PATH$imageViewFormatSwizzle
-
PATH$imageView2DOn3DImage
-
PATH$multisampleArrayImage
-
PATH$mutableComparisonSamplers
-
PATH$pointPolygons
-
PATH$samplerMipLodBias
-
PATH$separateStencilMaskRef
-
PATH$shaderSampleRateInterpolationFunctions
-
PATH$tessellationIsolines
-
PATH$tessellationPointMode
-
PATH$triangleFans
-
PATH$vertexAttributeAccessBeyondStride
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$constantAlphaColorBlendFactors
-
LAYOUT$events
-
LAYOUT$imageViewFormatReinterpretation
-
LAYOUT$imageViewFormatSwizzle
-
LAYOUT$imageView2DOn3DImage
-
LAYOUT$multisampleArrayImage
-
LAYOUT$mutableComparisonSamplers
-
LAYOUT$pointPolygons
-
LAYOUT$samplerMipLodBias
-
LAYOUT$separateStencilMaskRef
-
LAYOUT$shaderSampleRateInterpolationFunctions
-
LAYOUT$tessellationIsolines
-
LAYOUT$tessellationPointMode
-
LAYOUT$triangleFans
-
LAYOUT$vertexAttributeAccessBeyondStride
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$constantAlphaColorBlendFactors
public static final long SIZE$constantAlphaColorBlendFactors -
SIZE$events
public static final long SIZE$events -
SIZE$imageViewFormatReinterpretation
public static final long SIZE$imageViewFormatReinterpretation -
SIZE$imageViewFormatSwizzle
public static final long SIZE$imageViewFormatSwizzle -
SIZE$imageView2DOn3DImage
public static final long SIZE$imageView2DOn3DImage -
SIZE$multisampleArrayImage
public static final long SIZE$multisampleArrayImage -
SIZE$mutableComparisonSamplers
public static final long SIZE$mutableComparisonSamplers -
SIZE$pointPolygons
public static final long SIZE$pointPolygons -
SIZE$samplerMipLodBias
public static final long SIZE$samplerMipLodBias -
SIZE$separateStencilMaskRef
public static final long SIZE$separateStencilMaskRef -
SIZE$shaderSampleRateInterpolationFunctions
public static final long SIZE$shaderSampleRateInterpolationFunctions -
SIZE$tessellationIsolines
public static final long SIZE$tessellationIsolines -
SIZE$tessellationPointMode
public static final long SIZE$tessellationPointMode -
SIZE$triangleFans
public static final long SIZE$triangleFans -
SIZE$vertexAttributeAccessBeyondStride
public static final long SIZE$vertexAttributeAccessBeyondStride -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$constantAlphaColorBlendFactors
public static final long OFFSET$constantAlphaColorBlendFactors -
OFFSET$events
public static final long OFFSET$events -
OFFSET$imageViewFormatReinterpretation
public static final long OFFSET$imageViewFormatReinterpretation -
OFFSET$imageViewFormatSwizzle
public static final long OFFSET$imageViewFormatSwizzle -
OFFSET$imageView2DOn3DImage
public static final long OFFSET$imageView2DOn3DImage -
OFFSET$multisampleArrayImage
public static final long OFFSET$multisampleArrayImage -
OFFSET$mutableComparisonSamplers
public static final long OFFSET$mutableComparisonSamplers -
OFFSET$pointPolygons
public static final long OFFSET$pointPolygons -
OFFSET$samplerMipLodBias
public static final long OFFSET$samplerMipLodBias -
OFFSET$separateStencilMaskRef
public static final long OFFSET$separateStencilMaskRef -
OFFSET$shaderSampleRateInterpolationFunctions
public static final long OFFSET$shaderSampleRateInterpolationFunctions -
OFFSET$tessellationIsolines
public static final long OFFSET$tessellationIsolines -
OFFSET$tessellationPointMode
public static final long OFFSET$tessellationPointMode -
OFFSET$triangleFans
public static final long OFFSET$triangleFans -
OFFSET$vertexAttributeAccessBeyondStride
public static final long OFFSET$vertexAttributeAccessBeyondStride
-
-
Constructor Details
-
VkPhysicalDevicePortabilitySubsetFeaturesKHR
Creates an instance of aVkPhysicalDevicePortabilitySubsetFeaturesKHR
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkPhysicalDevicePortabilitySubsetFeaturesKHR clone(Arena arena, VkPhysicalDevicePortabilitySubsetFeaturesKHR src) -
autoInit
public void autoInit() -
sType
-
sType
public VkPhysicalDevicePortabilitySubsetFeaturesKHR sType(@EnumType(VkStructureType.class) int value) -
pNext
-
pNext
-
pNext
-
constantAlphaColorBlendFactors
-
constantAlphaColorBlendFactors
public VkPhysicalDevicePortabilitySubsetFeaturesKHR constantAlphaColorBlendFactors(@NativeType("VkBool32") @Unsigned int value) -
events
-
events
public VkPhysicalDevicePortabilitySubsetFeaturesKHR events(@NativeType("VkBool32") @Unsigned int value) -
imageViewFormatReinterpretation
-
imageViewFormatReinterpretation
public VkPhysicalDevicePortabilitySubsetFeaturesKHR imageViewFormatReinterpretation(@NativeType("VkBool32") @Unsigned int value) -
imageViewFormatSwizzle
-
imageViewFormatSwizzle
public VkPhysicalDevicePortabilitySubsetFeaturesKHR imageViewFormatSwizzle(@NativeType("VkBool32") @Unsigned int value) -
imageView2DOn3DImage
-
imageView2DOn3DImage
public VkPhysicalDevicePortabilitySubsetFeaturesKHR imageView2DOn3DImage(@NativeType("VkBool32") @Unsigned int value) -
multisampleArrayImage
-
multisampleArrayImage
public VkPhysicalDevicePortabilitySubsetFeaturesKHR multisampleArrayImage(@NativeType("VkBool32") @Unsigned int value) -
mutableComparisonSamplers
-
mutableComparisonSamplers
public VkPhysicalDevicePortabilitySubsetFeaturesKHR mutableComparisonSamplers(@NativeType("VkBool32") @Unsigned int value) -
pointPolygons
-
pointPolygons
public VkPhysicalDevicePortabilitySubsetFeaturesKHR pointPolygons(@NativeType("VkBool32") @Unsigned int value) -
samplerMipLodBias
-
samplerMipLodBias
public VkPhysicalDevicePortabilitySubsetFeaturesKHR samplerMipLodBias(@NativeType("VkBool32") @Unsigned int value) -
separateStencilMaskRef
-
separateStencilMaskRef
public VkPhysicalDevicePortabilitySubsetFeaturesKHR separateStencilMaskRef(@NativeType("VkBool32") @Unsigned int value) -
shaderSampleRateInterpolationFunctions
-
shaderSampleRateInterpolationFunctions
public VkPhysicalDevicePortabilitySubsetFeaturesKHR shaderSampleRateInterpolationFunctions(@NativeType("VkBool32") @Unsigned int value) -
tessellationIsolines
-
tessellationIsolines
public VkPhysicalDevicePortabilitySubsetFeaturesKHR tessellationIsolines(@NativeType("VkBool32") @Unsigned int value) -
tessellationPointMode
-
tessellationPointMode
public VkPhysicalDevicePortabilitySubsetFeaturesKHR tessellationPointMode(@NativeType("VkBool32") @Unsigned int value) -
triangleFans
-
triangleFans
public VkPhysicalDevicePortabilitySubsetFeaturesKHR triangleFans(@NativeType("VkBool32") @Unsigned int value) -
vertexAttributeAccessBeyondStride
-
vertexAttributeAccessBeyondStride
public VkPhysicalDevicePortabilitySubsetFeaturesKHR vertexAttributeAccessBeyondStride(@NativeType("VkBool32") @Unsigned int value) -
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object)
. -
segment
Returns the value of thesegment
record component.
-