MockDevice ClassDelta Engine Documentation
Mock device used in unit tests. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Graphics Device
    DeltaEngine.Graphics.Mocks MockDevice

Namespace: DeltaEngine.Graphics.Mocks
Assembly: DeltaEngine.Graphics.Mocks (in DeltaEngine.Graphics.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public class MockDevice : Device

The MockDevice type exposes the following members.

Constructors

  NameDescription
Public methodMockDevice
Initializes a new instance of the MockDevice class
Top
Methods

  NameDescription
Public methodClear (Overrides Device Clear .)
Public methodCreateCircularBuffer (Overrides Device CreateCircularBuffer(ShaderWithFormat, BlendMode, VerticesMode).)
Protected methodDisableCulling (Overrides Device DisableCulling .)
Public methodDisableDepthTest (Overrides Device DisableDepthTest .)
Public methodDispose
Releases all resources used by the MockDevice
(Overrides Device Dispose .)
Protected methodEnableClockwiseBackfaceCulling (Overrides Device EnableClockwiseBackfaceCulling .)
Public methodEnableDepthTest (Overrides Device EnableDepthTest .)
Protected methodOnFullscreenChanged (Overrides Device OnFullscreenChanged(Size, Boolean).)
Public methodPresent (Overrides Device Present .)
Public methodSet2DMode (Inherited from Device.)
Public methodSet3DMode (Inherited from Device.)
Public methodSetBlendMode (Overrides Device SetBlendMode(BlendMode).)
Public methodSetModelViewProjectionMatrixFor2D (Inherited from Device.)
Public methodSetViewport (Overrides Device SetViewport(Size).)
Top
Fields

  NameDescription
Protected fieldwindow (Inherited from Device.)
Top
Properties

  NameDescription
Public propertyCameraInvertedViewMatrix (Inherited from Device.)
Public propertyCameraProjectionMatrix (Inherited from Device.)
Public propertyCameraViewMatrix (Inherited from Device.)
Public propertyCullingMode (Inherited from Device.)
Public propertyCurrentlyUsedShader (Inherited from Device.)
Public propertyModelViewProjectionMatrix (Inherited from Device.)
Public propertyOnFullscreenChangedCalled
Public propertyOnSet3DModeCalled
Top
Events

  NameDescription
Public eventOnSet3DMode (Inherited from Device.)
Top
See Also