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
structureSizeintbindFlagsBindFlags
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
Offset
Buffer data offset in bytes. Offset
public int Offset { get; set; }
Property Value
StructureSize
public int StructureSize { get; }
Property Value
Methods
DisposeAndClear()
public void DisposeAndClear()
OnDispose(bool)
Disposes of object resources.
protected override void OnDispose(bool disposeManagedResources)
Parameters
disposeManagedResourcesboolIf true, managed resources should be disposed of in addition to unmanaged resources.