Top Description Inners Fields Constructors Methods
org.lwjgl.util.spvc

public Class SpvcMslSamplerYcbcrConversion

extends Struct<SpvcMslSamplerYcbcrConversion>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable
Annotations
@NativeType:struct spvc_msl_sampler_ycbcr_conversion
Imports
javax.annotation.*, java.nio.*, org.lwjgl.*, org.lwjgl.system.*

Maps to the sampler Y'CbCr conversion-related portions of MSLConstexprSampler.

Layout


struct spvc_msl_sampler_ycbcr_conversion {
    unsigned int planes;
    spvc_msl_format_resolution resolution;
    spvc_msl_sampler_filter chroma_filter;
    spvc_msl_chroma_location x_chroma_offset;
    spvc_msl_chroma_location y_chroma_offset;
    spvc_msl_component_swizzle swizzle[4];
    spvc_msl_sampler_ycbcr_model_conversion ycbcr_model;
    spvc_msl_sampler_ycbcr_range ycbcr_range;
    unsigned int bpc;
}

Nested and Inner Type Summary

Modifier and TypeClass and Description
public static class

Field Summary

Modifier and TypeField and Description
public static final int
ALIGNOF

The struct alignment in bytes.

public static final int
BPC

The struct member offsets.

public static final int
CHROMA_FILTER

The struct member offsets.

public static final int
PLANES

The struct member offsets.

public static final int
RESOLUTION

The struct member offsets.

public static final int
SIZEOF

The struct size in bytes.

public static final int
SWIZZLE

The struct member offsets.

public static final int
X_CHROMA_OFFSET

The struct member offsets.

public static final int
Y_CHROMA_OFFSET

The struct member offsets.

public static final int
YCBCR_MODEL

The struct member offsets.

public static final int
YCBCR_RANGE

The struct member offsets.

Inherited from org.lwjgl.system.Struct:
containerDEFAULT_ALIGN_ASDEFAULT_PACK_ALIGNMENT

Constructor Summary

AccessConstructor and Description
protected
SpvcMslSamplerYcbcrConversion(long address, ByteBuffer container)

public
SpvcMslSamplerYcbcrConversion(ByteBuffer container)

Creates a SpvcMslSamplerYcbcrConversion instance at the current position of the specified ByteBuffer container.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the bpc field.
bpc
()

public SpvcMslSamplerYcbcrConversion
bpc(int value)

Sets the specified value to the bpc field.

public static SpvcMslSamplerYcbcrConversion
calloc()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with memCalloc.

public static SpvcMslSamplerYcbcrConversion.Buffer
calloc(int
the buffer capacity
capacity
)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with memCalloc.

public static SpvcMslSamplerYcbcrConversion
calloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslSamplerYcbcrConversion instance allocated on the specified MemoryStack and initializes all its bits to zero.

public static SpvcMslSamplerYcbcrConversion.Buffer
calloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

public int

Returns:

the value of the chroma_filter field.
chroma_filter
()

public SpvcMslSamplerYcbcrConversion
chroma_filter(int value)

Sets the specified value to the chroma_filter field.

protected SpvcMslSamplerYcbcrConversion
create(long
the struct memory address
address
,
ByteBuffer
an optional container buffer, to be referenced strongly by the struct instance.
container
)

Implements abstract org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.
public static SpvcMslSamplerYcbcrConversion
create()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with BufferUtils.

public static SpvcMslSamplerYcbcrConversion
create(long address)

Returns a new SpvcMslSamplerYcbcrConversion instance for the specified memory address.

public static SpvcMslSamplerYcbcrConversion.Buffer
create(int
the buffer capacity
capacity
)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with BufferUtils.

public static SpvcMslSamplerYcbcrConversion.Buffer
create(long
the memory address
address
,
int
the buffer capacity
capacity
)

Create a SpvcMslSamplerYcbcrConversion.Buffer instance at the specified memory.

public static SpvcMslSamplerYcbcrConversion
createSafe(long address)

Like create, but returns null if address is NULL.

public static SpvcMslSamplerYcbcrConversion.Buffer
createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

public static SpvcMslSamplerYcbcrConversion
malloc()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with memAlloc.

public static SpvcMslSamplerYcbcrConversion.Buffer
malloc(int
the buffer capacity
capacity
)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with memAlloc.

