public static class CUdevprop.Buffer extends org.lwjgl.system.StructBuffer<CUdevprop,CUdevprop.Buffer> implements org.lwjgl.system.NativeResource
CUdevprop structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUdevprop.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
int |
clockRate()
Returns the value of the
clockRate field. |
CUdevprop.Buffer |
clockRate(int value)
Sets the specified value to the
clockRate field. |
java.nio.IntBuffer |
maxGridSize()
Returns a
IntBuffer view of the maxGridSize field. |
int |
maxGridSize(int index)
Returns the value at the specified index of the
maxGridSize field. |
CUdevprop.Buffer |
maxGridSize(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the maxGridSize field. |
CUdevprop.Buffer |
maxGridSize(int index,
int value)
Sets the specified value at the specified index of the
maxGridSize field. |
java.nio.IntBuffer |
maxThreadsDim()
Returns a
IntBuffer view of the maxThreadsDim field. |
int |
maxThreadsDim(int index)
Returns the value at the specified index of the
maxThreadsDim field. |
CUdevprop.Buffer |
maxThreadsDim(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the maxThreadsDim field. |
CUdevprop.Buffer |
maxThreadsDim(int index,
int value)
Sets the specified value at the specified index of the
maxThreadsDim field. |
int |
maxThreadsPerBlock()
Returns the value of the
maxThreadsPerBlock field. |
CUdevprop.Buffer |
maxThreadsPerBlock(int value)
Sets the specified value to the
maxThreadsPerBlock field. |
int |
memPitch()
Returns the value of the
memPitch field. |
CUdevprop.Buffer |
memPitch(int value)
Sets the specified value to the
memPitch field. |
int |
regsPerBlock()
Returns the value of the
regsPerBlock field. |
CUdevprop.Buffer |
regsPerBlock(int value)
Sets the specified value to the
regsPerBlock field. |
int |
sharedMemPerBlock()
Returns the value of the
sharedMemPerBlock field. |
CUdevprop.Buffer |
sharedMemPerBlock(int value)
Sets the specified value to the
sharedMemPerBlock field. |
int |
SIMDWidth()
Returns the value of the
SIMDWidth field. |
CUdevprop.Buffer |
SIMDWidth(int value)
Sets the specified value to the
SIMDWidth field. |
int |
textureAlign()
Returns the value of the
textureAlign field. |
CUdevprop.Buffer |
textureAlign(int value)
Sets the specified value to the
textureAlign field. |
int |
totalConstantMemory()
Returns the value of the
totalConstantMemory field. |
CUdevprop.Buffer |
totalConstantMemory(int value)
Sets the specified value to the
totalConstantMemory field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CUdevprop.Buffer instance 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
by CUdevprop.SIZEOF, and its mark will be undefined.
The created buffer instance holds a strong reference to the container object.
public Buffer(long address,
int cap)
public int maxThreadsPerBlock()
maxThreadsPerBlock field.public java.nio.IntBuffer maxThreadsDim()
IntBuffer view of the maxThreadsDim field.public int maxThreadsDim(int index)
maxThreadsDim field.public java.nio.IntBuffer maxGridSize()
IntBuffer view of the maxGridSize field.public int maxGridSize(int index)
maxGridSize field.public int sharedMemPerBlock()
sharedMemPerBlock field.public int totalConstantMemory()
totalConstantMemory field.public int SIMDWidth()
SIMDWidth field.public int memPitch()
memPitch field.public int regsPerBlock()
regsPerBlock field.public int clockRate()
clockRate field.public int textureAlign()
textureAlign field.public CUdevprop.Buffer maxThreadsPerBlock(int value)
maxThreadsPerBlock field.public CUdevprop.Buffer maxThreadsDim(java.nio.IntBuffer value)
IntBuffer to the maxThreadsDim field.public CUdevprop.Buffer maxThreadsDim(int index, int value)
maxThreadsDim field.public CUdevprop.Buffer maxGridSize(java.nio.IntBuffer value)
IntBuffer to the maxGridSize field.public CUdevprop.Buffer maxGridSize(int index, int value)
maxGridSize field.public CUdevprop.Buffer sharedMemPerBlock(int value)
sharedMemPerBlock field.public CUdevprop.Buffer totalConstantMemory(int value)
totalConstantMemory field.public CUdevprop.Buffer SIMDWidth(int value)
SIMDWidth field.public CUdevprop.Buffer memPitch(int value)
memPitch field.public CUdevprop.Buffer regsPerBlock(int value)
regsPerBlock field.public CUdevprop.Buffer clockRate(int value)
clockRate field.public CUdevprop.Buffer textureAlign(int value)
textureAlign field.Copyright LWJGL. All Rights Reserved. License terms.