Table of Contents

Class DefaultLineGeometryBufferModel

Namespace
HelixToolkit.SharpDX.Core
Assembly
HelixToolkit.SharpDX.dll
public class DefaultLineGeometryBufferModel : LineGeometryBufferModel<LinesVertex>, IGeometryBufferModel, IAttachableBufferModel, IGUID, IDisposable
Inheritance
DefaultLineGeometryBufferModel
Implements
Derived
Inherited Members

Constructors

DefaultLineGeometryBufferModel()

Initializes a new instance of the DefaultLineGeometryBufferModel class.

public DefaultLineGeometryBufferModel()

DefaultLineGeometryBufferModel(bool)

Initializes a new instance of the DefaultLineGeometryBufferModel class.

public DefaultLineGeometryBufferModel(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.

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.

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.