Library/ManagedCuda/CudaTexture.cs
/// <summary>
/// Bind a CudaMipmappedArray 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="array"></param>
/// <param name="maxAniso"></param>
/// <param name="mipmapFilterMode"></param>
/// <param name="mipmapLevelBias"></param>
/// <param name="minMipmapLevelClamp"></param>
/// <param name="maxMipmapLevelClamp"></param>
Bind a CudaMipmappedArray to a texture reference.
Bind a CudaMipmappedArray to a texture reference .
public static void BindTexture(CudaKernel kernel, string texName, CUAddressMode addressModeForAllDimensions, CUFilterMode filterMode, CUTexRefSetFlags flags, CudaMipmappedArray array,
			uint maxAniso, CUFilterMode mipmapFilterMode, float mipmapLevelBias, float minMipmapLevelClamp, float maxMipmapLevelClamp)
		{
			BindTexture(kernel, texName, addressModeForAllDimensions, addressModeForAllDimensions, addressModeForAllDimensions, filterMode, flags, array,
				maxAniso, mipmapFilterMode, mipmapLevelBias, minMipmapLevelClamp, maxMipmapLevelClamp);
		}
public static void BindTexture ( CudaKernel kernel , string texName , CUAddressMode addressModeForAllDimensions , CUFilterMode filterMode , CUTexRefSetFlags flags , CudaMipmappedArray array , uint maxAniso , CUFilterMode mipmapFilterMode , float mipmapLevelBias , float minMipmapLevelClamp , float maxMipmapLevelClamp ) { BindTexture ( kernel , texName , addressModeForAllDimensions , addressModeForAllDimensions , addressModeForAllDimensions , filterMode , flags , array , maxAniso , mipmapFilterMode , mipmapLevelBias , minMipmapLevelClamp , maxMipmapLevelClamp ) ; }
Bind a CudaMipmappedArray to a texture reference.
Bind a CudaMipmappedArray to a texture reference .
kernel
CudaKernel
None
texName
string
None
addressModeForAllDimensions
CUAddressMode
None
filterMode
CUFilterMode
None
flags
CUTexRefSetFlags
None
array
CudaMipmappedArray
None
maxAniso
uint
None
mipmapFilterMode
CUFilterMode
None
mipmapLevelBias
float
None
minMipmapLevelClamp
float
None
maxMipmapLevelClamp
float
None