Texture Reference Management
[CUDA Driver API]


Functions

CUresult cuTexRefCreate (CUtexref *phTexRef)
 Creates a texture reference.
CUresult cuTexRefDestroy (CUtexref hTexRef)
 Destroys a texture reference.
CUresult cuTexRefGetAddress (CUdeviceptr *pdptr, CUtexref hTexRef)
 Gets the address associated with a texture reference.
CUresult cuTexRefGetAddressMode (CUaddress_mode *pAddressMode, CUtexref hTexRef, int Dim)
 Gets the addressing mode used by a texture reference.
CUresult cuTexRefGetArray (CUarray *phArray, CUtexref hTexRef)
 Gets the array bound to a texture reference.
CUresult cuTexRefGetFilterMode (CUfilter_mode *pFilterMode, CUtexref hTexRef)
 Gets the filter-mode used by a texture reference.
CUresult cuTexRefGetFlags (unsigned int *pFlags, CUtexref hTexRef)
 Gets the flags used by a texture reference.
CUresult cuTexRefGetFormat (CUarray_format *pFormat, int *pNumPackedComponents, CUtexref hTexRef)
 Gets the format used by a texture reference.
CUresult cuTexRefSetAddress (unsigned int *pOffset, CUtexref hTexRef, CUdeviceptr dptr, unsigned int bytes)
 Binds an address as a texture reference.
CUresult cuTexRefSetAddress2D (CUtexref hTexRef, const CUDA_ARRAY_DESCRIPTOR *desc, CUdeviceptr dptr, unsigned int PitchInBytes)
 Binds an address as a 2D texture reference.
CUresult cuTexRefSetAddressMode (CUtexref hTexRef, int Dim, CUaddress_mode am)
 Sets the addressing mode for a texture reference.
CUresult cuTexRefSetArray (CUtexref hTexRef, CUarray hArray, unsigned int Flags)
 Binds an address as a texture reference.
CUresult cuTexRefSetFilterMode (CUtexref hTexRef, CUfilter_mode fm)
 Sets the filtering mode for a texture reference.
CUresult cuTexRefSetFlags (CUtexref hTexRef, unsigned int Flags)
 Sets the flags for a texture reference.
CUresult cuTexRefSetFormat (CUtexref hTexRef, CUarray_format Format, int NumChannels)
 Sets the format for a texture reference.

Detailed Description

This section describes the texture reference management functions of the low-level CUDA driver application programming interface.

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