Class VkDrmFormatModifierPropertiesEXT
java.lang.Object
overrungl.struct.GroupType
overrungl.vulkan.ext.struct.VkDrmFormatModifierPropertiesEXT
- All Implemented Interfaces:
 Addressable
Represents VkDrmFormatModifierPropertiesEXT.
Layout
struct VkDrmFormatModifierPropertiesEXT {
    uint64_t drmFormatModifier;
    uint32_t drmFormatModifierPlaneCount;
    ((uint32_t) VkFlags) VkFormatFeatureFlags drmFormatModifierTilingFeatures;
};
- 
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StructLayoutThe struct layout ofVkDrmFormatModifierPropertiesEXT.static final MemoryLayoutThe memory layout ofdrmFormatModifier.static final MemoryLayoutThe memory layout ofdrmFormatModifierPlaneCount.static final MemoryLayoutThe memory layout ofdrmFormatModifierTilingFeatures.static final longThe byte offset ofdrmFormatModifier.static final longThe byte offset ofdrmFormatModifierPlaneCount.static final longThe byte offset ofdrmFormatModifierTilingFeatures.static final VarHandleTheVarHandleofdrmFormatModifierof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofdrmFormatModifierPlaneCountof type(MemorySegment base, long baseOffset, long index)MemorySegment.static final VarHandleTheVarHandleofdrmFormatModifierTilingFeaturesof type(MemorySegment base, long baseOffset, long index)MemorySegment. - 
Constructor Summary
ConstructorsConstructorDescriptionVkDrmFormatModifierPropertiesEXT(MemorySegment segment, long elementCount) CreatesVkDrmFormatModifierPropertiesEXTwith the given segment. - 
Method Summary
Modifier and TypeMethodDescriptionalloc(SegmentAllocator allocator) Allocates aVkDrmFormatModifierPropertiesEXTwith the given segment allocator.alloc(SegmentAllocator allocator, long count) Allocates aVkDrmFormatModifierPropertiesEXTwith the given segment allocator and count.asSlice(long index) Creates a slice ofVkDrmFormatModifierPropertiesEXT.asSlice(long index, long count) Creates a slice ofVkDrmFormatModifierPropertiesEXT.at(long index, Consumer<VkDrmFormatModifierPropertiesEXT> func) VisitsVkDrmFormatModifierPropertiesEXTbuffer at the given index.Copies from the given source.longReturnsdrmFormatModifier.drmFormatModifier(long value) SetsdrmFormatModifierwith the given value.static longdrmFormatModifier(MemorySegment segment, long index) ReturnsdrmFormatModifierat the given index.static voiddrmFormatModifier(MemorySegment segment, long index, long value) SetsdrmFormatModifierwith the given value at the given index.longdrmFormatModifierAt(long index) ReturnsdrmFormatModifierat the given index.drmFormatModifierAt(long index, long value) SetsdrmFormatModifierwith the given value at the given index.intReturnsdrmFormatModifierPlaneCount.drmFormatModifierPlaneCount(int value) SetsdrmFormatModifierPlaneCountwith the given value.static intdrmFormatModifierPlaneCount(MemorySegment segment, long index) ReturnsdrmFormatModifierPlaneCountat the given index.static voiddrmFormatModifierPlaneCount(MemorySegment segment, long index, int value) SetsdrmFormatModifierPlaneCountwith the given value at the given index.intdrmFormatModifierPlaneCountAt(long index) ReturnsdrmFormatModifierPlaneCountat the given index.drmFormatModifierPlaneCountAt(long index, int value) SetsdrmFormatModifierPlaneCountwith the given value at the given index.intReturnsdrmFormatModifierTilingFeatures.drmFormatModifierTilingFeatures(int value) SetsdrmFormatModifierTilingFeatureswith the given value.static intdrmFormatModifierTilingFeatures(MemorySegment segment, long index) ReturnsdrmFormatModifierTilingFeaturesat the given index.static voiddrmFormatModifierTilingFeatures(MemorySegment segment, long index, int value) SetsdrmFormatModifierTilingFeatureswith the given value at the given index.intdrmFormatModifierTilingFeaturesAt(long index) ReturnsdrmFormatModifierTilingFeaturesat the given index.drmFormatModifierTilingFeaturesAt(long index, int value) SetsdrmFormatModifierTilingFeatureswith the given value at the given index.of(MemorySegment segment) CreatesVkDrmFormatModifierPropertiesEXTwith the given segment.ofNative(MemorySegment segment) CreatesVkDrmFormatModifierPropertiesEXTwith the given segment.ofNative(MemorySegment segment, long count) CreatesVkDrmFormatModifierPropertiesEXTwith the given segment.reinterpret(long count) Reinterprets this buffer with the given count.Methods inherited from class GroupType
estimateCount, estimateCount, groupLayout, segment 
- 
Field Details
- 
LAYOUT
The struct layout ofVkDrmFormatModifierPropertiesEXT. - 
OFFSET_drmFormatModifier
public static final long OFFSET_drmFormatModifierThe byte offset ofdrmFormatModifier. - 
LAYOUT_drmFormatModifier
The memory layout ofdrmFormatModifier. - 
VH_drmFormatModifier
 - 
