Package org.lwjgl.cuda
Class CUaccessPolicyWindow.Buffer
- java.lang.Object
-
- org.lwjgl.system.Pointer.Default
-
- org.lwjgl.system.CustomBuffer<SELF>
-
- org.lwjgl.system.StructBuffer<CUaccessPolicyWindow,CUaccessPolicyWindow.Buffer>
-
- org.lwjgl.cuda.CUaccessPolicyWindow.Buffer
-
- All Implemented Interfaces:
java.lang.AutoCloseable,java.lang.Iterable<CUaccessPolicyWindow>,org.lwjgl.system.NativeResource,org.lwjgl.system.Pointer
- Enclosing class:
- CUaccessPolicyWindow
public static class CUaccessPolicyWindow.Buffer extends org.lwjgl.system.StructBuffer<CUaccessPolicyWindow,CUaccessPolicyWindow.Buffer> implements org.lwjgl.system.NativeResource
An array ofCUaccessPolicyWindowstructs.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longbase_ptr()CUaccessPolicyWindow.Bufferbase_ptr(long value)Sets the specified value to theCUaccessPolicyWindow.base_ptr()field.inthitProp()CUaccessPolicyWindow.BufferhitProp(int value)Sets the specified value to theCUaccessPolicyWindow.hitProp()field.floathitRatio()CUaccessPolicyWindow.BufferhitRatio(float value)Sets the specified value to theCUaccessPolicyWindow.hitRatio()field.intmissProp()CUaccessPolicyWindow.BuffermissProp(int value)Sets the specified value to theCUaccessPolicyWindow.missProp()field.longnum_bytes()CUaccessPolicyWindow.Buffernum_bytes(long value)Sets the specified value to theCUaccessPolicyWindow.num_bytes()field.
-
-
-
Constructor Detail
-
Buffer
public Buffer(java.nio.ByteBuffer container)
Creates a newCUaccessPolicyWindow.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 byCUaccessPolicyWindow.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
-
base_ptr
public long base_ptr()
- Returns:
- the value of the
CUaccessPolicyWindow.base_ptr()field.
-
num_bytes
public long num_bytes()
- Returns:
- the value of the
CUaccessPolicyWindow.num_bytes()field.
-
hitRatio
public float hitRatio()
- Returns:
- the value of the
CUaccessPolicyWindow.hitRatio()field.
-
hitProp
public int hitProp()
- Returns:
- the value of the
CUaccessPolicyWindow.hitProp()field.
-
missProp
public int missProp()
- Returns:
- the value of the
CUaccessPolicyWindow.missProp()field.
-
base_ptr
public CUaccessPolicyWindow.Buffer base_ptr(long value)
Sets the specified value to theCUaccessPolicyWindow.base_ptr()field.
-
num_bytes
public CUaccessPolicyWindow.Buffer num_bytes(long value)
Sets the specified value to theCUaccessPolicyWindow.num_bytes()field.
-
hitRatio
public CUaccessPolicyWindow.Buffer hitRatio(float value)
Sets the specified value to theCUaccessPolicyWindow.hitRatio()field.
-
hitProp
public CUaccessPolicyWindow.Buffer hitProp(int value)
Sets the specified value to theCUaccessPolicyWindow.hitProp()field.
-
missProp
public CUaccessPolicyWindow.Buffer missProp(int value)
Sets the specified value to theCUaccessPolicyWindow.missProp()field.
-
-