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.Buffer
instance backed by the specified container. -
Method Summary
Modifier and TypeMethodDescriptionshort
context_update_tile_id
(short value) Sets the specified value to thecontext_update_tile_id
field.flags()
flags
(Consumer<StdVideoAV1TileInfoFlag> consumer) Passes theflags
field to the specifiedConsumer
.flags
(StdVideoAV1TileInfoFlag value) Copies the specifiedStdVideoAV1TileInfoFlag
to theflags
field.pHeightInSbsMinus1
(ShortBuffer value) Sets the address of the specifiedShortBuffer
to thepHeightInSbsMinus1
field.pMiColStarts
(ShortBuffer value) Sets the address of the specifiedShortBuffer
to thepMiColStarts
field.pMiRowStarts
(ShortBuffer value) Sets the address of the specifiedShortBuffer
to thepMiRowStarts
field.pWidthInSbsMinus1
(ShortBuffer value) Sets the address of the specifiedShortBuffer
to thepWidthInSbsMinus1
field.byte
tile_size_bytes_minus_1
(byte value) Sets the specified value to thetile_size_bytes_minus_1
field.byte
TileCols()
TileCols
(byte value) Sets the specified value to theTileCols
field.byte
TileRows()
TileRows
(byte value) Sets the specified value to theTileRows
field.Methods inherited from class org.lwjgl.system.StructBuffer
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, stream
Methods 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, toString
Methods inherited from class org.lwjgl.system.Pointer.Default
equals, hashCode
Methods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Constructor Details
-
Buffer
Creates a newStdVideoAV1TileInfo.Buffer
instance 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
StdVideoAV1TileInfoFlag
view of theflags
field.
-
TileCols
public byte TileCols()- Returns:
- the value of the
TileCols
field.
-
TileRows
public byte TileRows()- Returns:
- the value of the
TileRows
field.
-
context_update_tile_id
public short context_update_tile_id()- Returns:
- the value of the
context_update_tile_id
field.
-
tile_size_bytes_minus_1
public byte tile_size_bytes_minus_1()- Returns:
- the value of the
tile_size_bytes_minus_1
field.
-
pMiColStarts
- Returns:
- a
ShortBuffer
view of the data pointed to by thepMiColStarts
field.
-
pMiRowStarts
- Returns:
- a
ShortBuffer
view of the data pointed to by thepMiRowStarts
field.
-
pWidthInSbsMinus1
- Returns:
- a
ShortBuffer
view of the data pointed to by thepWidthInSbsMinus1
field.
-
pHeightInSbsMinus1
- Returns:
- a
ShortBuffer
view of the data pointed to by thepHeightInSbsMinus1
field.
-
flags
Copies the specifiedStdVideoAV1TileInfoFlag
to theflags
field. -
flags
Passes theflags
field to the specifiedConsumer
. -
TileCols
Sets the specified value to theTileCols
field. -
TileRows
Sets the specified value to theTileRows
field. -
context_update_tile_id
Sets the specified value to thecontext_update_tile_id
field. -
tile_size_bytes_minus_1
Sets the specified value to thetile_size_bytes_minus_1
field. -
pMiColStarts
Sets the address of the specifiedShortBuffer
to thepMiColStarts
field. -
pMiRowStarts
Sets the address of the specifiedShortBuffer
to thepMiRowStarts
field. -
pWidthInSbsMinus1
Sets the address of the specifiedShortBuffer
to thepWidthInSbsMinus1
field. -
pHeightInSbsMinus1
Sets the address of the specifiedShortBuffer
to thepHeightInSbsMinus1
field.
-