Show / Hide Table of Contents

    Class CudaTextureLinearPitched2D<T>

    CudaLinearTexture2D

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

    Constructors

    | Improve this Doc View Source

    CudaTextureLinearPitched2D(CudaKernel, String, CUAddressMode, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CUArrayFormat, SizeT, SizeT)

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

    Declaration
    public CudaTextureLinearPitched2D(CudaKernel kernel, string texName, CUAddressMode addressMode0, CUAddressMode addressMode1, CUFilterMode filterMode, CUTexRefSetFlags flags, CUArrayFormat format, SizeT width, SizeT height)
    Parameters
    Type Name Description
    CudaKernel kernel
    System.String texName
    CUAddressMode addressMode0
    CUAddressMode addressMode1
    CUFilterMode filterMode
    CUTexRefSetFlags flags
    CUArrayFormat format
    SizeT width

    In elements

    SizeT height

    In elements

    | Improve this Doc View Source

    CudaTextureLinearPitched2D(CudaKernel, String, CUAddressMode, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CUArrayFormat, CudaPitchedDeviceVariable<T>)

    Creates a new 2D texture from linear memory.

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

    CudaTextureLinearPitched2D(CudaKernel, String, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CUArrayFormat, SizeT, SizeT)

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

    Declaration
    public CudaTextureLinearPitched2D(CudaKernel kernel, string texName, CUAddressMode addressMode, CUFilterMode filterMode, CUTexRefSetFlags flags, CUArrayFormat format, SizeT width, SizeT height)
    Parameters
    Type Name Description
    CudaKernel kernel
    System.String texName
    CUAddressMode addressMode
    CUFilterMode filterMode
    CUTexRefSetFlags flags
    CUArrayFormat format
    SizeT width

    In elements

    SizeT height

    In elements

    | Improve this Doc View Source

    CudaTextureLinearPitched2D(CudaKernel, String, CUAddressMode, CUFilterMode, CUTexRefSetFlags, CUArrayFormat, CudaPitchedDeviceVariable<T>)

    Creates a new 2D texture from linear memory.

    Declaration
    public CudaTextureLinearPitched2D(CudaKernel kernel, string texName, CUAddressMode addressMode, CUFilterMode filterMode, CUTexRefSetFlags flags, CUArrayFormat format, CudaPitchedDeviceVariable<T> deviceVar)
    Parameters
    Type Name Description
    CudaKernel kernel
    System.String texName
    CUAddressMode addressMode
    CUFilterMode filterMode
    CUTexRefSetFlags flags
    CUArrayFormat format
    CudaPitchedDeviceVariable<T> deviceVar

    Properties

    | Improve this Doc View Source

    AddressMode0

    AddressMode

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

    AddressMode1

    AddressMode

    Declaration
    public CUAddressMode AddressMode1 { 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

    DeviceVar

    Device variable in linear Memory

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

    Filtermode

    Format

    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

    Height

    Height

    Declaration
    public SizeT Height { get; }
    Property Value
    Type Description
    SizeT
    | 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

    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
    | Improve this Doc View Source

    Width

    Width

    Declaration
    public SizeT Width { 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(CudaPitchedDeviceVariable<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(CudaPitchedDeviceVariable<T> deviceVar)
    Parameters
    Type Name Description
    CudaPitchedDeviceVariable<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