jcuda.driver
Class CUaddress_mode

java.lang.Object
  extended by jcuda.driver.CUaddress_mode

public class CUaddress_mode
extends java.lang.Object

Texture reference addressing modes.

Most comments are taken from the CUDA reference manual.

See Also:
JCudaDriver.cuTexRefSetAddressMode(jcuda.driver.CUtexref, int, int), JCudaDriver.cuTexRefGetAddressMode(int[], jcuda.driver.CUtexref, int)

Field Summary
static int CU_TR_ADDRESS_MODE_CLAMP
          Clamp to edge address mode
static int CU_TR_ADDRESS_MODE_MIRROR
          Mirror address mode
static int CU_TR_ADDRESS_MODE_WRAP
          Wrapping address mode
 
Method Summary
static java.lang.String stringFor(int n)
          Returns the String identifying the given CUaddress_mode
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CU_TR_ADDRESS_MODE_WRAP

public static final int CU_TR_ADDRESS_MODE_WRAP
Wrapping address mode

See Also:
Constant Field Values

CU_TR_ADDRESS_MODE_CLAMP

public static final int CU_TR_ADDRESS_MODE_CLAMP
Clamp to edge address mode

See Also:
Constant Field Values

CU_TR_ADDRESS_MODE_MIRROR

public static final int CU_TR_ADDRESS_MODE_MIRROR
Mirror address mode

See Also:
Constant Field Values
Method Detail

stringFor

public static java.lang.String stringFor(int n)
Returns the String identifying the given CUaddress_mode

Parameters:
n - The CUaddress_mode
Returns:
The String identifying the given CUaddress_mode