public static SpvcMslSamplerYcbcrConversion
malloc(MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslSamplerYcbcrConversion instance allocated on the specified MemoryStack.

public static SpvcMslSamplerYcbcrConversion.Buffer
malloc(int
the buffer capacity
capacity
,
MemoryStack
the stack from which to allocate
stack
)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated on the specified MemoryStack.

public static int
nbpc(long struct)

Unsafe version of bpc.

public static void
nbpc(long struct, int value)

Unsafe version of bpc.

public static int
nchroma_filter(long struct)

Unsafe version of chroma_filter.

public static void
nchroma_filter(long struct, int value)

Unsafe version of chroma_filter.

public static int
nplanes(long struct)

Unsafe version of planes.

public static void
nplanes(long struct, int value)

Unsafe version of planes.

public static int
nresolution(long struct)

Unsafe version of resolution.

public static void
nresolution(long struct, int value)

Unsafe version of resolution.

public static IntBuffer
nswizzle(long struct)

Unsafe version of swizzle.

public static int
nswizzle(long struct, int index)

Unsafe version of swizzle.

public static void
nswizzle(long struct, IntBuffer value)

Unsafe version of swizzle.

public static void
nswizzle(long struct, int index, int value)

Unsafe version of swizzle.

public static int
nx_chroma_offset(long struct)

Unsafe version of x_chroma_offset.

public static void
nx_chroma_offset(long struct, int value)

Unsafe version of x_chroma_offset.

public static int
ny_chroma_offset(long struct)

Unsafe version of y_chroma_offset.

public static void
ny_chroma_offset(long struct, int value)

Unsafe version of y_chroma_offset.

public static int
nycbcr_model(long struct)

Unsafe version of ycbcr_model.

public static void
nycbcr_model(long struct, int value)

Unsafe version of ycbcr_model.

public static int
nycbcr_range(long struct)

Unsafe version of ycbcr_range.

public static void
nycbcr_range(long struct, int value)

Unsafe version of ycbcr_range.

public int

Returns:

the value of the planes field.
planes
()

public SpvcMslSamplerYcbcrConversion
planes(int value)

Sets the specified value to the planes field.

public int

Returns:

the value of the resolution field.
resolution
()

public SpvcMslSamplerYcbcrConversion
resolution(int value)

Sets the specified value to the resolution field.

public SpvcMslSamplerYcbcrConversion
set(int planes, int resolution, int chroma_filter, int x_chroma_offset, int y_chroma_offset, IntBuffer swizzle, int ycbcr_model, int ycbcr_range, int bpc)

Initializes this struct with the specified values.

public SpvcMslSamplerYcbcrConversion

Returns:

this struct
set
(SpvcMslSamplerYcbcrConversion
the source struct
src
)

Copies the specified struct data to this struct.

public int
sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).
public IntBuffer

Returns:

a IntBuffer view of the swizzle field.
swizzle
()

public int

Returns:

the value at the specified index of the swizzle field.
swizzle
(int index)

public SpvcMslSamplerYcbcrConversion
swizzle(IntBuffer value)

Copies the specified IntBuffer to the swizzle field.

public SpvcMslSamplerYcbcrConversion
swizzle(int index, int value)

Sets the specified value at the specified index of the swizzle field.

public int

Returns:

the value of the x_chroma_offset field.
x_chroma_offset
()

public SpvcMslSamplerYcbcrConversion
x_chroma_offset(int value)

Sets the specified value to the x_chroma_offset field.

public int

Returns:

the value of the y_chroma_offset field.
y_chroma_offset
()

public SpvcMslSamplerYcbcrConversion
y_chroma_offset(int value)

Sets the specified value to the y_chroma_offset field.

public int

Returns:

the value of the ycbcr_model field.
ycbcr_model
()

public SpvcMslSamplerYcbcrConversion
ycbcr_model(int value)

Sets the specified value to the ycbcr_model field.

public int

Returns:

the value of the ycbcr_range field.
ycbcr_range
()

public SpvcMslSamplerYcbcrConversion
ycbcr_range(int value)

Sets the specified value to the ycbcr_range field.

Inherited from org.lwjgl.system.Struct:
__array__array__array__checkContainer__checkMalloc__create__getContainer__getContainer__member__member__member__padding__padding__struct__struct__union__unionclearfreeisNullvalidate

Field Detail

ALIGNOFback to summary
public static final int ALIGNOF

The struct alignment in bytes.

BPCback to summary
public static final int BPC

