public static class CUDA_TEXTURE_DESC.Buffer extends org.lwjgl.system.StructBuffer<CUDA_TEXTURE_DESC,CUDA_TEXTURE_DESC.Buffer> implements org.lwjgl.system.NativeResource
CUDA_TEXTURE_DESC structs.| Constructor and Description |
|---|
Buffer(java.nio.ByteBuffer container)
Creates a new
CUDA_TEXTURE_DESC.Buffer instance backed by the specified container. |
Buffer(long address,
int cap) |
| Modifier and Type | Method and Description |
|---|---|
java.nio.IntBuffer |
addressMode()
Returns a
IntBuffer view of the addressMode field. |
int |
addressMode(int index)
Returns the value at the specified index of the
addressMode field. |
CUDA_TEXTURE_DESC.Buffer |
addressMode(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the addressMode field. |
CUDA_TEXTURE_DESC.Buffer |
addressMode(int index,
int value)
Sets the specified value at the specified index of the
addressMode field. |
java.nio.FloatBuffer |
borderColor()
Returns a
FloatBuffer view of the borderColor field. |
CUDA_TEXTURE_DESC.Buffer |
borderColor(java.nio.FloatBuffer value)
Copies the specified
FloatBuffer to the borderColor field. |
float |
borderColor(int index)
Returns the value at the specified index of the
borderColor field. |
CUDA_TEXTURE_DESC.Buffer |
borderColor(int index,
float value)
Sets the specified value at the specified index of the
borderColor field. |
int |
filterMode()
Returns the value of the
filterMode field. |
CUDA_TEXTURE_DESC.Buffer |
filterMode(int value)
Sets the specified value to the
filterMode field. |
int |
flags()
Returns the value of the
flags field. |
CUDA_TEXTURE_DESC.Buffer |
flags(int value)
Sets the specified value to the
flags field. |
int |
maxAnisotropy()
Returns the value of the
maxAnisotropy field. |
CUDA_TEXTURE_DESC.Buffer |
maxAnisotropy(int value)
Sets the specified value to the
maxAnisotropy field. |
float |
maxMipmapLevelClamp()
Returns the value of the
maxMipmapLevelClamp field. |
CUDA_TEXTURE_DESC.Buffer |
maxMipmapLevelClamp(float value)
Sets the specified value to the
maxMipmapLevelClamp field. |
float |
minMipmapLevelClamp()
Returns the value of the
minMipmapLevelClamp field. |
CUDA_TEXTURE_DESC.Buffer |
minMipmapLevelClamp(float value)
Sets the specified value to the
minMipmapLevelClamp field. |
int |
mipmapFilterMode()
Returns the value of the
mipmapFilterMode field. |
CUDA_TEXTURE_DESC.Buffer |
mipmapFilterMode(int value)
Sets the specified value to the
mipmapFilterMode field. |
float |
mipmapLevelBias()
Returns the value of the
mipmapLevelBias field. |
CUDA_TEXTURE_DESC.Buffer |
mipmapLevelBias(float value)
Sets the specified value to the
mipmapLevelBias field. |
java.nio.IntBuffer |
reserved()
Returns a
IntBuffer view of the reserved field. |
int |
reserved(int index)
Returns the value at the specified index of the
reserved field. |
CUDA_TEXTURE_DESC.Buffer |
reserved(java.nio.IntBuffer value)
Copies the specified
IntBuffer to the reserved field. |
CUDA_TEXTURE_DESC.Buffer |
reserved(int index,
int value)
Sets the specified value at the specified index of the
reserved field. |
apply, apply, forEach, get, get, get, get, iterator, parallelStream, put, put, sizeof, spliterator, streampublic Buffer(java.nio.ByteBuffer container)
CUDA_TEXTURE_DESC.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 CUDA_TEXTURE_DESC.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 java.nio.IntBuffer addressMode()
IntBuffer view of the addressMode field.public int addressMode(int index)
addressMode field.public int filterMode()
filterMode field.public int flags()
flags field.public int maxAnisotropy()
maxAnisotropy field.public int mipmapFilterMode()
mipmapFilterMode field.public float mipmapLevelBias()
mipmapLevelBias field.public float minMipmapLevelClamp()
minMipmapLevelClamp field.public float maxMipmapLevelClamp()
maxMipmapLevelClamp field.public java.nio.FloatBuffer borderColor()
FloatBuffer view of the borderColor field.public float borderColor(int index)
borderColor field.public java.nio.IntBuffer reserved()
IntBuffer view of the reserved field.public int reserved(int index)
reserved field.public CUDA_TEXTURE_DESC.Buffer addressMode(java.nio.IntBuffer value)
IntBuffer to the addressMode field.public CUDA_TEXTURE_DESC.Buffer addressMode(int index, int value)
addressMode field.public CUDA_TEXTURE_DESC.Buffer filterMode(int value)
filterMode field.public CUDA_TEXTURE_DESC.Buffer flags(int value)
flags field.public CUDA_TEXTURE_DESC.Buffer maxAnisotropy(int value)
maxAnisotropy field.public CUDA_TEXTURE_DESC.Buffer mipmapFilterMode(int value)
mipmapFilterMode field.public CUDA_TEXTURE_DESC.Buffer mipmapLevelBias(float value)
mipmapLevelBias field.public CUDA_TEXTURE_DESC.Buffer minMipmapLevelClamp(float value)
minMipmapLevelClamp field.public CUDA_TEXTURE_DESC.Buffer maxMipmapLevelClamp(float value)
maxMipmapLevelClamp field.public CUDA_TEXTURE_DESC.Buffer borderColor(java.nio.FloatBuffer value)
FloatBuffer to the borderColor field.public CUDA_TEXTURE_DESC.Buffer borderColor(int index, float value)
borderColor field.public CUDA_TEXTURE_DESC.Buffer reserved(java.nio.IntBuffer value)
IntBuffer to the reserved field.public CUDA_TEXTURE_DESC.Buffer reserved(int index, int value)
reserved field.Copyright LWJGL. All Rights Reserved. License terms.