Click or drag to resize
AB4D logo

Ab3d.DirectX.Common Namespace

 
Classes
 ClassDescription
Public classDeviceRemovedEventArgs DeviceRemovedEventArgs is used when the DirectX device is removed or reset. The event handler can handle this case with saving the current state of the 3D scene, dispose the current DirectX objects and recreate the 3D scene.
Public classDXDeviceResourcesCache DXDeviceResourcesCache is used to store DXEngine's objects (WpfMaterial, DXMeshGeometry3D and WpfGeometryModel3DNode) that are created from WPF objects. This allows reusing DXEngine's objects when one instance of WPF object is used on multiple objects - for example one DiffuseMaterial can be used on many GeometryModel3D objects. This class caches objects per DXDevice and is set to the DXDevice's ResourcesCache property.
Public classDXViewSizeChangedEventArgs DXViewSizeChangedEventArgs is used when the size of DXView is changed.
Public classOctTreeHitHelper OctTreeHitHelper can be used to optimized using OctTree when processing GetNextHitTestResult.
Interfaces
 InterfaceDescription
Public interfaceIDXAttributeChangedHandler IDXAttributeChangedHandler interface needs to be implemented by a class that wants to subscribe to DXAttributes changes.
Delegates
 DelegateDescription
Public delegateDeviceRemovedEventHandler DeviceRemovedEventHandler is an event handler with DeviceRemovedEventArgs as event arguments
Public delegateDXViewSizeChangedEventHandler DXViewSizeChangedEventHandler is a delegate for the DXViewSizeChangedEventArgs.