OFFSET_drmFormatModifierPlaneCount
public static final long OFFSET_drmFormatModifierPlaneCountThe byte offset ofdrmFormatModifierPlaneCount. - 
LAYOUT_drmFormatModifierPlaneCount
The memory layout ofdrmFormatModifierPlaneCount. - 
VH_drmFormatModifierPlaneCount
 - 
OFFSET_drmFormatModifierTilingFeatures
public static final long OFFSET_drmFormatModifierTilingFeaturesThe byte offset ofdrmFormatModifierTilingFeatures. - 
LAYOUT_drmFormatModifierTilingFeatures
The memory layout ofdrmFormatModifierTilingFeatures. - 
VH_drmFormatModifierTilingFeatures
 
 - 
 - 
Constructor Details
- 
VkDrmFormatModifierPropertiesEXT
CreatesVkDrmFormatModifierPropertiesEXTwith the given segment.- Parameters:
 segment- the memory segmentelementCount- the element count of this struct buffer
 
 - 
 - 
Method Details
- 
of
CreatesVkDrmFormatModifierPropertiesEXTwith the given segment.- Parameters:
 segment- the memory segment- Returns:
 - the created instance or 
nullif the segment isNULL 
 - 
ofNative
Creates
VkDrmFormatModifierPropertiesEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
 segment- the memory segment- Returns:
 - the created instance or 
nullif the segment isNULL 
 - 
ofNative
Creates
VkDrmFormatModifierPropertiesEXTwith the given segment.Reinterprets the segment if zero-length.
- Parameters:
 segment- the memory segmentcount- the count of the buffer- Returns:
 - the created instance or 
nullif the segment isNULL 
 - 
alloc
Allocates aVkDrmFormatModifierPropertiesEXTwith the given segment allocator.- Parameters:
 allocator- the segment allocator- Returns:
 - the allocated 
VkDrmFormatModifierPropertiesEXT 
 - 
alloc
Allocates aVkDrmFormatModifierPropertiesEXTwith the given segment allocator and count.- Parameters:
 allocator- the segment allocatorcount- the count- Returns:
 - the allocated 
VkDrmFormatModifierPropertiesEXT 
 - 
copyFrom
Copies from the given source.- Parameters:
 src- the source- Returns:
 this
 - 
reinterpret
Reinterprets this buffer with the given count.- Parameters:
 count- the new count- Returns:
 - the reinterpreted buffer
 
 - 
drmFormatModifier
ReturnsdrmFormatModifierat the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffer- Returns:
 drmFormatModifierat the given index
 - 
drmFormatModifier
public long drmFormatModifier()ReturnsdrmFormatModifier.- Returns:
 drmFormatModifier
 - 
