Package org.lwjgl.util.spvc
Class SpvcEntryPoint.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<SpvcEntryPoint,SpvcEntryPoint.Buffer>
-
- org.lwjgl.util.spvc.SpvcEntryPoint.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<SpvcEntryPoint>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- SpvcEntryPoint
public static class SpvcEntryPoint.Buffer extends org.lwjgl.system.StructBuffer<SpvcEntryPoint,SpvcEntryPoint.Buffer> implements org.lwjgl.system.NativeResource
An array ofSpvcEntryPointstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intexecution_model()SpvcEntryPoint.Bufferexecution_model(int value)Sets the specified value to theexecution_modelfield.java.nio.ByteBuffername()SpvcEntryPoint.Buffername(java.nio.ByteBuffer value)Sets the address of the specified encoded string to thenamefield.java.lang.StringnameString()
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newSpvcEntryPoint.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 bySpvcEntryPoint.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
-
execution_model
public int execution_model()
- Returns:
- the value of the
execution_modelfield.
-
name
public java.nio.ByteBuffer name()
- Returns:
- a
ByteBufferview of the null-terminated string pointed to by thenamefield.
-
nameString
public java.lang.String nameString()
- Returns:
- the null-terminated string pointed to by the
namefield.
-
execution_model
public SpvcEntryPoint.Buffer execution_model(int value)
Sets the specified value to theexecution_modelfield.
-
name
public SpvcEntryPoint.Buffer name(java.nio.ByteBuffer value)
Sets the address of the specified encoded string to thenamefield.
-
-