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_FUCHSIAsysmemColorSpaceIndex.autoInit()
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 recordRepresents a pointer to / an array ofVkBufferCollectionPropertiesFUCHSIAstructure(s) in native memory. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final longstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final AddressLayoutstatic final StructLayoutstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final ValueLayout.OfIntstatic final StructLayoutstatic final ValueLayout.OfLongstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final MemoryLayout.PathElementstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final longstatic final long -
Constructor Summary
ConstructorsConstructorDescriptionVkBufferCollectionPropertiesFUCHSIA(@NotNull MemorySegment segment) Creates an instance of aVkBufferCollectionPropertiesFUCHSIArecord class. -
Method Summary
Modifier and TypeMethodDescriptionvoidautoInit()intbufferCount(int value) clone(Arena arena, VkBufferCollectionPropertiesFUCHSIA src) intcreateInfoIndex(int value) final booleanIndicates whether some other object is "equal to" this one.intformatFeatures(int value) final inthashCode()Returns a hash code value for this object.intmemoryTypeBits(int value) @NotNull MemorySegmentpNext()pNext(@NotNull MemorySegment value) @NotNull VkComponentMappingsamplerYcbcrConversionComponents(@NotNull VkComponentMapping value) samplerYcbcrConversionComponents(Consumer<@NotNull VkComponentMapping> consumer) @NotNull MemorySegmentsegment()Returns the value of thesegmentrecord component.intsType()sType(int value) intsuggestedXChromaOffset(int value) intsuggestedYcbcrModel(int value) intsuggestedYcbcrRange(int value) intsuggestedYChromaOffset(int value) @NotNull VkSysmemColorSpaceFUCHSIAsysmemColorSpaceIndex(@NotNull VkSysmemColorSpaceFUCHSIA value) sysmemColorSpaceIndex(Consumer<@NotNull VkSysmemColorSpaceFUCHSIA> consumer) longsysmemPixelFormat(long value) final StringtoString()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 aVkBufferCollectionPropertiesFUCHSIArecord class.- Parameters:
segment- the value for thesegmentrecord component
-
-
Method Details
-
allocate
-
allocate
-
clone
public static VkBufferCollectionPropertiesFUCHSIA clone(Arena arena, VkBufferCollectionPropertiesFUCHSIA src) -
autoInit
public void autoInit() -
sType
-
sType
-
pNext
-
pNext
public VkBufferCollectionPropertiesFUCHSIA pNext(@Pointer(comment="void*") @NotNull @NotNull MemorySegment value) -
pNext
-
memoryTypeBits
-
memoryTypeBits
-
bufferCount
-
bufferCount
-
createInfoIndex
-
createInfoIndex
-
sysmemPixelFormat
-
sysmemPixelFormat
-
formatFeatures
-
formatFeatures
public VkBufferCollectionPropertiesFUCHSIA formatFeatures(@Bitmask(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 thesegmentrecord component.
-