Record Class VkBufferCollectionPropertiesFUCHSIA
- All Implemented Interfaces:
IPointer
,IVkBufferCollectionPropertiesFUCHSIA
Represents a pointer to a VkBufferCollectionPropertiesFUCHSIA
structure in native memory.
Structure
typedef struct VkBufferCollectionPropertiesFUCHSIA {
VkStructureType
sType
;
void* pNext
; // optional
uint32_t memoryTypeBits
;
uint32_t bufferCount
;
uint32_t createInfoIndex
;
uint64_t sysmemPixelFormat
;
VkFormatFeatureFlags
formatFeatures
;
VkSysmemColorSpaceFUCHSIA
sysmemColorSpaceIndex
;
VkComponentMapping
samplerYcbcrConversionComponents
;
VkSamplerYcbcrModelConversion
suggestedYcbcrModel
;
VkSamplerYcbcrRange
suggestedYcbcrRange
;
VkChromaLocation
suggestedXChromaOffset
;
VkChromaLocation
suggestedYChromaOffset
;
} VkBufferCollectionPropertiesFUCHSIA;
Auto initialization
This structure has the following members that can be automatically initialized:
sType = VK_STRUCTURE_TYPE_BUFFER_COLLECTION_PROPERTIES_FUCHSIA
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 ofVkBufferCollectionPropertiesFUCHSIA
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 AddressLayout
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 StructLayout
static final ValueLayout.OfLong
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 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
ConstructorsConstructorDescriptionVkBufferCollectionPropertiesFUCHSIA
(@NotNull MemorySegment segment) Creates an instance of aVkBufferCollectionPropertiesFUCHSIA
record class. -
Method Summary
Modifier and TypeMethodDescriptionvoid
autoInit()
int
bufferCount
(int value) clone
(Arena arena, VkBufferCollectionPropertiesFUCHSIA src) int
createInfoIndex
(int value) final boolean
Indicates whether some other object is "equal to" this one.int
formatFeatures
(int value) final int
hashCode()
Returns a hash code value for this object.int
memoryTypeBits
(int value) pNext()
void
pNext
(MemorySegment value) @NotNull VkComponentMapping
samplerYcbcrConversionComponents
(@NotNull VkComponentMapping value) samplerYcbcrConversionComponents
(Consumer<@NotNull VkComponentMapping> consumer) @NotNull MemorySegment
segment()
Returns the value of thesegment
record component.int
sType()
sType
(int value) int
suggestedXChromaOffset
(int value) int
suggestedYcbcrModel
(int value) int
suggestedYcbcrRange
(int value) int
suggestedYChromaOffset
(int value) @NotNull VkSysmemColorSpaceFUCHSIA
sysmemColorSpaceIndex
(@NotNull VkSysmemColorSpaceFUCHSIA value) sysmemColorSpaceIndex
(Consumer<@NotNull VkSysmemColorSpaceFUCHSIA> consumer) long
sysmemPixelFormat
(long value) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
LAYOUT
-
BYTES
public static final long BYTES -
PATH$sType
-
PATH$pNext
-
PATH$memoryTypeBits
-
PATH$bufferCount
-
PATH$createInfoIndex
-
PATH$sysmemPixelFormat
-
PATH$formatFeatures
-
PATH$sysmemColorSpaceIndex
-
PATH$samplerYcbcrConversionComponents
-
PATH$suggestedYcbcrModel
-
PATH$suggestedYcbcrRange
-
PATH$suggestedXChromaOffset
-
PATH$suggestedYChromaOffset
-
LAYOUT$sType
-
LAYOUT$pNext
-
LAYOUT$memoryTypeBits
-
LAYOUT$bufferCount
-
LAYOUT$createInfoIndex
-
LAYOUT$sysmemPixelFormat
-
LAYOUT$formatFeatures
-
LAYOUT$sysmemColorSpaceIndex
-
LAYOUT$samplerYcbcrConversionComponents
-
LAYOUT$suggestedYcbcrModel
-
LAYOUT$suggestedYcbcrRange
-
LAYOUT$suggestedXChromaOffset
-
LAYOUT$suggestedYChromaOffset
-
SIZE$sType
public static final long SIZE$sType -
SIZE$pNext
public static final long SIZE$pNext -
SIZE$memoryTypeBits
public static final long SIZE$memoryTypeBits -
SIZE$bufferCount
public static final long SIZE$bufferCount -
SIZE$createInfoIndex
public static final long SIZE$createInfoIndex -
SIZE$sysmemPixelFormat
public static final long SIZE$sysmemPixelFormat -
SIZE$formatFeatures
public static final long SIZE$formatFeatures -
SIZE$sysmemColorSpaceIndex
public static final long SIZE$sysmemColorSpaceIndex -
SIZE$samplerYcbcrConversionComponents
public static final long SIZE$samplerYcbcrConversionComponents -
SIZE$suggestedYcbcrModel
public static final long SIZE$suggestedYcbcrModel -
SIZE$suggestedYcbcrRange
public static final long SIZE$suggestedYcbcrRange -
SIZE$suggestedXChromaOffset
public static final long SIZE$suggestedXChromaOffset -
SIZE$suggestedYChromaOffset
public static final long SIZE$suggestedYChromaOffset -
OFFSET$sType
public static final long OFFSET$sType -
OFFSET$pNext
public static final long OFFSET$pNext -
OFFSET$memoryTypeBits
public static final long OFFSET$memoryTypeBits -
OFFSET$bufferCount
public static final long OFFSET$bufferCount -
OFFSET$createInfoIndex
public static final long OFFSET$createInfoIndex -
OFFSET$sysmemPixelFormat
public static final long OFFSET$sysmemPixelFormat -
OFFSET$formatFeatures
public static final long OFFSET$formatFeatures -
OFFSET$sysmemColorSpaceIndex
public static final long OFFSET$sysmemColorSpaceIndex -
OFFSET$samplerYcbcrConversionComponents
public static final long OFFSET$samplerYcbcrConversionComponents -
OFFSET$suggestedYcbcrModel
public static final long OFFSET$suggestedYcbcrModel -
OFFSET$suggestedYcbcrRange
public static final long OFFSET$suggestedYcbcrRange -
OFFSET$suggestedXChromaOffset
public static final long OFFSET$suggestedXChromaOffset -
OFFSET$suggestedYChromaOffset
public static final long OFFSET$suggestedYChromaOffset
-
-
Constructor Details
-
VkBufferCollectionPropertiesFUCHSIA
Creates an instance of aVkBufferCollectionPropertiesFUCHSIA
record class.- Parameters:
segment
- the value for thesegment
record component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkBufferCollectionPropertiesFUCHSIA clone(Arena arena, VkBufferCollectionPropertiesFUCHSIA src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
-
pNext
-
memoryTypeBits
-
memoryTypeBits
-
bufferCount
-
bufferCount
-
createInfoIndex
-
createInfoIndex
-
sysmemPixelFormat
-
sysmemPixelFormat
-
formatFeatures
-
formatFeatures
public VkBufferCollectionPropertiesFUCHSIA formatFeatures(@EnumType(VkFormatFeatureFlags.class) int value) -
sysmemColorSpaceIndex
-
sysmemColorSpaceIndex
public VkBufferCollectionPropertiesFUCHSIA sysmemColorSpaceIndex(@NotNull @NotNull VkSysmemColorSpaceFUCHSIA value) -
sysmemColorSpaceIndex
public VkBufferCollectionPropertiesFUCHSIA sysmemColorSpaceIndex(Consumer<@NotNull VkSysmemColorSpaceFUCHSIA> consumer) -
samplerYcbcrConversionComponents
-
samplerYcbcrConversionComponents
public VkBufferCollectionPropertiesFUCHSIA samplerYcbcrConversionComponents(@NotNull @NotNull VkComponentMapping value) -
samplerYcbcrConversionComponents
public VkBufferCollectionPropertiesFUCHSIA samplerYcbcrConversionComponents(Consumer<@NotNull VkComponentMapping> consumer) -
suggestedYcbcrModel
-
suggestedYcbcrModel
public VkBufferCollectionPropertiesFUCHSIA suggestedYcbcrModel(@EnumType(VkSamplerYcbcrModelConversion.class) int value) -
suggestedYcbcrRange
-
suggestedYcbcrRange
public VkBufferCollectionPropertiesFUCHSIA suggestedYcbcrRange(@EnumType(VkSamplerYcbcrRange.class) int value) -
suggestedXChromaOffset
-
suggestedXChromaOffset
public VkBufferCollectionPropertiesFUCHSIA suggestedXChromaOffset(@EnumType(VkChromaLocation.class) int value) -
suggestedYChromaOffset
-
suggestedYChromaOffset
public VkBufferCollectionPropertiesFUCHSIA suggestedYChromaOffset(@EnumType(VkChromaLocation.class) 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.
-