Package org.lwjgl.vulkan
Class VkObjectTablePipelineEntryNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkObjectTablePipelineEntryNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkObjectTablePipelineEntryNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceParameters of an object table pipeline entry.Valid Usage
typemust beOBJECT_ENTRY_TYPE_PIPELINE_NVX
Valid Usage (Implicit)
typemust be a validVkObjectEntryTypeNVXvalueflagsmust be a valid combination ofVkObjectEntryUsageFlagBitsNVXvaluesflagsmust not be 0pipelinemust be a validVkPipelinehandle
Member documentation
pipeline– specifies theVkPipelinethat this resource entry references.
Layout
struct VkObjectTablePipelineEntryNVX { VkObjectEntryTypeNVX type; VkObjectEntryUsageFlagsNVX flags; VkPipeline pipeline; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkObjectTablePipelineEntryNVX.BufferAn array ofVkObjectTablePipelineEntryNVXstructs.
-
Constructor Summary
Constructors Constructor Description VkObjectTablePipelineEntryNVX(java.nio.ByteBuffer container)Creates aVkObjectTablePipelineEntryNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTablePipelineEntryNVXcalloc()Returns a newVkObjectTablePipelineEntryNVXinstance allocated withmemCalloc.static VkObjectTablePipelineEntryNVX.Buffercalloc(int capacity)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withmemCalloc.static VkObjectTablePipelineEntryNVXcallocStack()Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTablePipelineEntryNVX.BuffercallocStack(int capacity)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.static VkObjectTablePipelineEntryNVX.BuffercallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTablePipelineEntryNVXcallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkObjectTablePipelineEntryNVXcreate()Returns a newVkObjectTablePipelineEntryNVXinstance allocated withBufferUtils.static VkObjectTablePipelineEntryNVX.Buffercreate(int capacity)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withBufferUtils.static VkObjectTablePipelineEntryNVXcreate(long address)Returns a newVkObjectTablePipelineEntryNVXinstance for the specified memory address.static VkObjectTablePipelineEntryNVX.Buffercreate(long address, int capacity)Create aVkObjectTablePipelineEntryNVX.Bufferinstance at the specified memory.static VkObjectTablePipelineEntryNVXcreateSafe(long address)static VkObjectTablePipelineEntryNVX.BuffercreateSafe(long address, int capacity)intflags()Returns the value of theflagsfield.VkObjectTablePipelineEntryNVXflags(int value)Sets the specified value to theflagsfield.static VkObjectTablePipelineEntryNVXmalloc()Returns a newVkObjectTablePipelineEntryNVXinstance allocated withmemAlloc.static VkObjectTablePipelineEntryNVX.Buffermalloc(int capacity)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withmemAlloc.static VkObjectTablePipelineEntryNVXmallocStack()Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the thread-localMemoryStack.static VkObjectTablePipelineEntryNVX.BuffermallocStack(int capacity)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.static VkObjectTablePipelineEntryNVX.BuffermallocStack(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkObjectTablePipelineEntryNVXmallocStack(org.lwjgl.system.MemoryStack stack)Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the specifiedMemoryStack.static intnflags(long struct)Unsafe version offlags().static voidnflags(long struct, int value)Unsafe version offlags.static longnpipeline(long struct)Unsafe version ofpipeline().static voidnpipeline(long struct, long value)Unsafe version ofpipeline.static intntype(long struct)Unsafe version oftype().static voidntype(long struct, int value)Unsafe version oftype.longpipeline()Returns the value of thepipelinefield.VkObjectTablePipelineEntryNVXpipeline(long value)Sets the specified value to thepipelinefield.VkObjectTablePipelineEntryNVXset(int type, int flags, long pipeline)Initializes this struct with the specified values.VkObjectTablePipelineEntryNVXset(VkObjectTablePipelineEntryNVX src)Copies the specified struct data to this struct.intsizeof()inttype()Returns the value of thetypefield.VkObjectTablePipelineEntryNVXtype(int value)Sets the specified value to thetypefield.
-
-
-
Constructor Detail
-
VkObjectTablePipelineEntryNVX
public VkObjectTablePipelineEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTablePipelineEntryNVXinstance 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.
-
pipeline
public long pipeline()
Returns the value of thepipelinefield.
-
type
public VkObjectTablePipelineEntryNVX type(int value)
Sets the specified value to thetypefield.
-
flags
public VkObjectTablePipelineEntryNVX flags(int value)
Sets the specified value to theflagsfield.
-
pipeline
public VkObjectTablePipelineEntryNVX pipeline(long value)
Sets the specified value to thepipelinefield.
-
set
public VkObjectTablePipelineEntryNVX set(int type, int flags, long pipeline)
Initializes this struct with the specified values.
-
set
public VkObjectTablePipelineEntryNVX set(VkObjectTablePipelineEntryNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkObjectTablePipelineEntryNVX malloc()
Returns a newVkObjectTablePipelineEntryNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkObjectTablePipelineEntryNVX calloc()
Returns a newVkObjectTablePipelineEntryNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkObjectTablePipelineEntryNVX create()
Returns a newVkObjectTablePipelineEntryNVXinstance allocated withBufferUtils.
-
create
public static VkObjectTablePipelineEntryNVX create(long address)
Returns a newVkObjectTablePipelineEntryNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTablePipelineEntryNVX createSafe(long address)
-
malloc
public static VkObjectTablePipelineEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkObjectTablePipelineEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTablePipelineEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkObjectTablePipelineEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTablePipelineEntryNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkObjectTablePipelineEntryNVX.Buffer createSafe(long address, int capacity)
-
mallocStack
public static VkObjectTablePipelineEntryNVX mallocStack()
Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the thread-localMemoryStack.
-
callocStack
public static VkObjectTablePipelineEntryNVX callocStack()
Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.
-
mallocStack
public static VkObjectTablePipelineEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
callocStack
public static VkObjectTablePipelineEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
mallocStack
public static VkObjectTablePipelineEntryNVX.Buffer mallocStack(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the thread-localMemoryStack.- Parameters:
capacity- the buffer capacity
-
callocStack
public static VkObjectTablePipelineEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the thread-localMemoryStackand initializes all its bits to zero.- Parameters:
capacity- the buffer capacity
-
mallocStack
public static VkObjectTablePipelineEntryNVX.Buffer mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
callocStack
public static VkObjectTablePipelineEntryNVX.Buffer callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX.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().
-
npipeline
public static long npipeline(long struct)
Unsafe version ofpipeline().
-
ntype
public static void ntype(long struct, int value)Unsafe version oftype.
-
nflags
public static void nflags(long struct, int value)Unsafe version offlags.
-
npipeline
public static void npipeline(long struct, long value)Unsafe version ofpipeline.
-
-