Click or drag to resize
AB4D logo

DXMeshGeometry3D Constructor

Constructor - note: it is recommended to use static Create method instead.

Namespace: Ab3d.DirectX.Models
Assembly: Ab3d.DXEngine.Wpf (in Ab3d.DXEngine.Wpf.dll) Version: 7.0.8865.1045
Syntax
C#
public DXMeshGeometry3D(
	MeshGeometry3D meshGeometry,
	string name = null,
	DXDevice dxDevice = null,
	bool createDynamicVertexBuffer = false,
	bool createDynamicIndexBuffer = false
)

Parameters

meshGeometry  MeshGeometry3D
MeshGeometry3D
name  String  (Optional)
name
dxDevice  DXDevice  (Optional)
DXDevice
createDynamicVertexBuffer  Boolean  (Optional)
when true the vertex buffer is created as a dynamic buffer (can provide slightly better performance for cases when vertex buffer is updated very often)
createDynamicIndexBuffer  Boolean  (Optional)
when true the index buffer is created as a dynamic buffer (can provide slightly better performance for cases when index buffer is updated very often)
See Also