Package org.lwjgl.vulkan.video
Class StdVideoAV1TileInfo.Buffer
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.CustomBuffer<StdVideoAV1TileInfo.Buffer>
org.lwjgl.system.StructBuffer<StdVideoAV1TileInfo,StdVideoAV1TileInfo.Buffer>
org.lwjgl.vulkan.video.StdVideoAV1TileInfo.Buffer
- All Implemented Interfaces:
AutoCloseable,Iterable<StdVideoAV1TileInfo>,NativeResource,Pointer
- Enclosing class:
StdVideoAV1TileInfo
public static class StdVideoAV1TileInfo.Buffer
extends StructBuffer<StdVideoAV1TileInfo,StdVideoAV1TileInfo.Buffer>
implements NativeResource
An array of
StdVideoAV1TileInfo structs.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionBuffer(long address, int cap) Buffer(ByteBuffer container) Creates a newStdVideoAV1TileInfo.Bufferinstance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshortcontext_update_tile_id(short value) Sets the specified value to thecontext_update_tile_idfield.flags()flags(Consumer<StdVideoAV1TileInfoFlag> consumer) Passes theflagsfield to the specifiedConsumer.flags(StdVideoAV1TileInfoFlag value) Copies the specifiedStdVideoAV1TileInfoFlagto theflagsfield.pHeightInSbsMinus1(ShortBuffer value) Sets the address of the specifiedShortBufferto thepHeightInSbsMinus1field.pMiColStarts(ShortBuffer value) Sets the address of the specifiedShortBufferto thepMiColStartsfield.pMiRowStarts(ShortBuffer value) Sets the address of the specifiedShortBufferto thepMiRowStartsfield.pWidthInSbsMinus1(ShortBuffer value) Sets the address of the specifiedShortBufferto thepWidthInSbsMinus1field.bytetile_size_bytes_minus_1(byte value) Sets the specified value to thetile_size_bytes_minus_1field.byteTileCols()TileCols(byte value) Sets the specified value to theTileColsfield.byteTileRows()TileRows(byte value) Sets the specified value to theTileRowsfield.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streamMethods inherited from class org.lwjgl.system.CustomBuffer
address, address, address0, capacity, clear, compact, duplicate, flip, free, hasRemaining, limit, limit, mark, position, position, put, remaining, reset, rewind, slice, slice, toStringMethods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCodeMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1TileInfo.Bufferinstance backed by the specified container.Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided by
StdVideoAV1TileInfo.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Details
-
flags
- Returns:
- a
StdVideoAV1TileInfoFlagview of theflagsfield.
-
TileCols
public byte TileCols()- Returns:
- the value of the
TileColsfield.
-
TileRows
public byte TileRows()- Returns:
- the value of the
TileRowsfield.
-
context_update_tile_id
public short context_update_tile_id()- Returns:
- the value of the
context_update_tile_idfield.
-
tile_size_bytes_minus_1
public byte tile_size_bytes_minus_1()- Returns:
- the value of the
tile_size_bytes_minus_1field.
-
pMiColStarts
- Returns:
- a
ShortBufferview of the data pointed to by thepMiColStartsfield.
-
pMiRowStarts
- Returns:
- a
ShortBufferview of the data pointed to by thepMiRowStartsfield.
-
pWidthInSbsMinus1
- Returns:
- a
ShortBufferview of the data pointed to by thepWidthInSbsMinus1field.
-
pHeightInSbsMinus1
- Returns:
- a
ShortBufferview of the data pointed to by thepHeightInSbsMinus1field.
-
flags
Copies the specifiedStdVideoAV1TileInfoFlagto theflagsfield. -
flags
Passes theflagsfield to the specifiedConsumer. -
TileCols
Sets the specified value to theTileColsfield. -
TileRows
Sets the specified value to theTileRowsfield. -
context_update_tile_id
Sets the specified value to thecontext_update_tile_idfield. -
tile_size_bytes_minus_1
Sets the specified value to thetile_size_bytes_minus_1field. -
pMiColStarts
Sets the address of the specifiedShortBufferto thepMiColStartsfield. -
pMiRowStarts
Sets the address of the specifiedShortBufferto thepMiRowStartsfield. -
pWidthInSbsMinus1
Sets the address of the specifiedShortBufferto thepWidthInSbsMinus1field. -
pHeightInSbsMinus1
Sets the address of the specifiedShortBufferto thepHeightInSbsMinus1field.
-