public class VkWriteDescriptorSetInlineUniformBlockEXT
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
dataSize must be an integer multiple of 4sType must be STRUCTURE_TYPE_WRITE_DESCRIPTOR_SET_INLINE_UNIFORM_BLOCK_EXTpData must be a valid pointer to an array of dataSize bytesdataSize must be greater than 0sType – the type of this structure.pNext – NULL or a pointer to an extension-specific structure.dataSize – the number of bytes of inline uniform block data pointed to by pData.pData – a pointer to dataSize number of bytes of data to write to the inline uniform block.
struct VkWriteDescriptorSetInlineUniformBlockEXT {
VkStructureType sType;
void const * pNext;
uint32_t dataSize;
void const * pData;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer
An array of
VkWriteDescriptorSetInlineUniformBlockEXT structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
DATASIZE
The struct member offsets.
|
static int |
PDATA
The struct member offsets.
|
static int |
PNEXT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkWriteDescriptorSetInlineUniformBlockEXT(java.nio.ByteBuffer container)
Creates a
VkWriteDescriptorSetInlineUniformBlockEXT instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkWriteDescriptorSetInlineUniformBlockEXT |
calloc()
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with memCalloc. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
calloc(int capacity)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with memCalloc. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
callocStack()
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
callocStack(int capacity)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
create()
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with BufferUtils. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
create(int capacity)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with BufferUtils. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
create(long address)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance for the specified memory address. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
create(long address,
int capacity)
Create a
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance at the specified memory. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
createSafe(long address)
|
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
createSafe(long address,
int capacity)
|
int |
dataSize()
Returns the value of the
dataSize field. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
malloc()
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with memAlloc. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
malloc(int capacity)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with memAlloc. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
mallocStack()
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the thread-local MemoryStack. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
mallocStack(int capacity)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the thread-local MemoryStack. |
static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the specified MemoryStack. |
static VkWriteDescriptorSetInlineUniformBlockEXT |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the specified MemoryStack. |
static int |
ndataSize(long struct)
Unsafe version of
dataSize(). |
static void |
ndataSize(long struct,
int value)
Sets the specified value to the
dataSize field of the specified struct. |
static java.nio.ByteBuffer |
npData(long struct)
Unsafe version of
pData. |
static void |
npData(long struct,
java.nio.ByteBuffer value)
Unsafe version of
pData. |
static long |
npNext(long struct)
Unsafe version of
pNext(). |
static void |
npNext(long struct,
long value)
Unsafe version of
pNext. |
static int |
nsType(long struct)
Unsafe version of
sType(). |
static void |
nsType(long struct,
int value)
Unsafe version of
sType. |
java.nio.ByteBuffer |
pData()
Returns a
ByteBuffer view of the data pointed to by the pData field. |
VkWriteDescriptorSetInlineUniformBlockEXT |
pData(java.nio.ByteBuffer value)
Sets the address of the specified
ByteBuffer to the pData field. |
long |
pNext()
Returns the value of the
pNext field. |
VkWriteDescriptorSetInlineUniformBlockEXT |
pNext(long value)
Sets the specified value to the
pNext field. |
VkWriteDescriptorSetInlineUniformBlockEXT |
set(int sType,
long pNext,
java.nio.ByteBuffer pData)
Initializes this struct with the specified values.
|
VkWriteDescriptorSetInlineUniformBlockEXT |
set(VkWriteDescriptorSetInlineUniformBlockEXT src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
sType()
Returns the value of the
sType field. |
VkWriteDescriptorSetInlineUniformBlockEXT |
sType(int value)
Sets the specified value to the
sType field. |
static void |
validate(long struct)
Validates pointer members that should not be
NULL. |
static void |
validate(long array,
int count)
Calls
validate(long) for each struct contained in the specified struct array. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int STYPE
public static final int PNEXT
public static final int DATASIZE
public static final int PDATA
public VkWriteDescriptorSetInlineUniformBlockEXT(java.nio.ByteBuffer container)
VkWriteDescriptorSetInlineUniformBlockEXT 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.
public int sizeof()
sizeof in class org.lwjgl.system.Structpublic int sType()
sType field.public long pNext()
pNext field.public int dataSize()
dataSize field.public java.nio.ByteBuffer pData()
ByteBuffer view of the data pointed to by the pData field.public VkWriteDescriptorSetInlineUniformBlockEXT sType(int value)
sType field.public VkWriteDescriptorSetInlineUniformBlockEXT pNext(long value)
pNext field.public VkWriteDescriptorSetInlineUniformBlockEXT pData(java.nio.ByteBuffer value)
ByteBuffer to the pData field.public VkWriteDescriptorSetInlineUniformBlockEXT set(int sType, long pNext, java.nio.ByteBuffer pData)
public VkWriteDescriptorSetInlineUniformBlockEXT set(VkWriteDescriptorSetInlineUniformBlockEXT src)
src - the source structpublic static VkWriteDescriptorSetInlineUniformBlockEXT malloc()
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with memAlloc. The instance must be explicitly freed.public static VkWriteDescriptorSetInlineUniformBlockEXT calloc()
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with memCalloc. The instance must be explicitly freed.public static VkWriteDescriptorSetInlineUniformBlockEXT create()
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated with BufferUtils.public static VkWriteDescriptorSetInlineUniformBlockEXT create(long address)
VkWriteDescriptorSetInlineUniformBlockEXT instance for the specified memory address.@Nullable public static VkWriteDescriptorSetInlineUniformBlockEXT createSafe(long address)
public static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer malloc(int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer calloc(int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer create(int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer create(long address, int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer createSafe(long address, int capacity)
public static VkWriteDescriptorSetInlineUniformBlockEXT mallocStack()
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the thread-local MemoryStack.public static VkWriteDescriptorSetInlineUniformBlockEXT callocStack()
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkWriteDescriptorSetInlineUniformBlockEXT mallocStack(org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkWriteDescriptorSetInlineUniformBlockEXT callocStack(org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetInlineUniformBlockEXT instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer mallocStack(int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer callocStack(int capacity)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkWriteDescriptorSetInlineUniformBlockEXT.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkWriteDescriptorSetInlineUniformBlockEXT.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatecapacity - the buffer capacitypublic static int nsType(long struct)
sType().public static long npNext(long struct)
pNext().public static int ndataSize(long struct)
dataSize().public static java.nio.ByteBuffer npData(long struct)
pData.public static void nsType(long struct,
int value)
sType.public static void npNext(long struct,
long value)
pNext.public static void ndataSize(long struct,
int value)
dataSize field of the specified struct.public static void npData(long struct,
java.nio.ByteBuffer value)
pData.public static void validate(long struct)
NULL.struct - the struct to validatepublic static void validate(long array,
int count)
validate(long) for each struct contained in the specified struct array.array - the struct array to validatecount - the number of structs in arrayCopyright LWJGL. All Rights Reserved. License terms.