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
isDynamicbool
Methods
IsVertexBufferChanged(string, int)
Determines whether [is vertex buffer changed] [the specified property name].
protected override bool IsVertexBufferChanged(string propertyName, int vertexBufferIndex)
Parameters
Returns
- bool
trueif [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
contextDeviceContextProxyThe context.
bufferIElementsBufferProxyThe buffer.
geometryGeometry3DThe geometry.
deviceResourcesIDeviceResourcesThe 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
contextDeviceContextProxyThe context.
bufferIElementsBufferProxyThe buffer.
bufferIndexintgeometryGeometry3DThe geometry.
deviceResourcesIDeviceResourcesThe device resources.