Library/ManagedCuda/CudaTexture.cs
/// <summary>
/// Create a new CudaMipmappedArray and bind it to a texture reference.
/// </summary>
/// <param name="kernel"></param>
/// <param name="texName"></param>
/// <param name="addressModeForAllDimensions"></param>
/// <param name="filterMode"></param>
/// <param name="flags"></param>
/// <param name="descriptor"></param>
/// <param name="numMipmapLevels"></param>
/// <param name="maxAniso"></param>
/// <param name="mipmapFilterMode"></param>
/// <param name="mipmapLevelBias"></param>
/// <param name="minMipmapLevelClamp"></param>
/// <param name="maxMipmapLevelClamp"></param>
Create a new CudaMipmappedArray and bind it to a texture reference.
Create a new CudaMipmappedArray and bind it to a texture reference .
public static CudaMipmappedArray BindTexture(CudaKernel kernel, string texName, CUAddressMode addressModeForAllDimensions,
			CUFilterMode filterMode, CUTexRefSetFlags flags, CUDAArray3DDescriptor descriptor, uint numMipmapLevels,
			uint maxAniso, CUFilterMode mipmapFilterMode, float mipmapLevelBias, float minMipmapLevelClamp, float maxMipmapLevelClamp)
		{
			return BindTexture(kernel, texName, addressModeForAllDimensions, addressModeForAllDimensions, addressModeForAllDimensions, filterMode, flags, descriptor,
			numMipmapLevels, maxAniso, mipmapFilterMode, mipmapLevelBias, minMipmapLevelClamp, maxMipmapLevelClamp);
		}
public static CudaMipmappedArray BindTexture ( CudaKernel kernel , string texName , CUAddressMode addressModeForAllDimensions , CUFilterMode filterMode , CUTexRefSetFlags flags , CUDAArray3DDescriptor descriptor , uint numMipmapLevels , uint maxAniso , CUFilterMode mipmapFilterMode , float mipmapLevelBias , float minMipmapLevelClamp , float maxMipmapLevelClamp ) { return BindTexture ( kernel , texName , addressModeForAllDimensions , addressModeForAllDimensions , addressModeForAllDimensions , filterMode , flags , descriptor , numMipmapLevels , maxAniso , mipmapFilterMode , mipmapLevelBias , minMipmapLevelClamp , maxMipmapLevelClamp ) ; }
Create a new CudaMipmappedArray and bind it to a texture reference.
Create a new CudaMipmappedArray and bind it to a texture reference .
kernel
CudaKernel
None
texName
string
None
addressModeForAllDimensions
CUAddressMode
None
filterMode
CUFilterMode
None
flags
CUTexRefSetFlags
None
descriptor
CUDAArray3DDescriptor
None
numMipmapLevels
uint
None
maxAniso
uint
None
mipmapFilterMode
CUFilterMode
None
mipmapLevelBias
float
None
minMipmapLevelClamp
float
None
maxMipmapLevelClamp
float
None