The struct member offsets.

CHROMA_FILTERback to summary
public static final int CHROMA_FILTER

The struct member offsets.

PLANESback to summary
public static final int PLANES

The struct member offsets.

RESOLUTIONback to summary
public static final int RESOLUTION

The struct member offsets.

SIZEOFback to summary
public static final int SIZEOF

The struct size in bytes.

SWIZZLEback to summary
public static final int SWIZZLE

The struct member offsets.

X_CHROMA_OFFSETback to summary
public static final int X_CHROMA_OFFSET

The struct member offsets.

Y_CHROMA_OFFSETback to summary
public static final int Y_CHROMA_OFFSET

The struct member offsets.

YCBCR_MODELback to summary
public static final int YCBCR_MODEL

The struct member offsets.

YCBCR_RANGEback to summary
public static final int YCBCR_RANGE

The struct member offsets.

Constructor Detail

SpvcMslSamplerYcbcrConversionback to summary
protected SpvcMslSamplerYcbcrConversion(long address, ByteBuffer container)
SpvcMslSamplerYcbcrConversionback to summary
public SpvcMslSamplerYcbcrConversion(ByteBuffer container)

Creates a SpvcMslSamplerYcbcrConversion instance at the current position of the specified ByteBuffer container. 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 Detail

bpcback to summary
public int bpc()
Returns:int

the value of the bpc field.

Annotations
@NativeType:unsigned int
bpcback to summary
public SpvcMslSamplerYcbcrConversion bpc(int value)

Sets the specified value to the bpc field.

callocback to summary
public static SpvcMslSamplerYcbcrConversion calloc()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with memCalloc. The instance must be explicitly freed.

callocback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer calloc(int capacity)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with memCalloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

callocback to summary
public static SpvcMslSamplerYcbcrConversion calloc(MemoryStack stack)

Returns a new SpvcMslSamplerYcbcrConversion instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
stack:MemoryStack

the stack from which to allocate

callocback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer calloc(int capacity, MemoryStack stack)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

chroma_filterback to summary
public int chroma_filter()
Returns:int

the value of the chroma_filter field.

Annotations
@NativeType:spvc_msl_sampler_filter
chroma_filterback to summary
public SpvcMslSamplerYcbcrConversion chroma_filter(int value)

Sets the specified value to the chroma_filter field.

createback to summary
protected SpvcMslSamplerYcbcrConversion create(long address, ByteBuffer container)

Implements abstract org.lwjgl.system.Struct.create.

Doc from org.lwjgl.system.Struct.create.

Similar to the constructor, but returns the exact type of the Struct subclass.

Effectively, every Struct instance is a factory for more instances of the same type. This is used by StructBuffer.

Parameters
address:long

the struct memory address

container:ByteBuffer

an optional container buffer, to be referenced strongly by the struct instance.

Annotations
@Override
createback to summary
public static SpvcMslSamplerYcbcrConversion create()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with BufferUtils.

createback to summary
public static SpvcMslSamplerYcbcrConversion create(long address)

Returns a new SpvcMslSamplerYcbcrConversion instance for the specified memory address.

createback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer create(int capacity)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with BufferUtils.

Parameters
capacity:int

the buffer capacity

createback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer create(long address, int capacity)

Create a SpvcMslSamplerYcbcrConversion.Buffer instance at the specified memory.

Parameters
address:long

the memory address

capacity:int

the buffer capacity

createSafeback to summary
public static SpvcMslSamplerYcbcrConversion createSafe(long address)

Like create, but returns null if address is NULL.

Annotations
@Nullable
createSafeback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer createSafe(long address, int capacity)

Like create, but returns null if address is NULL.

Annotations
@Nullable
mallocback to summary
public static SpvcMslSamplerYcbcrConversion malloc()

Returns a new SpvcMslSamplerYcbcrConversion instance allocated with memAlloc. The instance must be explicitly freed.

mallocback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer malloc(int capacity)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated with memAlloc. The instance must be explicitly freed.

Parameters
capacity:int

the buffer capacity

mallocback to summary
public static SpvcMslSamplerYcbcrConversion malloc(MemoryStack stack)

Returns a new SpvcMslSamplerYcbcrConversion instance allocated on the specified MemoryStack.

Parameters
stack:MemoryStack

the stack from which to allocate

mallocback to summary
public static SpvcMslSamplerYcbcrConversion.Buffer malloc(int capacity, MemoryStack stack)

