Table of Contents

Class DefaultPointGeometryBufferModel

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public class DefaultPointGeometryBufferModel : PointGeometryBufferModel<PointsVertex>, IGeometryBufferModel, IAttachableBufferModel, IGUID, IDisposable
Inheritance
DefaultPointGeometryBufferModel
Implements
Derived
Inherited Members

Constructors

DefaultPointGeometryBufferModel()

Initializes a new instance of the DefaultPointGeometryBufferModel class.

public DefaultPointGeometryBufferModel()

DefaultPointGeometryBufferModel(bool)

Initializes a new instance of the DefaultPointGeometryBufferModel class.

public DefaultPointGeometryBufferModel(bool isDynamic)

Parameters

isDynamic bool

Methods

IsVertexBufferChanged(string, int)

Determines whether [is vertex buffer changed] [the specified property name].

protected override bool IsVertexBufferChanged(string propertyName, int vertexBufferIndex)

Parameters

propertyName string

Name of the property.

vertexBufferIndex int

Returns

bool

true if [is vertex buffer changed] [the specified property name]; otherwise, false.

OnCreateVertexBuffer(DeviceContextProxy, IElementsBufferProxy, int, Geometry3D?, IDeviceResources?)

Called when [create vertex buffer].

protected override void OnCreateVertexBuffer(DeviceContextProxy context, IElementsBufferProxy buffer, int bufferIndex, Geometry3D? geometry, IDeviceResources? deviceResources)

Parameters

context DeviceContextProxy

The context.

buffer IElementsBufferProxy

The buffer.

bufferIndex int
geometry Geometry3D

The geometry.

deviceResources IDeviceResources

The device resources.