Table of Contents

Class LineGeometryBufferModel<VertexStruct>

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll

Line Geometry Buffer Model. Used for line rendering

public abstract class LineGeometryBufferModel<VertexStruct> : GeometryBufferModel, IGeometryBufferModel, IAttachableBufferModel, IGUID, IDisposable where VertexStruct : struct

Type Parameters

VertexStruct
Inheritance
LineGeometryBufferModel<VertexStruct>
Implements
Derived
Inherited Members

Constructors

LineGeometryBufferModel(IElementsBufferProxy, IElementsBufferProxy)

Initializes a new instance of the LineGeometryBufferModel<VertexStruct> class.

public LineGeometryBufferModel(IElementsBufferProxy vertexBuffer, IElementsBufferProxy indexBuffer)

Parameters

vertexBuffer IElementsBufferProxy
indexBuffer IElementsBufferProxy

LineGeometryBufferModel(IElementsBufferProxy, bool)

Initializes a new instance of the LineGeometryBufferModel<VertexStruct> class.

public LineGeometryBufferModel(IElementsBufferProxy vertexBuffer, bool dynamic = false)

Parameters

vertexBuffer IElementsBufferProxy
dynamic bool

Create dynamic buffer or immutable buffer

LineGeometryBufferModel(IElementsBufferProxy[], IElementsBufferProxy)

Initializes a new instance of the LineGeometryBufferModel<VertexStruct> class.

public LineGeometryBufferModel(IElementsBufferProxy[] vertexBuffer, IElementsBufferProxy indexBuffer)

Parameters

vertexBuffer IElementsBufferProxy[]
indexBuffer IElementsBufferProxy

LineGeometryBufferModel(IElementsBufferProxy[], bool)

Initializes a new instance of the LineGeometryBufferModel<VertexStruct> class.

public LineGeometryBufferModel(IElementsBufferProxy[] vertexBuffer, bool dynamic = false)

Parameters

vertexBuffer IElementsBufferProxy[]
dynamic bool

Create dynamic buffer or immutable buffer

LineGeometryBufferModel(int, bool)

Initializes a new instance of the LineGeometryBufferModel<VertexStruct> class.

public LineGeometryBufferModel(int structSize, bool dynamic = false)

Parameters

structSize int

Size of the structure.

dynamic bool

Create dynamic buffer or immutable buffer

Fields

emptyIndices

protected static readonly int[] emptyIndices

Field Value

int[]

emptyVertices

protected static readonly VertexStruct[] emptyVertices

Field Value

VertexStruct[]