Package org.lwjgl.vulkan
Class VkObjectTablePushConstantEntryNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkObjectTablePushConstantEntryNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkObjectTablePushConstantEntryNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceParameters of an object table push constant entry.Valid Usage
typemust beOBJECT_ENTRY_TYPE_PUSH_CONSTANT_NVX
Valid Usage (Implicit)
typemust be a validVkObjectEntryTypeNVXvalueflagsmust be a valid combination ofVkObjectEntryUsageFlagBitsNVXvaluesflagsmust not be 0pipelineLayoutmust be a validVkPipelineLayouthandlestageFlagsmust be a valid combination ofVkShaderStageFlagBitsvaluesstageFlagsmust not be 0
Member documentation
pipelineLayout– specifies theVkPipelineLayoutthat the pushconstants are used withstageFlags– specifies theVkShaderStageFlagsthat the pushconstants are used with
Layout
struct VkObjectTablePushConstantEntryNVX { VkObjectEntryTypeNVX type; VkObjectEntryUsageFlagsNVX flags; VkPipelineLayout pipelineLayout; VkShaderStageFlags stageFlags; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkObjectTablePushConstantEntryNVX.BufferAn array ofVkObjectTablePushConstantEntryNVXstructs.
-
Field Summary
Fields Modifier and Type Field Description static intALIGNOFThe struct alignment in bytes.static intFLAGS
PIPELINELAYOUTThe struct member offsets.static intSIZEOFThe struct size in bytes.static intSTAGEFLAGS
TYPEThe struct member offsets.
-
Constructor Summary
Constructors Constructor Description VkObjectTablePushConstantEntryNVX(java.nio.ByteBuffer container)Creates aVkObjectTablePushConstantEntryNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTablePushConstantEntryNVXcalloc()Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withmemCalloc.static VkObjectTablePushConstantEntryNVX.Buffercalloc(int capacity)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withmemCalloc.static VkObjectTablePushConstantEntryNVXcallocStack()Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTablePushConstantEntryNVX.BuffercallocStack(int capacity)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTablePushConstantEntryNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTablePushConstantEntryNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTablePushConstantEntryNVXcreate()Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withBufferUtils.static VkObjectTablePushConstantEntryNVX.Buffercreate(int capacity)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withBufferUtils.static VkObjectTablePushConstantEntryNVXcreate(long address)Returns a newVkObjectTablePushConstantEntryNVXinstance for the specified memory address.static VkObjectTablePushConstantEntryNVX.Buffercreate(long address, int capacity)Create aVkObjectTablePushConstantEntryNVX.Bufferinstance at the specified memory.static VkObjectTablePushConstantEntryNVXcreateSafe(long address)static VkObjectTablePushConstantEntryNVX.BuffercreateSafe(long address, int capacity)intflags()Returns the value of theflagsfield.VkObjectTablePushConstantEntryNVXflags(int value)Sets the specified value to theflagsfield.static VkObjectTablePushConstantEntryNVXmalloc()Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withmemAlloc.static VkObjectTablePushConstantEntryNVX.Buffermalloc(int capacity)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withmemAlloc.static VkObjectTablePushConstantEntryNVXmallocStack()Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the thread-localMemoryStack.static VkObjectTablePushConstantEntryNVX.BuffermallocStack(int capacity)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkObjectTablePushConstantEntryNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkObjectTablePushConstantEntryNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpipelineLayout(long struct)Unsafe version ofpipelineLayout().static voidnpipelineLayout(long struct, long value)Unsafe version ofpipelineLayout.static intnstageFlags(long struct)Unsafe version ofstageFlags().static voidnstageFlags(long struct, int value)Unsafe version ofstageFlags.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.longpipelineLayout()Returns the value of thepipelineLayoutfield.VkObjectTablePushConstantEntryNVXpipelineLayout(long value)Sets the specified value to thepipelineLayoutfield.VkObjectTablePushConstantEntryNVXset(int type, int flags, long pipelineLayout, int stageFlags)Initializes this struct with the specified values.VkObjectTablePushConstantEntryNVXset(VkObjectTablePushConstantEntryNVX src)Copies the specified struct data to this struct.intsizeof()intstageFlags()Returns the value of thestageFlagsfield.VkObjectTablePushConstantEntryNVXstageFlags(int value)Sets the specified value to thestageFlagsfield.inttype()Returns the value of thetypefield.VkObjectTablePushConstantEntryNVXtype(int value)Sets the specified value to thetypefield.
-
-
-
Constructor Detail
-
VkObjectTablePushConstantEntryNVX
public VkObjectTablePushConstantEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTablePushConstantEntryNVXinstance 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 Detail
-
sizeof
public int sizeof()
- Specified by:
sizeofin classorg.lwjgl.system.Struct
-
type
public int type()
Returns the value of thetypefield.
-
flags
public int flags()
Returns the value of theflagsfield.
-
pipelineLayout
public long pipelineLayout()
Returns the value of thepipelineLayoutfield.
-
stageFlags
public int stageFlags()
Returns the value of thestageFlagsfield.
-
type
public VkObjectTablePushConstantEntryNVX type(int value)
Sets the specified value to thetypefield.
-
flags
public VkObjectTablePushConstantEntryNVX flags(int value)
Sets the specified value to theflagsfield.
-
pipelineLayout
public VkObjectTablePushConstantEntryNVX pipelineLayout(long value)
Sets the specified value to thepipelineLayoutfield.
-
stageFlags
public VkObjectTablePushConstantEntryNVX stageFlags(int value)
Sets the specified value to thestageFlagsfield.
-
set
public VkObjectTablePushConstantEntryNVX set(int type, int flags, long pipelineLayout, int stageFlags)
Initializes this struct with the specified values.
-
set
public VkObjectTablePushConstantEntryNVX set(VkObjectTablePushConstantEntryNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkObjectTablePushConstantEntryNVX malloc()
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkObjectTablePushConstantEntryNVX calloc()
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkObjectTablePushConstantEntryNVX create()
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated withBufferUtils.
-
create
public static VkObjectTablePushConstantEntryNVX create(long address)
Returns a newVkObjectTablePushConstantEntryNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTablePushConstantEntryNVX createSafe(long address)
-
malloc
public static VkObjectTablePushConstantEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkObjectTablePushConstantEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTablePushConstantEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTablePushConstantEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTablePushConstantEntryNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkObjectTablePushConstantEntryNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkObjectTablePushConstantEntryNVX mallocStack()
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkObjectTablePushConstantEntryNVX callocStack()
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkObjectTablePushConstantEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkObjectTablePushConstantEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePushConstantEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkObjectTablePushConstantEntryNVX.Buffer mallocStack(int capacity)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkObjectTablePushConstantEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkObjectTablePushConstantEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkObjectTablePushConstantEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePushConstantEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
ntype
public static int ntype(long struct)
Unsafe version oftype().
-
nflags
public static int nflags(long struct)
Unsafe version offlags().
-
npipelineLayout
public static long npipelineLayout(long struct)
Unsafe version ofpipelineLayout().
-
nstageFlags
public static int nstageFlags(long struct)
Unsafe version ofstageFlags().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
npipelineLayout
public static void npipelineLayout(long struct, long value)Unsafe version ofpipelineLayout.
-
nstageFlags
public static void nstageFlags(long struct, int value)Unsafe version ofstageFlags.
-
-