Package org.lwjgl.vulkan
Class VkCuFunctionCreateInfoNVX.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<VkCuFunctionCreateInfoNVX,VkCuFunctionCreateInfoNVX.Buffer>
-
- org.lwjgl.vulkan.VkCuFunctionCreateInfoNVX.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<VkCuFunctionCreateInfoNVX>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- VkCuFunctionCreateInfoNVX
public static class VkCuFunctionCreateInfoNVX.Buffer extends org.lwjgl.system.StructBuffer<VkCuFunctionCreateInfoNVX,VkCuFunctionCreateInfoNVX.Buffer> implements org.lwjgl.system.NativeResource
An array ofVkCuFunctionCreateInfoNVXstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longmodule()VkCuFunctionCreateInfoNVX.Buffermodule(long value)Sets the specified value to themodulefield.java.nio.ByteBufferpName()VkCuFunctionCreateInfoNVX.BufferpName(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thepNamefield.java.lang.StringpNameString()longpNext()VkCuFunctionCreateInfoNVX.BufferpNext(long value)Sets the specified value to thepNextfield.intsType()VkCuFunctionCreateInfoNVX.BuffersType(int value)Sets the specified value to thesTypefield.VkCuFunctionCreateInfoNVX.BuffersType$Default()Sets theSTRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXvalue to thesTypefield.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newVkCuFunctionCreateInfoNVX.Bufferinstance backed by the specified container. Changes to the container's content will be visible to the struct buffer instance and vice versa. The two buffers' position, limit, and mark values will be independent. The new buffer's position will be zero, its capacity and its limit will be the number of bytes remaining in this buffer divided byVkCuFunctionCreateInfoNVX.SIZEOF, and its mark will be undefined.The created buffer instance holds a strong reference to the container object.
-
Buffer
public Buffer(long address, int cap)
-
-
Method Detail
-
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.Buffer sType(int value)
Sets the specified value to thesTypefield.
-
sType$Default
public VkCuFunctionCreateInfoNVX.Buffer sType$Default()
Sets theSTRUCTURE_TYPE_CU_FUNCTION_CREATE_INFO_NVXvalue to thesTypefield.
-
pNext
public VkCuFunctionCreateInfoNVX.Buffer pNext(long value)
Sets the specified value to thepNextfield.
-
module
public VkCuFunctionCreateInfoNVX.Buffer module(long value)
Sets the specified value to themodulefield.
-
pName
public VkCuFunctionCreateInfoNVX.Buffer pName(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thepNamefield.
-
-