public class VkObjectTablePushConstantEntryNVX
extends org.lwjgl.system.Struct
implements org.lwjgl.system.NativeResource
type must be OBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVXtype must be a valid VkObjectEntryTypeNVX valueflags must be a valid combination of VkObjectEntryUsageFlagBitsNVX valuesflags must not be 0pipelineLayout must be a valid VkPipelineLayout handlestageFlags must be a valid combination of VkShaderStageFlagBits valuesstageFlags must not be 0pipelineLayout – specifies the VkPipelineLayout that the pushconstants are used withstageFlags – specifies the VkShaderStageFlags that the pushconstants are used with
struct VkObjectTablePushConstantEntryNVX {
VkObjectEntryTypeNVX type;
VkObjectEntryUsageFlagsNVX flags;
VkPipelineLayout pipelineLayout;
VkShaderStageFlags stageFlags;
}| Modifier and Type | Class and Description |
|---|---|
static class |
VkObjectTablePushConstantEntryNVX.Buffer
An array of
VkObjectTablePushConstantEntryNVX structs. |
| Modifier and Type | Field and Description |
|---|---|
static int |
ALIGNOF
The struct alignment in bytes.
|
static int |
FLAGS
The struct member offsets.
|
static int |
PIPELINELAYOUT
The struct member offsets.
|
static int |
SIZEOF
The struct size in bytes.
|
static int |
STAGEFLAGS
The struct member offsets.
|
static int |
TYPE
The struct member offsets.
|
| Constructor and Description |
|---|
VkObjectTablePushConstantEntryNVX(java.nio.ByteBuffer container)
Creates a
VkObjectTablePushConstantEntryNVX instance at the current position of the specified ByteBuffer container. |
| Modifier and Type | Method and Description |
|---|---|
static VkObjectTablePushConstantEntryNVX |
calloc()
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated with memCalloc. |
static VkObjectTablePushConstantEntryNVX.Buffer |
calloc(int capacity)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with memCalloc. |
static VkObjectTablePushConstantEntryNVX |
callocStack()
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTablePushConstantEntryNVX.Buffer |
callocStack(int capacity)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero. |
static VkObjectTablePushConstantEntryNVX.Buffer |
callocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTablePushConstantEntryNVX |
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero. |
static VkObjectTablePushConstantEntryNVX |
create()
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated with BufferUtils. |
static VkObjectTablePushConstantEntryNVX.Buffer |
create(int capacity)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with BufferUtils. |
static VkObjectTablePushConstantEntryNVX |
create(long address)
Returns a new
VkObjectTablePushConstantEntryNVX instance for the specified memory address. |
static VkObjectTablePushConstantEntryNVX.Buffer |
create(long address,
int capacity)
Create a
VkObjectTablePushConstantEntryNVX.Buffer instance at the specified memory. |
static VkObjectTablePushConstantEntryNVX |
createSafe(long address)
|
static VkObjectTablePushConstantEntryNVX.Buffer |
createSafe(long address,
int capacity)
|
int |
flags()
Returns the value of the
flags field. |
VkObjectTablePushConstantEntryNVX |
flags(int value)
Sets the specified value to the
flags field. |
static VkObjectTablePushConstantEntryNVX |
malloc()
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated with memAlloc. |
static VkObjectTablePushConstantEntryNVX.Buffer |
malloc(int capacity)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with memAlloc. |
static VkObjectTablePushConstantEntryNVX |
mallocStack()
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated on the thread-local MemoryStack. |
static VkObjectTablePushConstantEntryNVX.Buffer |
mallocStack(int capacity)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the thread-local MemoryStack. |
static VkObjectTablePushConstantEntryNVX.Buffer |
mallocStack(int capacity,
org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the specified MemoryStack. |
static VkObjectTablePushConstantEntryNVX |
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a new
VkObjectTablePushConstantEntryNVX instance allocated on the specified MemoryStack. |
static int |
nflags(long struct)
Unsafe version of
flags(). |
static void |
nflags(long struct,
int value)
Unsafe version of
flags. |
static long |
npipelineLayout(long struct)
Unsafe version of
pipelineLayout(). |
static void |
npipelineLayout(long struct,
long value)
Unsafe version of
pipelineLayout. |
static int |
nstageFlags(long struct)
Unsafe version of
stageFlags(). |
static void |
nstageFlags(long struct,
int value)
Unsafe version of
stageFlags. |
static int |
ntype(long struct)
Unsafe version of
type(). |
static void |
ntype(long struct,
int value)
Unsafe version of
type. |
long |
pipelineLayout()
Returns the value of the
pipelineLayout field. |
VkObjectTablePushConstantEntryNVX |
pipelineLayout(long value)
Sets the specified value to the
pipelineLayout field. |
VkObjectTablePushConstantEntryNVX |
set(int type,
int flags,
long pipelineLayout,
int stageFlags)
Initializes this struct with the specified values.
|
VkObjectTablePushConstantEntryNVX |
set(VkObjectTablePushConstantEntryNVX src)
Copies the specified struct data to this struct.
|
int |
sizeof() |
int |
stageFlags()
Returns the value of the
stageFlags field. |
VkObjectTablePushConstantEntryNVX |
stageFlags(int value)
Sets the specified value to the
stageFlags field. |
int |
type()
Returns the value of the
type field. |
VkObjectTablePushConstantEntryNVX |
type(int value)
Sets the specified value to the
type field. |
public static final int SIZEOF
public static final int ALIGNOF
public static final int TYPE
public static final int FLAGS
public static final int PIPELINELAYOUT
public static final int STAGEFLAGS
public VkObjectTablePushConstantEntryNVX(java.nio.ByteBuffer container)
VkObjectTablePushConstantEntryNVX 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 type()
type field.public int flags()
flags field.public long pipelineLayout()
pipelineLayout field.public int stageFlags()
stageFlags field.public VkObjectTablePushConstantEntryNVX type(int value)
type field.public VkObjectTablePushConstantEntryNVX flags(int value)
flags field.public VkObjectTablePushConstantEntryNVX pipelineLayout(long value)
pipelineLayout field.public VkObjectTablePushConstantEntryNVX stageFlags(int value)
stageFlags field.public VkObjectTablePushConstantEntryNVX set(int type, int flags, long pipelineLayout, int stageFlags)
public VkObjectTablePushConstantEntryNVX set(VkObjectTablePushConstantEntryNVX src)
src - the source structpublic static VkObjectTablePushConstantEntryNVX malloc()
VkObjectTablePushConstantEntryNVX instance allocated with memAlloc. The instance must be explicitly freed.public static VkObjectTablePushConstantEntryNVX calloc()
VkObjectTablePushConstantEntryNVX instance allocated with memCalloc. The instance must be explicitly freed.public static VkObjectTablePushConstantEntryNVX create()
VkObjectTablePushConstantEntryNVX instance allocated with BufferUtils.public static VkObjectTablePushConstantEntryNVX create(long address)
VkObjectTablePushConstantEntryNVX instance for the specified memory address.@Nullable public static VkObjectTablePushConstantEntryNVX createSafe(long address)
public static VkObjectTablePushConstantEntryNVX.Buffer malloc(int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with memAlloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer calloc(int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with memCalloc. The instance must be explicitly freed.capacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer create(int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated with BufferUtils.capacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer create(long address, int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance at the specified memory.address - the memory addresscapacity - the buffer capacity@Nullable public static VkObjectTablePushConstantEntryNVX.Buffer createSafe(long address, int capacity)
public static VkObjectTablePushConstantEntryNVX mallocStack()
VkObjectTablePushConstantEntryNVX instance allocated on the thread-local MemoryStack.public static VkObjectTablePushConstantEntryNVX callocStack()
VkObjectTablePushConstantEntryNVX instance allocated on the thread-local MemoryStack and initializes all its bits to zero.public static VkObjectTablePushConstantEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTablePushConstantEntryNVX instance allocated on the specified MemoryStack.stack - the stack from which to allocatepublic static VkObjectTablePushConstantEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
VkObjectTablePushConstantEntryNVX instance allocated on the specified MemoryStack and initializes all its bits to zero.stack - the stack from which to allocatepublic static VkObjectTablePushConstantEntryNVX.Buffer mallocStack(int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the thread-local MemoryStack.capacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer callocStack(int capacity)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the thread-local MemoryStack and initializes all its bits to zero.capacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTablePushConstantEntryNVX.Buffer instance allocated on the specified MemoryStack.stack - the stack from which to allocatecapacity - the buffer capacitypublic static VkObjectTablePushConstantEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
VkObjectTablePushConstantEntryNVX.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 ntype(long struct)
type().public static int nflags(long struct)
flags().public static long npipelineLayout(long struct)
pipelineLayout().public static int nstageFlags(long struct)
stageFlags().public static void ntype(long struct,
int value)
type.public static void nflags(long struct,
int value)
flags.public static void npipelineLayout(long struct,
long value)
pipelineLayout.public static void nstageFlags(long struct,
int value)
stageFlags.Copyright LWJGL. All Rights Reserved. License terms.