XrPassthroughColorLutDataMETA defines the LUT data for a color LUT. This structure is used when creating and updating color LUTs.
XR_META_passthrough_color_lut extension must be enabled prior to using XrPassthroughColorLutDataMETAbuffer must be a pointer to an array of bufferSize uint8_t valuesbufferSize parameter must be greater than 0XrPassthroughColorLutCreateInfoMETA, XrPassthroughColorLutUpdateInfoMETA
struct XrPassthroughColorLutDataMETA {
uint32_t bufferSize;
uint8_t const * buffer;
}
| Modifier and Type | Class and Description |
|---|---|
| public static class | XrPassthroughColorLutDataMETA.
An array of |
| Modifier and Type | Field and Description |
|---|---|
| public static final int | ALIGNOF
The struct alignment in bytes. |
| public static final int | BUFFER
The struct member offsets. |
| public static final int | BUFFERSIZE
The struct member offsets. |
| public static final int | SIZEOF
The struct size in bytes. |
| Access | Constructor and Description |
|---|---|
| protected | |
| public | XrPassthroughColorLutDataMETA(ByteBuffer container)
Creates a |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | |
| public XrPassthroughColorLutDataMETA | |
| public int | |
| public static XrPassthroughColorLutDataMETA | |
| public static XrPassthroughColorLutDataMETA. | calloc(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughColorLutDataMETA | calloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPassthroughColorLutDataMETA. | calloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| protected XrPassthroughColorLutDataMETA | create(long
the struct memory address address, ByteBuffer an optional container buffer, to be referenced strongly by the struct instance. container)Implements abstract org. the constructor, but returns the exact type of the Struct subclass.
|
| public static XrPassthroughColorLutDataMETA | |
| public static XrPassthroughColorLutDataMETA | create(long address)
Returns a new |
| public static XrPassthroughColorLutDataMETA. | create(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughColorLutDataMETA. | create(long
the memory address address, int the buffer capacity capacity)Create a |
| public static XrPassthroughColorLutDataMETA | |
| public static XrPassthroughColorLutDataMETA. | |
| public static XrPassthroughColorLutDataMETA | |
| public static XrPassthroughColorLutDataMETA. | malloc(int
the buffer capacity capacity)Returns a new |
| public static XrPassthroughColorLutDataMETA | malloc(MemoryStack
the stack from which to allocate stack)Returns a new |
| public static XrPassthroughColorLutDataMETA. | malloc(int
the buffer capacity capacity, MemoryStack the stack from which to allocate stack)Returns a new |
| public static ByteBuffer | |
| public static void | |
| public static int | |
| public static void | nbufferSize(long struct, int value)
Sets the specified value to the |
| public XrPassthroughColorLutDataMETA | Returns: this structthe source struct src)Copies the specified struct data to this struct. |
| public int | |
| public static void |
| ALIGNOF | back to summary |
|---|---|
| public static final int ALIGNOF The struct alignment in bytes. | |
| BUFFER | back to summary |
|---|---|
| public static final int BUFFER The struct member offsets. | |
| BUFFERSIZE | back to summary |
|---|---|
| public static final int BUFFERSIZE The struct member offsets. | |
| SIZEOF | back to summary |
|---|---|
| public static final int SIZEOF The struct size in bytes. | |
| XrPassthroughColorLutDataMETA | back to summary |
|---|---|
| protected XrPassthroughColorLutDataMETA(long address, ByteBuffer container) | |
| XrPassthroughColorLutDataMETA | back to summary |
|---|---|
| public XrPassthroughColorLutDataMETA(ByteBuffer container) Creates a The created instance holds a strong reference to the container object. | |
| buffer | back to summary |
|---|---|
| public ByteBuffer buffer() a pointer to a memory block of
| |
| buffer | back to summary |
|---|---|
| public XrPassthroughColorLutDataMETA buffer(ByteBuffer value) Sets the address of the specified | |
| bufferSize | back to summary |
|---|---|
| public int bufferSize() the number of bytes contained in the buffer data.
| |
| calloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA calloc() Returns a new | |
| calloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA calloc(MemoryStack stack) Returns a new
| |
| calloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Returns a new
| |
| create | back to summary |
|---|---|
| protected XrPassthroughColorLutDataMETA create(long address, ByteBuffer container) Implements abstract org. Doc from org. Similar to Effectively, every
| |
| create | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA create() Returns a new | |
| create | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA create(long address) Returns a new | |
| create | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Returns a new
| |
| create | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Create a
| |
| createSafe | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA createSafe(long address) Like
| |
| createSafe | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Like
| |
| malloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA malloc() Returns a new | |
| malloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA malloc(MemoryStack stack) Returns a new
| |
| malloc | back to summary |
|---|---|
| public static XrPassthroughColorLutDataMETA. Returns a new
| |
| nbuffer | back to summary |
|---|---|
| public static ByteBuffer nbuffer(long struct) Unsafe version of | |
| nbuffer | back to summary |
|---|---|
| public static void nbuffer(long struct, ByteBuffer value) Unsafe version of | |
| nbufferSize | back to summary |
|---|---|
| public static int nbufferSize(long struct) Unsafe version of | |
| nbufferSize | back to summary |
|---|---|
| public static void nbufferSize(long struct, int value) Sets the specified value to the | |
| set | back to summary |
|---|---|
| public XrPassthroughColorLutDataMETA set(XrPassthroughColorLutDataMETA src) Copies the specified struct data to this struct.
| |
| sizeof | back to summary |
|---|---|
| public int sizeof() Implements abstract org. Doc from org. Returns
| |
| validate | back to summary |
|---|---|
| public static void validate(long struct) Validates pointer members that should not be
| |
XrPassthroughColorLutDataMETA structs.
| Modifier and Type | Field and Description |
|---|---|
| private static final XrPassthroughColorLutDataMETA |
| Access | Constructor and Description |
|---|---|
| public | Buffer(ByteBuffer container)
Creates a new |
| public | |
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public ByteBuffer | Returns: aByteBuffer view of the data pointed to by the XrPassthroughColorLutDataMETA#buffer field.
|
| public XrPassthroughColorLutDataMETA. | buffer(ByteBuffer value)
Sets the address of the specified |
| public int | |
| protected XrPassthroughColorLutDataMETA | |
| protected XrPassthroughColorLutDataMETA. |
| ELEMENT_FACTORY | back to summary |
|---|---|
| private static final XrPassthroughColorLutDataMETA ELEMENT_FACTORY | |
| Buffer | back to summary |
|---|---|
| public Buffer(ByteBuffer container) Creates a new 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 The created buffer instance holds a strong reference to the container object. | |
| Buffer | back to summary |
|---|---|
| public Buffer(long address, int cap) | |
| Buffer | back to summary |
|---|---|
| pack-priv Buffer(long address, ByteBuffer container, int mark, int pos, int lim, int cap) | |
| buffer | back to summary |
|---|---|
public ByteBuffer buffer()
| |
| buffer | back to summary |
|---|---|
| public XrPassthroughColorLutDataMETA. Sets the address of the specified | |
| bufferSize | back to summary |
|---|---|
public int bufferSize()
| |
| getElementFactory | back to summary |
|---|---|
| protected XrPassthroughColorLutDataMETA getElementFactory() Implements abstract org.
| |
| self | back to summary |
|---|---|
| protected XrPassthroughColorLutDataMETA. Implements abstract org.
| |