Returns a new SpvcMslSamplerYcbcrConversion.Buffer instance allocated on the specified MemoryStack.

Parameters
capacity:int

the buffer capacity

stack:MemoryStack

the stack from which to allocate

nbpcback to summary
public static int nbpc(long struct)

Unsafe version of bpc.

nbpcback to summary
public static void nbpc(long struct, int value)

Unsafe version of bpc.

nchroma_filterback to summary
public static int nchroma_filter(long struct)

Unsafe version of chroma_filter.

nchroma_filterback to summary
public static void nchroma_filter(long struct, int value)

Unsafe version of chroma_filter.

nplanesback to summary
public static int nplanes(long struct)

Unsafe version of planes.

nplanesback to summary
public static void nplanes(long struct, int value)

Unsafe version of planes.

nresolutionback to summary
public static int nresolution(long struct)

Unsafe version of resolution.

nresolutionback to summary
public static void nresolution(long struct, int value)

Unsafe version of resolution.

nswizzleback to summary
public static IntBuffer nswizzle(long struct)

Unsafe version of swizzle.

nswizzleback to summary
public static int nswizzle(long struct, int index)

Unsafe version of swizzle.

nswizzleback to summary
public static void nswizzle(long struct, IntBuffer value)

Unsafe version of swizzle.

nswizzleback to summary
public static void nswizzle(long struct, int index, int value)

Unsafe version of swizzle.

nx_chroma_offsetback to summary
public static int nx_chroma_offset(long struct)

Unsafe version of x_chroma_offset.

nx_chroma_offsetback to summary
public static void nx_chroma_offset(long struct, int value)

Unsafe version of x_chroma_offset.

ny_chroma_offsetback to summary
public static int ny_chroma_offset(long struct)

Unsafe version of y_chroma_offset.

ny_chroma_offsetback to summary
public static void ny_chroma_offset(long struct, int value)

Unsafe version of y_chroma_offset.

nycbcr_modelback to summary
public static int nycbcr_model(long struct)

Unsafe version of ycbcr_model.

nycbcr_modelback to summary
public static void nycbcr_model(long struct, int value)

Unsafe version of ycbcr_model.

nycbcr_rangeback to summary
public static int nycbcr_range(long struct)

Unsafe version of ycbcr_range.

nycbcr_rangeback to summary
public static void nycbcr_range(long struct, int value)

Unsafe version of ycbcr_range.

planesback to summary
public int planes()
Returns:int

the value of the planes field.

Annotations
@NativeType:unsigned int
planesback to summary
public SpvcMslSamplerYcbcrConversion planes(int value)

Sets the specified value to the planes field.

resolutionback to summary
public int resolution()
Returns:int

the value of the resolution field.

Annotations
@NativeType:spvc_msl_format_resolution
resolutionback to summary
public SpvcMslSamplerYcbcrConversion resolution(int value)

Sets the specified value to the resolution field.

setback to summary
public SpvcMslSamplerYcbcrConversion set(int planes, int resolution, int chroma_filter, int x_chroma_offset, int y_chroma_offset, IntBuffer swizzle, int ycbcr_model, int ycbcr_range, int bpc)

Initializes this struct with the specified values.

setback to summary
public SpvcMslSamplerYcbcrConversion set(SpvcMslSamplerYcbcrConversion src)

Copies the specified struct data to this struct.

Parameters
src:SpvcMslSamplerYcbcrConversion

the source struct

Returns:SpvcMslSamplerYcbcrConversion

this struct

sizeofback to summary
public int sizeof()

Implements abstract org.lwjgl.system.Struct.sizeof.

Doc from org.lwjgl.system.Struct.sizeof.

Returns sizeof(struct).

Annotations
@Override
swizzleback to summary
public IntBuffer swizzle()
Returns:IntBuffer

a IntBuffer view of the swizzle field.

Annotations
@NativeType:spvc_msl_component_swizzle[4]
swizzleback to summary
public int swizzle(int index)
Returns:int

the value at the specified index of the swizzle field.

Annotations
@NativeType:spvc_msl_component_swizzle
swizzleback to summary
public SpvcMslSamplerYcbcrConversion swizzle(IntBuffer value)

Copies the specified IntBuffer to the swizzle field.

swizzleback to summary
public SpvcMslSamplerYcbcrConversion swizzle(int index, int value)

Sets the specified value at the specified index of the swizzle field.

