Show / Hide Table of Contents

    Class CudaTextureLinear1D<T>

    CudaLinearTexture1D

    Inheritance
    System.Object
    CudaTextureLinear1D<T>
    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 CudaTextureLinear1D<T> : IDisposable where T : struct
    Type Parameters
    Name Description
    T

    Constructors

    | Improve this Doc View Source

    CudaTextureLinear1D(CudaKernel, String, CUAddressMode, CUTexRefSetFlags, CUArrayFormat, CudaDeviceVariable<T>)

    Creates a new 1D texture from linear memory.

    Declaration
    public CudaTextureLinear1D(CudaKernel kernel, string texName, CUAddressMode addressMode0, CUTexRefSetFlags flags, CUArrayFormat format, CudaDeviceVariable<T> deviceVar)
    Parameters
    Type Name Description
    CudaKernel kernel
    System.String texName
    CUAddressMode addressMode0
    CUTexRefSetFlags flags
    CUArrayFormat format
    CudaDeviceVariable<T> deviceVar
    | Improve this Doc View Source

    CudaTextureLinear1D(CudaKernel, String, CUTexRefSetFlags, CUAddressMode, CUArrayFormat, SizeT)

    Creates a new 1D texture from linear memory. Allocates a new device variable

    Declaration
    public CudaTextureLinear1D(CudaKernel kernel, string texName, CUTexRefSetFlags flags, CUAddressMode addressMode0, CUArrayFormat format, SizeT size)
    Parameters
    Type Name Description
    CudaKernel kernel
    System.String texName
    CUTexRefSetFlags flags
    CUAddressMode addressMode0
    CUArrayFormat format
    SizeT size

    In elements

    Properties

    | Improve this Doc View Source

    AddressMode0

    AddressMode

    Declaration
    public CUAddressMode AddressMode0 { get; }
    Property Value
    Type Description
    CUAddressMode
    | Improve this Doc View Source

    ChannelSize

    ChannelSize

    Declaration
    public uint ChannelSize { get; }
    Property Value
    Type Description
    System.UInt32
    | Improve this Doc View Source

    CUFuntion

    CUFunction

    Declaration
    public CUfunction CUFuntion { get; }
    Property Value
    Type Description
    CUfunction
    | Improve this Doc View Source

    DeviceVariable

    Device variable in linear Memory

    Declaration
    public CudaDeviceVariable<T> DeviceVariable { get; }
    Property Value
    Type Description
    CudaDeviceVariable<T>
    | Improve this Doc View Source

    Filtermode

    Filtermode

    Declaration
    public CUFilterMode Filtermode { get; }
    Property Value
    Type Description
    CUFilterMode
    | Improve this Doc View Source

    Flags

    Flags

    Declaration
    public CUTexRefSetFlags Flags { get; }
    Property Value
    Type Description
    CUTexRefSetFlags
    | Improve this Doc View Source

    Format

    Format

    Declaration
    public CUArrayFormat Format { get; }
    Property Value
    Type Description
    CUArrayFormat
    | Improve this Doc View Source

    Module

    Module

    Declaration
    public CUmodule Module { get; }
    Property Value
    Type Description
    CUmodule
    | Improve this Doc View Source

    Name

    Name

    Declaration
    public string Name { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    NumChannels

    NumChannels

    Declaration
    public int NumChannels { get; }
    Property Value
    Type Description
    System.Int32
    | Improve this Doc View Source

    Size

    Size

    Declaration
    public SizeT Size { get; }
    Property Value
    Type Description
    SizeT
    | Improve this Doc View Source

    TextureReference

    TextureReference

    Declaration
    public CUtexref TextureReference { get; }
    Property Value
    Type Description
    CUtexref
    | Improve this Doc View Source

    TotalSizeInBytes

    TotalSizeInBytes

    Declaration
    public SizeT TotalSizeInBytes { get; }
    Property Value
    Type Description
    SizeT

    Methods

    | Improve this Doc View Source

    Dispose()

    Dispose

    Declaration
    public void Dispose()
    | Improve this Doc View Source

    Dispose(Boolean)

    For IDisposable

    Declaration
    protected virtual void Dispose(bool fDisposing)
    Parameters
    Type Name Description
    System.Boolean fDisposing
    | Improve this Doc View Source

    Finalize()

    For dispose

    Declaration
    protected void Finalize()
    | Improve this Doc View Source

    Reset(CudaDeviceVariable<T>)

    Binds a linear address range to the texture reference.

    Any previous address or CUDA array state associated with the texture reference is superseded by this function.

    Any memory previously bound to the texture reference is unbound.

    Size my differ to the previous bound variable, but type must be the same.

    Declaration
    public void Reset(CudaDeviceVariable<T> deviceVar)
    Parameters
    Type Name Description
    CudaDeviceVariable<T> deviceVar

    New device variable to bind this texture reference to.

    Implements

    System.IDisposable
    • Improve this Doc
    • View Source
    Back to top Generated by DocFX