Table of Contents

Class PointGeometryBufferModel<VertexStruct>

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

Point Geometry Buffer Model. Use for point rendering

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

Type Parameters

VertexStruct
Inheritance
PointGeometryBufferModel<VertexStruct>
Implements
Derived
Inherited Members

Constructors

PointGeometryBufferModel(IElementsBufferProxy)

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

public PointGeometryBufferModel(IElementsBufferProxy vertexBuffer)

Parameters

vertexBuffer IElementsBufferProxy

PointGeometryBufferModel(IElementsBufferProxy[])

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

public PointGeometryBufferModel(IElementsBufferProxy[] vertexBuffer)

Parameters

vertexBuffer IElementsBufferProxy[]

PointGeometryBufferModel(int, bool)

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

public PointGeometryBufferModel(int structSize, bool dynamic = false)

Parameters

structSize int

Size of the structure.

dynamic bool

Create dynamic buffer or immutable buffer

Fields

emptyVerts

protected static readonly VertexStruct[] emptyVerts

Field Value

VertexStruct[]

Methods

OnCreateIndexBuffer(DeviceContextProxy, IElementsBufferProxy, Geometry3D?, IDeviceResources?)

Called when [create index buffer].

protected override void OnCreateIndexBuffer(DeviceContextProxy context, IElementsBufferProxy buffer, Geometry3D? geometry, IDeviceResources? deviceResources)

Parameters

context DeviceContextProxy

The context.

buffer IElementsBufferProxy

The buffer.

geometry Geometry3D

The geometry.

deviceResources IDeviceResources

The device resources.