Package org.lwjgl.vulkan
Class VkVideoEncodeSessionRgbConversionCreateInfoVALVE
java.lang.Object
org.lwjgl.system.Pointer.Default
org.lwjgl.system.Struct<VkVideoEncodeSessionRgbConversionCreateInfoVALVE>
org.lwjgl.vulkan.VkVideoEncodeSessionRgbConversionCreateInfoVALVE
- All Implemented Interfaces:
AutoCloseable,NativeResource,Pointer
public class VkVideoEncodeSessionRgbConversionCreateInfoVALVE
extends Struct<VkVideoEncodeSessionRgbConversionCreateInfoVALVE>
implements NativeResource
struct VkVideoEncodeSessionRgbConversionCreateInfoVALVE {
VkStructureType sType;
void const * pNext;
VkVideoEncodeRgbModelConversionFlagBitsVALVE rgbModel;
VkVideoEncodeRgbRangeCompressionFlagBitsVALVE rgbRange;
VkVideoEncodeRgbChromaOffsetFlagBitsVALVE xChromaOffset;
VkVideoEncodeRgbChromaOffsetFlagBitsVALVE yChromaOffset;
}-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAn array ofVkVideoEncodeSessionRgbConversionCreateInfoVALVEstructs.Nested classes/interfaces inherited from class org.lwjgl.system.Struct
Struct.StructValidationNested classes/interfaces inherited from interface org.lwjgl.system.Pointer
Pointer.Default -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe struct alignment in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct size in bytes.static final intThe struct member offsets.static final intThe struct member offsets.static final intThe struct member offsets.Fields inherited from interface org.lwjgl.system.Pointer
BITS32, BITS64, CLONG_SHIFT, CLONG_SIZE, POINTER_SHIFT, POINTER_SIZE -
Constructor Summary
ConstructorsConstructorDescriptionCreates aVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance at the current position of the specifiedByteBuffercontainer. -
Method Summary
Modifier and TypeMethodDescriptioncalloc()Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withmemCalloc.calloc(int capacity) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withmemCalloc.calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.calloc(MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.create()Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withBufferUtils.create(int capacity) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withBufferUtils.create(long address) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance for the specified memory address.create(long address, int capacity) Create aVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance at the specified memory.static @Nullable VkVideoEncodeSessionRgbConversionCreateInfoVALVEcreateSafe(long address) static @Nullable VkVideoEncodeSessionRgbConversionCreateInfoVALVE.BuffercreateSafe(long address, int capacity) malloc()Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withmemAlloc.malloc(int capacity) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withmemAlloc.malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStack.malloc(MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated on the specifiedMemoryStack.static longnpNext(long struct) Unsafe version ofpNext().static voidnpNext(long struct, long value) Unsafe version ofpNext.static intnrgbModel(long struct) Unsafe version ofrgbModel().static voidnrgbModel(long struct, int value) Unsafe version ofrgbModel.static intnrgbRange(long struct) Unsafe version ofrgbRange().static voidnrgbRange(long struct, int value) Unsafe version ofrgbRange.static intnsType(long struct) Unsafe version ofsType().static voidnsType(long struct, int value) Unsafe version ofsType.static intnxChromaOffset(long struct) Unsafe version ofxChromaOffset().static voidnxChromaOffset(long struct, int value) Unsafe version ofxChromaOffset.static intnyChromaOffset(long struct) Unsafe version ofyChromaOffset().static voidnyChromaOffset(long struct, int value) Unsafe version ofyChromaOffset.longpNext()pNext(long value) Sets the specified value to thepNextfield.intrgbModel()rgbModel(int value) Sets the specified value to thergbModelfield.intrgbRange()rgbRange(int value) Sets the specified value to thergbRangefield.set(int sType, long pNext, int rgbModel, int rgbRange, int xChromaOffset, int yChromaOffset) Initializes this struct with the specified values.Copies the specified struct data to this struct.intsizeof()Returnssizeof(struct).intsType()sType(int value) Sets the specified value to thesTypefield.Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_RGB_CONVERSION_CREATE_INFO_VALVEvalue to thesTypefield.intxChromaOffset(int value) Sets the specified value to thexChromaOffsetfield.intyChromaOffset(int value) Sets the specified value to theyChromaOffsetfield.Methods inherited from class org.lwjgl.system.Pointer.Default
address, equals, hashCode, toStringMethods inherited from interface org.lwjgl.system.NativeResource
close, free
-
Field Details
-
SIZEOF
public static final int SIZEOFThe struct size in bytes. -
ALIGNOF
public static final int ALIGNOFThe struct alignment in bytes. -
STYPE
public static final int STYPEThe struct member offsets. -
PNEXT
public static final int PNEXTThe struct member offsets. -
RGBMODEL
public static final int RGBMODELThe struct member offsets. -
RGBRANGE
public static final int RGBRANGEThe struct member offsets. -
XCHROMAOFFSET
public static final int XCHROMAOFFSETThe struct member offsets. -
YCHROMAOFFSET
public static final int YCHROMAOFFSETThe struct member offsets.
-
-
Constructor Details
-
VkVideoEncodeSessionRgbConversionCreateInfoVALVE
Creates aVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance at the current position of the specifiedByteBuffercontainer. Changes to the buffer's content will be visible to the struct instance and vice versa.The created instance holds a strong reference to the container object.
-
-
Method Details
-
sizeof
public int sizeof()Description copied from class:StructReturnssizeof(struct).- Specified by:
sizeofin classStruct<VkVideoEncodeSessionRgbConversionCreateInfoVALVE>
-
sType
public int sType()- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()- Returns:
- the value of the
pNextfield.
-
rgbModel
public int rgbModel()- Returns:
- the value of the
rgbModelfield.
-
rgbRange
public int rgbRange()- Returns:
- the value of the
rgbRangefield.
-
xChromaOffset
public int xChromaOffset()- Returns:
- the value of the
xChromaOffsetfield.
-
yChromaOffset
public int yChromaOffset()- Returns:
- the value of the
yChromaOffsetfield.
-
sType
Sets the specified value to thesTypefield. -
sType$Default
Sets theSTRUCTURE_TYPE_VIDEO_ENCODE_SESSION_RGB_CONVERSION_CREATE_INFO_VALVEvalue to thesTypefield. -
pNext
Sets the specified value to thepNextfield. -
rgbModel
Sets the specified value to thergbModelfield. -
rgbRange
Sets the specified value to thergbRangefield. -
xChromaOffset
Sets the specified value to thexChromaOffsetfield. -
yChromaOffset
Sets the specified value to theyChromaOffsetfield. -
set
public VkVideoEncodeSessionRgbConversionCreateInfoVALVE set(int sType, long pNext, int rgbModel, int rgbRange, int xChromaOffset, int yChromaOffset) Initializes this struct with the specified values. -
set
public VkVideoEncodeSessionRgbConversionCreateInfoVALVE set(VkVideoEncodeSessionRgbConversionCreateInfoVALVE src) Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withmemAlloc. The instance must be explicitly freed. -
calloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withmemCalloc. The instance must be explicitly freed. -
create
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated withBufferUtils. -
create
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance for the specified memory address. -
createSafe
-
malloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkVideoEncodeSessionRgbConversionCreateInfoVALVE.Buffer create(long address, int capacity) Create aVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
public static @Nullable VkVideoEncodeSessionRgbConversionCreateInfoVALVE.Buffer createSafe(long address, int capacity) -
malloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVEinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkVideoEncodeSessionRgbConversionCreateInfoVALVE.Buffer malloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
calloc
public static VkVideoEncodeSessionRgbConversionCreateInfoVALVE.Buffer calloc(int capacity, MemoryStack stack) Returns a newVkVideoEncodeSessionRgbConversionCreateInfoVALVE.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacitystack- the stack from which to allocate
-
nsType
public static int nsType(long struct) Unsafe version ofsType(). -
npNext
public static long npNext(long struct) Unsafe version ofpNext(). -
nrgbModel
public static int nrgbModel(long struct) Unsafe version ofrgbModel(). -
nrgbRange
public static int nrgbRange(long struct) Unsafe version ofrgbRange(). -
nxChromaOffset
public static int nxChromaOffset(long struct) Unsafe version ofxChromaOffset(). -
nyChromaOffset
public static int nyChromaOffset(long struct) Unsafe version ofyChromaOffset(). -
nsType
public static void nsType(long struct, int value) Unsafe version ofsType. -
npNext
public static void npNext(long struct, long value) Unsafe version ofpNext. -
nrgbModel
public static void nrgbModel(long struct, int value) Unsafe version ofrgbModel. -
nrgbRange
public static void nrgbRange(long struct, int value) Unsafe version ofrgbRange. -
nxChromaOffset
public static void nxChromaOffset(long struct, int value) Unsafe version ofxChromaOffset. -
nyChromaOffset
public static void nyChromaOffset(long struct, int value) Unsafe version ofyChromaOffset.
-