x_chroma_offsetback to summary
public int x_chroma_offset()
Returns:int

the value of the x_chroma_offset field.

Annotations
@NativeType:spvc_msl_chroma_location
x_chroma_offsetback to summary
public SpvcMslSamplerYcbcrConversion x_chroma_offset(int value)

Sets the specified value to the x_chroma_offset field.

y_chroma_offsetback to summary
public int y_chroma_offset()
Returns:int

the value of the y_chroma_offset field.

Annotations
@NativeType:spvc_msl_chroma_location
y_chroma_offsetback to summary
public SpvcMslSamplerYcbcrConversion y_chroma_offset(int value)

Sets the specified value to the y_chroma_offset field.

ycbcr_modelback to summary
public int ycbcr_model()
Returns:int

the value of the ycbcr_model field.

Annotations
@NativeType:spvc_msl_sampler_ycbcr_model_conversion
ycbcr_modelback to summary
public SpvcMslSamplerYcbcrConversion ycbcr_model(int value)

Sets the specified value to the ycbcr_model field.

ycbcr_rangeback to summary
public int ycbcr_range()
Returns:int

the value of the ycbcr_range field.

Annotations
@NativeType:spvc_msl_sampler_ycbcr_range
ycbcr_rangeback to summary
public SpvcMslSamplerYcbcrConversion ycbcr_range(int value)

Sets the specified value to the ycbcr_range field.

org.lwjgl.util.spvc back to summary

public Class SpvcMslSamplerYcbcrConversion.Buffer

extends StructBuffer<SpvcMslSamplerYcbcrConversion, SpvcMslSamplerYcbcrConversion.Buffer>
implements NativeResource
Class Inheritance
All Implemented Interfaces
org.lwjgl.system.NativeResource, java.lang.AutoCloseable

An array of SpvcMslSamplerYcbcrConversion structs.

Field Summary

Modifier and TypeField and Description
private static final SpvcMslSamplerYcbcrConversion

Constructor Summary

AccessConstructor and Description
public
Buffer(ByteBuffer container)

Creates a new SpvcMslSamplerYcbcrConversion.Buffer instance backed by the specified container.

public
Buffer(long address, int cap)

pack-priv
Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the value of the bpc field.
bpc
()

public SpvcMslSamplerYcbcrConversion.Buffer
bpc(int value)

Sets the specified value to the bpc field.

public int

Returns:

the value of the chroma_filter field.
chroma_filter
()

public SpvcMslSamplerYcbcrConversion.Buffer
chroma_filter(int value)

Sets the specified value to the chroma_filter field.

protected SpvcMslSamplerYcbcrConversion
public int

Returns:

the value of the planes field.
planes
()

public SpvcMslSamplerYcbcrConversion.Buffer
planes(int value)

Sets the specified value to the planes field.

public int

Returns:

the value of the resolution field.
resolution
()

public SpvcMslSamplerYcbcrConversion.Buffer
resolution(int value)

Sets the specified value to the resolution field.

protected SpvcMslSamplerYcbcrConversion.Buffer
public IntBuffer

Returns:

a IntBuffer view of the swizzle field.
swizzle
()

public int

Returns:

the value at the specified index of the swizzle field.
swizzle
(int index)

public SpvcMslSamplerYcbcrConversion.Buffer
swizzle(IntBuffer value)

Copies the specified IntBuffer to the swizzle field.

public SpvcMslSamplerYcbcrConversion.Buffer
swizzle(int index, int value)

Sets the specified value at the specified index of the swizzle field.

public int

Returns:

the value of the x_chroma_offset field.
x_chroma_offset
()

public SpvcMslSamplerYcbcrConversion.Buffer
x_chroma_offset(int value)

Sets the specified value to the x_chroma_offset field.

public int

Returns:

the value of the y_chroma_offset field.
y_chroma_offset
()

public SpvcMslSamplerYcbcrConversion.Buffer
y_chroma_offset(int value)

Sets the specified value to the y_chroma_offset field.

public int

Returns:

the value of the ycbcr_model field.
ycbcr_model
()

public SpvcMslSamplerYcbcrConversion.Buffer
ycbcr_model(int value)

Sets the specified value to the ycbcr_model field.

public int

Returns:

the value of the ycbcr_range field.
ycbcr_range
()

public SpvcMslSamplerYcbcrConversion.Buffer
ycbcr_range(int value)