drmFormatModifier
SetsdrmFormatModifierwith the given value at the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffervalue- the value
 - 
drmFormatModifier
SetsdrmFormatModifierwith the given value.- Parameters:
 value- the value- Returns:
 this
 - 
drmFormatModifierPlaneCount
ReturnsdrmFormatModifierPlaneCountat the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffer- Returns:
 drmFormatModifierPlaneCountat the given index
 - 
drmFormatModifierPlaneCount
public int drmFormatModifierPlaneCount()ReturnsdrmFormatModifierPlaneCount.- Returns:
 drmFormatModifierPlaneCount
 - 
drmFormatModifierPlaneCount
SetsdrmFormatModifierPlaneCountwith the given value at the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffervalue- the value
 - 
drmFormatModifierPlaneCount
SetsdrmFormatModifierPlaneCountwith the given value.- Parameters:
 value- the value- Returns:
 this
 - 
drmFormatModifierTilingFeatures
ReturnsdrmFormatModifierTilingFeaturesat the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffer- Returns:
 drmFormatModifierTilingFeaturesat the given index
 - 
drmFormatModifierTilingFeatures
public int drmFormatModifierTilingFeatures()ReturnsdrmFormatModifierTilingFeatures.- Returns:
 drmFormatModifierTilingFeatures
 - 
drmFormatModifierTilingFeatures
SetsdrmFormatModifierTilingFeatureswith the given value at the given index.- Parameters:
 segment- the segment of the structindex- the index of the struct buffervalue- the value
 - 
drmFormatModifierTilingFeatures
SetsdrmFormatModifierTilingFeatureswith the given value.- Parameters:
 value- the value- Returns:
 this
 - 
asSlice
Creates a slice ofVkDrmFormatModifierPropertiesEXT.- Parameters:
 index- the index of the struct buffer- Returns:
 - the slice of 
VkDrmFormatModifierPropertiesEXT 
 - 
asSlice
Creates a slice ofVkDrmFormatModifierPropertiesEXT.- Parameters:
 index- the index of the struct buffercount- the count- Returns:
 - the slice of 
VkDrmFormatModifierPropertiesEXT 
 - 
at
public VkDrmFormatModifierPropertiesEXT at(long index, Consumer<VkDrmFormatModifierPropertiesEXT> func) VisitsVkDrmFormatModifierPropertiesEXTbuffer at the given index.- Parameters:
 index- the index of this bufferfunc- the function to run with the slice of this buffer- Returns:
 this
 - 
drmFormatModifierAt
public long drmFormatModifierAt(long index) ReturnsdrmFormatModifierat the given index.- Parameters:
 index- the index of the struct buffer- Returns:
 drmFormatModifierat the given index
 - 
drmFormatModifierAt
SetsdrmFormatModifierwith the given value at the given index.- Parameters:
 index- the index of the struct buffervalue- the value- Returns:
 this
 - 
drmFormatModifierPlaneCountAt
public int drmFormatModifierPlaneCountAt(long index) ReturnsdrmFormatModifierPlaneCountat the given index.- Parameters:
 index- the index of the struct buffer- Returns:
 drmFormatModifierPlaneCountat the given index
 - 
drmFormatModifierPlaneCountAt
SetsdrmFormatModifierPlaneCountwith the given value at the given index.- Parameters:
 index- the index of the struct buffervalue- the value- Returns:
 this
 - 
drmFormatModifierTilingFeaturesAt
public int drmFormatModifierTilingFeaturesAt(long index) ReturnsdrmFormatModifierTilingFeaturesat the given index.- Parameters:
 index- the index of the struct buffer- Returns:
 drmFormatModifierTilingFeaturesat the given index
 - 
drmFormatModifierTilingFeaturesAt
SetsdrmFormatModifierTilingFeatureswith the given value at the given index.- Parameters:
 index- the index of the struct buffervalue- the value- Returns:
 this
 
 -