Package org.lwjgl.vulkan
Class VkCuFunctionCreateInfoNVX
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.Struct
-
- org.lwjgl.vulkan.VkCuFunctionCreateInfoNVX
-
- All Implemented Interfaces:
java.lang.AutoCloseable,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
public class VkCuFunctionCreateInfoNVX extends org.lwjgl.system.Struct implements org.lwjgl.system.NativeResourceStub description of VkCuFunctionCreateInfoNVX.Valid Usage (Implicit)
sTypemust beSTRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXpNextmust beNULLmodulemust be a validVkCuModuleNVXhandlepNamemust be a null-terminated UTF-8 string
See Also
Layout
struct VkCuFunctionCreateInfoNVX { VkStructureType sType; void const * pNext; VkCuModuleNVX module; char const * pName; }
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classVkCuFunctionCreateInfoNVX.BufferAn array ofVkCuFunctionCreateInfoNVXstructs.
-
Constructor Summary
Constructors Constructor Description VkCuFunctionCreateInfoNVX(java.nio.ByteBuffer container)Creates aVkCuFunctionCreateInfoNVXinstance at the current position of the specifiedByteBuffercontainer.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static VkCuFunctionCreateInfoNVXcalloc()Returns a newVkCuFunctionCreateInfoNVXinstance allocated withmemCalloc.static VkCuFunctionCreateInfoNVX.Buffercalloc(int capacity)Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withmemCalloc.static VkCuFunctionCreateInfoNVX.Buffercalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCuFunctionCreateInfoNVXcalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCuFunctionCreateInfoNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.static VkCuFunctionCreateInfoNVXcreate()Returns a newVkCuFunctionCreateInfoNVXinstance allocated withBufferUtils.static VkCuFunctionCreateInfoNVX.Buffercreate(int capacity)Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withBufferUtils.static VkCuFunctionCreateInfoNVXcreate(long address)Returns a newVkCuFunctionCreateInfoNVXinstance for the specified memory address.static VkCuFunctionCreateInfoNVX.Buffercreate(long address, int capacity)Create aVkCuFunctionCreateInfoNVX.Bufferinstance at the specified memory.static VkCuFunctionCreateInfoNVXcreateSafe(long address)static VkCuFunctionCreateInfoNVX.BuffercreateSafe(long address, int capacity)static VkCuFunctionCreateInfoNVXmalloc()Returns a newVkCuFunctionCreateInfoNVXinstance allocated withmemAlloc.static VkCuFunctionCreateInfoNVX.Buffermalloc(int capacity)Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withmemAlloc.static VkCuFunctionCreateInfoNVX.Buffermalloc(int capacity, org.lwjgl.system.MemoryStack stack)Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated on the specifiedMemoryStack.static VkCuFunctionCreateInfoNVXmalloc(org.lwjgl.system.MemoryStack stack)Returns a newVkCuFunctionCreateInfoNVXinstance allocated on the specifiedMemoryStack.longmodule()VkCuFunctionCreateInfoNVXmodule(long value)Sets the specified value to themodulefield.static longnmodule(long struct)Unsafe version ofmodule().static voidnmodule(long struct, long value)Unsafe version ofmodule.static java.nio.ByteBuffernpName(long struct)Unsafe version ofpName().static voidnpName(long struct, java.nio.ByteBuffer value)Unsafe version ofpName.static java.lang.StringnpNameString(long struct)Unsafe version ofpNameString().static longnpNext(long struct)Unsafe version ofpNext().static voidnpNext(long struct, long value)Unsafe version ofpNext.static intnsType(long struct)Unsafe version ofsType().static voidnsType(long struct, int value)Unsafe version ofsType.java.nio.ByteBufferpName()VkCuFunctionCreateInfoNVXpName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepNamefield.java.lang.StringpNameString()longpNext()VkCuFunctionCreateInfoNVXpNext(long value)Sets the specified value to thepNextfield.VkCuFunctionCreateInfoNVXset(int sType, long pNext, long module, java.nio.ByteBuffer pName)Initializes this struct with the specified values.VkCuFunctionCreateInfoNVXset(VkCuFunctionCreateInfoNVX src)Copies the specified struct data to this struct.intsizeof()intsType()VkCuFunctionCreateInfoNVXsType(int value)Sets the specified value to thesTypefield.VkCuFunctionCreateInfoNVXsType$Default()Sets theSTRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXvalue to thesTypefield.static voidvalidate(long struct)Validates pointer members that should not beNULL.
-
-
-
Constructor Detail
-
VkCuFunctionCreateInfoNVX
public VkCuFunctionCreateInfoNVX(java.nio.ByteBuffer container)
Creates aVkCuFunctionCreateInfoNVXinstance 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
-
sType
public int sType()
- Returns:
- the value of the
sTypefield.
-
pNext
public long pNext()
- Returns:
- the value of the
pNextfield.
-
module
public long module()
- Returns:
- the value of the
modulefield.
-
pName
public java.nio.ByteBuffer pName()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thepNamefield.
-
pNameString
public java.lang.String pNameString()
- Returns:
- the null-terminated string pointed to by the
pNamefield.
-
sType
public VkCuFunctionCreateInfoNVX sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkCuFunctionCreateInfoNVX sType$Default()
Sets theSTRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXvalue to thesTypefield.
-
pNext
public VkCuFunctionCreateInfoNVX pNext(long value)
Sets the specified value to thepNextfield.
-
module
public VkCuFunctionCreateInfoNVX module(long value)
Sets the specified value to themodulefield.
-
pName
public VkCuFunctionCreateInfoNVX pName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepNamefield.
-
set
public VkCuFunctionCreateInfoNVX set(int sType, long pNext, long module, java.nio.ByteBuffer pName)
Initializes this struct with the specified values.
-
set
public VkCuFunctionCreateInfoNVX set(VkCuFunctionCreateInfoNVX src)
Copies the specified struct data to this struct.- Parameters:
src- the source struct- Returns:
- this struct
-
malloc
public static VkCuFunctionCreateInfoNVX malloc()
Returns a newVkCuFunctionCreateInfoNVXinstance allocated withmemAlloc. The instance must be explicitly freed.
-
calloc
public static VkCuFunctionCreateInfoNVX calloc()
Returns a newVkCuFunctionCreateInfoNVXinstance allocated withmemCalloc. The instance must be explicitly freed.
-
create
public static VkCuFunctionCreateInfoNVX create()
Returns a newVkCuFunctionCreateInfoNVXinstance allocated withBufferUtils.
-
create
public static VkCuFunctionCreateInfoNVX create(long address)
Returns a newVkCuFunctionCreateInfoNVXinstance for the specified memory address.
-
createSafe
@Nullable public static VkCuFunctionCreateInfoNVX createSafe(long address)
-
malloc
public static VkCuFunctionCreateInfoNVX.Buffer malloc(int capacity)
Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withmemAlloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
calloc
public static VkCuFunctionCreateInfoNVX.Buffer calloc(int capacity)
Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withmemCalloc. The instance must be explicitly freed.- Parameters:
capacity- the buffer capacity
-
create
public static VkCuFunctionCreateInfoNVX.Buffer create(int capacity)
Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated withBufferUtils.- Parameters:
capacity- the buffer capacity
-
create
public static VkCuFunctionCreateInfoNVX.Buffer create(long address, int capacity)
Create aVkCuFunctionCreateInfoNVX.Bufferinstance at the specified memory.- Parameters:
address- the memory addresscapacity- the buffer capacity
-
createSafe
@Nullable public static VkCuFunctionCreateInfoNVX.Buffer createSafe(long address, int capacity)
-
malloc
public static VkCuFunctionCreateInfoNVX malloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCuFunctionCreateInfoNVXinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocate
-
calloc
public static VkCuFunctionCreateInfoNVX calloc(org.lwjgl.system.MemoryStack stack)
Returns a newVkCuFunctionCreateInfoNVXinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocate
-
malloc
public static VkCuFunctionCreateInfoNVX.Buffer malloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated on the specifiedMemoryStack.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
calloc
public static VkCuFunctionCreateInfoNVX.Buffer calloc(int capacity, org.lwjgl.system.MemoryStack stack)
Returns a newVkCuFunctionCreateInfoNVX.Bufferinstance allocated on the specifiedMemoryStackand initializes all its bits to zero.- Parameters:
stack- the stack from which to allocatecapacity- the buffer capacity
-
nsType
public static int nsType(long struct)
Unsafe version ofsType().
-
npNext
public static long npNext(long struct)
Unsafe version ofpNext().
-
nmodule
public static long nmodule(long struct)
Unsafe version ofmodule().
-
npName
public static java.nio.ByteBuffer npName(long struct)
Unsafe version ofpName().
-
npNameString
public static java.lang.String npNameString(long struct)
Unsafe version ofpNameString().
-
nsType
public static void nsType(long struct, int value)Unsafe version ofsType.
-
npNext
public static void npNext(long struct, long value)Unsafe version ofpNext.
-
nmodule
public static void nmodule(long struct, long value)Unsafe version ofmodule.
-
npName
public static void npName(long struct, java.nio.ByteBuffer value)Unsafe version ofpName.
-
validate
public static void validate(long struct)
Validates pointer members that should not beNULL.- Parameters:
struct- the struct to validate
-
-