Sets the specified value to the ycbcr_range field.

Inherited from org.lwjgl.system.StructBuffer:
applyapplyforEachgetgetgetgetiteratorparallelStreamputputsizeofspliteratorstream

Field Detail

ELEMENT_FACTORYback to summary
private static final SpvcMslSamplerYcbcrConversion ELEMENT_FACTORY

Constructor Detail

Bufferback to summary
public Buffer(ByteBuffer container)

Creates a new SpvcMslSamplerYcbcrConversion.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 SpvcMslSamplerYcbcrConversion#SIZEOF, and its mark will be undefined.

The created buffer instance holds a strong reference to the container object.

Bufferback to summary
public Buffer(long address, int cap)
Bufferback to summary
pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap)

Method Detail

bpcback to summary
public int bpc()
Returns:int

the value of the bpc field.

Annotations
@NativeType:unsigned int
bpcback to summary
public SpvcMslSamplerYcbcrConversion.Buffer bpc(int value)

Sets the specified value to the bpc field.

chroma_filterback to summary
public int chroma_filter()
Returns:int

the value of the chroma_filter field.

Annotations
@NativeType:spvc_msl_sampler_filter
chroma_filterback to summary
public SpvcMslSamplerYcbcrConversion.Buffer chroma_filter(int value)

Sets the specified value to the chroma_filter field.

getElementFactoryback to summary
protected SpvcMslSamplerYcbcrConversion getElementFactory()

Implements abstract org.lwjgl.system.StructBuffer.getElementFactory.

Annotations
@Override
planesback to summary
public int planes()
Returns:int

the value of the planes field.

Annotations
@NativeType:unsigned int
planesback to summary
public SpvcMslSamplerYcbcrConversion.Buffer planes(int value)

Sets the specified value to the planes field.

resolutionback to summary
public int resolution()
Returns:int

the value of the resolution field.

Annotations
@NativeType:spvc_msl_format_resolution
resolutionback to summary
public SpvcMslSamplerYcbcrConversion.Buffer resolution(int value)

Sets the specified value to the resolution field.

selfback to summary
protected SpvcMslSamplerYcbcrConversion.Buffer self()

Implements abstract org.lwjgl.system.CustomBuffer.self.

Annotations
@Override
swizzleback to summary
public IntBuffer swizzle()
Returns:IntBuffer

a IntBuffer view of the swizzle field.

Annotations
@NativeType:spvc_msl_component_swizzle[4]
swizzleback to summary
public int swizzle(int index)
Returns:int

the value at the specified index of the swizzle field.

Annotations
@NativeType:spvc_msl_component_swizzle
swizzleback to summary
public SpvcMslSamplerYcbcrConversion.Buffer swizzle(IntBuffer value)

Copies the specified IntBuffer to the swizzle field.

swizzleback to summary
public SpvcMslSamplerYcbcrConversion.Buffer swizzle(int index, int value)

Sets the specified value at the specified index of the swizzle field.

x_chroma_offsetback to summary
public int x_chroma_offset()
Returns:int

the value of the x_chroma_offset field.

Annotations
@NativeType:spvc_msl_chroma_location
x_chroma_offsetback to summary
public SpvcMslSamplerYcbcrConversion.Buffer x_chroma_offset(int value)

Sets the specified value to the x_chroma_offset field.

y_chroma_offsetback to summary
public int y_chroma_offset()
Returns:int

the value of the y_chroma_offset field.

Annotations
@NativeType:spvc_msl_chroma_location
y_chroma_offsetback to summary
public SpvcMslSamplerYcbcrConversion.Buffer y_chroma_offset(int value)

Sets the specified value to the y_chroma_offset field.

ycbcr_modelback to summary
public int ycbcr_model()
Returns:int

the value of the ycbcr_model field.

Annotations
@NativeType:spvc_msl_sampler_ycbcr_model_conversion
ycbcr_modelback to summary
public SpvcMslSamplerYcbcrConversion.Buffer ycbcr_model(int value)

Sets the specified value to the ycbcr_model field.

ycbcr_rangeback to summary
public int ycbcr_range()
Returns:int

the value of the ycbcr_range field.

Annotations
@NativeType:spvc_msl_sampler_ycbcr_range
ycbcr_rangeback to summary
public SpvcMslSamplerYcbcrConversion.Buffer ycbcr_range(int value)

Sets the specified value to the ycbcr_range field.