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.NativeResource
Parameters of an object table pipeline entry.Valid Usage
type
must beOBJECT_ENTRY_TYPE_PIPELINE_NVX
Valid Usage (Implicit)
type
must be a validVkObjectEntryTypeNVX
valueflags
must be a valid combination ofVkObjectEntryUsageFlagBitsNVX
valuesflags
must not be 0pipeline
must be a validVkPipeline
handle
Member documentation
pipeline
– specifies theVkPipeline
that this resource entry references.
Layout
struct VkObjectTablePipelineEntryNVX { VkObjectEntryTypeNVX type; VkObjectEntryUsageFlagsNVX flags; VkPipeline pipeline; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VkObjectTablePipelineEntryNVX.Buffer
An array ofVkObjectTablePipelineEntryNVX
structs.
-
Constructor Summary
Constructors Constructor Description VkObjectTablePipelineEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTablePipelineEntryNVX
instance at the current position of the specifiedByteBuffer
container.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkObjectTablePipelineEntryNVX
calloc()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated withmemCalloc
.static VkObjectTablePipelineEntryNVX.Buffer
calloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withmemCalloc
.static VkObjectTablePipelineEntryNVX
callocStack()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkObjectTablePipelineEntryNVX.Buffer
callocStack(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.static VkObjectTablePipelineEntryNVX.Buffer
callocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkObjectTablePipelineEntryNVX
callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the specifiedMemoryStack
and initializes all its bits to zero.static VkObjectTablePipelineEntryNVX
create()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated withBufferUtils
.static VkObjectTablePipelineEntryNVX.Buffer
create(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withBufferUtils
.static VkObjectTablePipelineEntryNVX
create(long address)
Returns a newVkObjectTablePipelineEntryNVX
instance for the specified memory address.static VkObjectTablePipelineEntryNVX.Buffer
create(long address, int capacity)
Create aVkObjectTablePipelineEntryNVX.Buffer
instance at the specified memory.static VkObjectTablePipelineEntryNVX
createSafe(long address)
static VkObjectTablePipelineEntryNVX.Buffer
createSafe(long address, int capacity)
int
flags()
Returns the value of theflags
field.VkObjectTablePipelineEntryNVX
flags(int value)
Sets the specified value to theflags
field.static VkObjectTablePipelineEntryNVX
malloc()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated withmemAlloc
.static VkObjectTablePipelineEntryNVX.Buffer
malloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withmemAlloc
.static VkObjectTablePipelineEntryNVX
mallocStack()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the thread-localMemoryStack
.static VkObjectTablePipelineEntryNVX.Buffer
mallocStack(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
.static VkObjectTablePipelineEntryNVX.Buffer
mallocStack(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated on the specifiedMemoryStack
.static VkObjectTablePipelineEntryNVX
mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the specifiedMemoryStack
.static int
nflags(long struct)
Unsafe version offlags()
.static void
nflags(long struct, int value)
Unsafe version offlags
.static long
npipeline(long struct)
Unsafe version ofpipeline()
.static void
npipeline(long struct, long value)
Unsafe version ofpipeline
.static int
ntype(long struct)
Unsafe version oftype()
.static void
ntype(long struct, int value)
Unsafe version oftype
.long
pipeline()
Returns the value of thepipeline
field.VkObjectTablePipelineEntryNVX
pipeline(long value)
Sets the specified value to thepipeline
field.VkObjectTablePipelineEntryNVX
set(int type, int flags, long pipeline)
Initializes this struct with the specified values.VkObjectTablePipelineEntryNVX
set(VkObjectTablePipelineEntryNVX src)
Copies the specified struct data to this struct.int
sizeof()
int
type()
Returns the value of thetype
field.VkObjectTablePipelineEntryNVX
type(int value)
Sets the specified value to thetype
field.
-
-
-
Constructor Detail
-
VkObjectTablePipelineEntryNVX
public VkObjectTablePipelineEntryNVX(java.nio.ByteBuffer container)
Creates aVkObjectTablePipelineEntryNVX
instance at the current position of the specifiedByteBuffer
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.
-
-
Method Detail
-
sizeof
public int sizeof()
- Specified by:
sizeof
in classorg.lwjgl.system.Struct
-
type
public int type()
Returns the value of thetype
field.
-
flags
public int flags()
Returns the value of theflags
field.
-
pipeline
public long pipeline()
Returns the value of thepipeline
field.
-
type
public VkObjectTablePipelineEntryNVX type(int value)
Sets the specified value to thetype
field.
-
flags
public VkObjectTablePipelineEntryNVX flags(int value)
Sets the specified value to theflags
field.
-
pipeline
public VkObjectTablePipelineEntryNVX pipeline(long value)
Sets the specified value to thepipeline
field.
-
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 newVkObjectTablePipelineEntryNVX
instance allocated withmemAlloc
. The instance must be explicitly freed.
-
calloc
public static VkObjectTablePipelineEntryNVX calloc()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated withmemCalloc
. The instance must be explicitly freed.
-
create
public static VkObjectTablePipelineEntryNVX create()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated withBufferUtils
.
-
create
public static VkObjectTablePipelineEntryNVX create(long address)
Returns a newVkObjectTablePipelineEntryNVX
instance for the specified memory address.
-
createSafe
@Nullable public static VkObjectTablePipelineEntryNVX createSafe(long address)
-
malloc
public static VkObjectTablePipelineEntryNVX.Buffer malloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withmemAlloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
calloc
public static VkObjectTablePipelineEntryNVX.Buffer calloc(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withmemCalloc
. The instance must be explicitly freed.- Parameters:
capacity
- the buffer capacity
-
create
public static VkObjectTablePipelineEntryNVX.Buffer create(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated withBufferUtils
.- Parameters:
capacity
- the buffer capacity
-
create
public static VkObjectTablePipelineEntryNVX.Buffer create(long address, int capacity)
Create aVkObjectTablePipelineEntryNVX.Buffer
instance 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 newVkObjectTablePipelineEntryNVX
instance allocated on the thread-localMemoryStack
.
-
callocStack
public static VkObjectTablePipelineEntryNVX callocStack()
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the thread-localMemoryStack
and initializes all its bits to zero.
-
mallocStack
public static VkObjectTablePipelineEntryNVX mallocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the specifiedMemoryStack
.- Parameters:
stack
- the stack from which to allocate
-
callocStack
public static VkObjectTablePipelineEntryNVX callocStack(org.lwjgl.system.MemoryStack stack)
Returns a newVkObjectTablePipelineEntryNVX
instance allocated on the specifiedMemoryStack
and 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.Buffer
instance allocated on the thread-localMemoryStack
.- Parameters:
capacity
- the buffer capacity
-
callocStack
public static VkObjectTablePipelineEntryNVX.Buffer callocStack(int capacity)
Returns a newVkObjectTablePipelineEntryNVX.Buffer
instance allocated on the thread-localMemoryStack
and 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.Buffer
instance 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.Buffer
instance allocated on the specifiedMemoryStack
and 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
.
-
-