|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjcuda.runtime.textureReference
public class textureReference
Java port of a textureReference.
Most comments are taken from the CUDA reference manual or CUDA
programming guide.
Field Summary | |
---|---|
int[] |
addressMode
Specifies the addressing mode, that is how out-of-range texture coordinates are handled. addressMode is an array of size three whose first, second, and third elements specify the addressing mode for the first, second, and third texture coordinates, respectively; the addressing mode is equal to either cudaAddressModeClamp, in which case out-of-range texture coordinates are clamped to the valid range, or cudaAddressModeWrap, in which case out-of range texture coordinates are wrapped to the valid range; cudaAddressModeWrap is only supported for normalized texture coordinates; |
int |
filterMode
Specifies the filtering mode, that is how the value returned when fetching the texture is computed based on the input texture coordinates. |
int |
normalized
Specifies whether texture coordinates are normalized or not. |
Constructor Summary | |
---|---|
textureReference()
Creates a new, uninitialized textureReference |
Method Summary | |
---|---|
java.lang.String |
toString()
Returns a String representation of this object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int normalized
public int filterMode
cudaTextureFilterMode
public int[] addressMode
cudaTextureAddressMode
Constructor Detail |
---|
public textureReference()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |