CUresult cuTexRefGetAddressMode ( CUaddress_mode pAddressMode,
CUtexref  hTexRef,
int  Dim 
)

Returns in *pAddressMode the addressing mode corresponding to the dimension Dim of the texture reference hTexRef. Currently, the only valid value for Dim are 0 and 1.

Parameters:
pAddressMode - Returned addressing mode
hTexRef - Texture reference
Dim - Dimension
Returns:
CUDA_SUCCESS, CUDA_ERROR_DEINITIALIZED, CUDA_ERROR_NOT_INITIALIZED, CUDA_ERROR_INVALID_CONTEXT, CUDA_ERROR_INVALID_VALUE
See also:
cuTexRefCreate, cuTexRefDestroy, cuTexRefSetAddress, cuTexRefSetAddress2D, cuTexRefSetAddressMode, cuTexRefSetArray, cuTexRefSetFilterMode, cuTexRefSetFlags, cuTexRefSetFormat, cuTexRefGetAddress, cuTexRefGetArray, cuTexRefGetFilterMode, cuTexRefGetFlags, cuTexRefGetFormat


Generated by Doxygen on Mon Mar 30 23:16:13 2009 for NVIDIA CUDA Library  NVIDIA