Class CudaTextureArray1D
CudaArrayTexture1D
Inheritance
System.Object
CudaTextureArray1D
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ManagedCuda
Assembly: ManagedCuda.dll
Syntax
public class CudaTextureArray1D : IDisposable
Constructors
| Improve this Doc View SourceCudaTextureArray1D(CudaKernel, String, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CUArrayFormat, SizeT, CudaArray1DNumChannels)
Creates a new 1D texture from array memory. Allocates new array.
Declaration
public CudaTextureArray1D(CudaKernel kernel, string texName, CUAddressMode addressMode, CUFilterMode filterMode, CUTexRefSetFlags flags, CUArrayFormat format, SizeT size, CudaArray1DNumChannels numChannels)
Parameters
Type | Name | Description |
---|---|---|
CudaKernel | kernel | |
System.String | texName | |
CUAddressMode | addressMode | |
CUFilterMode | filterMode | |
CUTexRefSetFlags | flags | |
CUArrayFormat | format | |
SizeT | size | In elements |
CudaArray1DNumChannels | numChannels |
CudaTextureArray1D(CudaKernel, String, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CudaArray1D)
Creates a new 1D texture from array memory
Declaration
public CudaTextureArray1D(CudaKernel kernel, string texName, CUAddressMode addressMode, CUFilterMode filterMode, CUTexRefSetFlags flags, CudaArray1D array)
Parameters
Type | Name | Description |
---|---|---|
CudaKernel | kernel | |
System.String | texName | |
CUAddressMode | addressMode | |
CUFilterMode | filterMode | |
CUTexRefSetFlags | flags | |
CudaArray1D | array |
Properties
| Improve this Doc View SourceAddressMode
AddressMode
Declaration
public CUAddressMode AddressMode { get; }
Property Value
Type | Description |
---|---|
CUAddressMode |
Array
Array
Declaration
public CudaArray1D Array { get; }
Property Value
Type | Description |
---|---|
CudaArray1D |
ChannelSize
ChannelSize
Declaration
public uint ChannelSize { get; }
Property Value
Type | Description |
---|---|
System.UInt32 |
CUFuntion
CUFuntion
Declaration
public CUfunction CUFuntion { get; }
Property Value
Type | Description |
---|---|
CUfunction |
Filtermode
Format
Declaration
public CUFilterMode Filtermode { get; }
Property Value
Type | Description |
---|---|
CUFilterMode |
Flags
Flags
Declaration
public CUTexRefSetFlags Flags { get; }
Property Value
Type | Description |
---|---|
CUTexRefSetFlags |
Format
Format
Declaration
public CUArrayFormat Format { get; }
Property Value
Type | Description |
---|---|
CUArrayFormat |
Module
Module
Declaration
public CUmodule Module { get; }
Property Value
Type | Description |
---|---|
CUmodule |
Name
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
NumChannels
NumChannels
Declaration
public int NumChannels { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Size
Size
Declaration
public SizeT Size { get; }
Property Value
Type | Description |
---|---|
SizeT |
TextureReference
TextureReference
Declaration
public CUtexref TextureReference { get; }
Property Value
Type | Description |
---|---|
CUtexref |
TotalSizeInBytes
TotalSizeInBytes
Declaration
public SizeT TotalSizeInBytes { get; }
Property Value
Type | Description |
---|---|
SizeT |
Methods
| Improve this Doc View SourceDispose()
Dispose
Declaration
public void Dispose()
Dispose(Boolean)
For IDisposable
Declaration
protected virtual void Dispose(bool fDisposing)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fDisposing |
Finalize()
For dispose
Declaration
protected void Finalize()
Implements
System.IDisposable