Table of Contents

Class BufferProxyBase

Namespace
HelixToolkit.SharpDX.Utilities
Assembly
HelixToolkit.SharpDX.dll
public abstract class BufferProxyBase : DisposeObject, IBufferProxy, IDisposable
Inheritance
BufferProxyBase
Implements
Derived
Inherited Members

Constructors

BufferProxyBase(int, BindFlags)

public BufferProxyBase(int structureSize, BindFlags bindFlags)

Parameters

structureSize int
bindFlags BindFlags

Fields

buffer

protected Buffer? buffer

Field Value

Buffer

Properties

BindFlags

public BindFlags BindFlags { get; }

Property Value

BindFlags

Buffer

public Buffer? Buffer { get; }

Property Value

Buffer

ElementCount

public int ElementCount { get; protected set; }

Property Value

int

Offset

Buffer data offset in bytes. Offset

public int Offset { get; set; }

Property Value

int

StructureSize

public int StructureSize { get; }

Property Value

int

Methods

DisposeAndClear()

public void DisposeAndClear()

OnDispose(bool)

Disposes of object resources.

protected override void OnDispose(bool disposeManagedResources)

Parameters

disposeManagedResources bool

If true, managed resources should be disposed of in addition to unmanaged resources.