Mock device used in unit tests.
View code on GitHub
Inheritance Hierarchy
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
The MockDevice type exposes the following members.
Constructors
Name | Description | |
---|---|---|
MockDevice | Initializes a new instance of the MockDevice class |
Methods
Name | Description | |
---|---|---|
Clear | (Overrides Device Clear .) | |
CreateCircularBuffer | (Overrides Device CreateCircularBuffer(ShaderWithFormat, BlendMode, VerticesMode).) | |
DisableCulling | (Overrides Device DisableCulling .) | |
DisableDepthTest | (Overrides Device DisableDepthTest .) | |
Dispose | Releases all resources used by the MockDevice (Overrides Device Dispose .) | |
EnableClockwiseBackfaceCulling | (Overrides Device EnableClockwiseBackfaceCulling .) | |
EnableDepthTest | (Overrides Device EnableDepthTest .) | |
OnFullscreenChanged | (Overrides Device OnFullscreenChanged(Size, Boolean).) | |
Present | (Overrides Device Present .) | |
Set2DMode | (Inherited from Device.) | |
Set3DMode | (Inherited from Device.) | |
SetBlendMode | (Overrides Device SetBlendMode(BlendMode).) | |
SetModelViewProjectionMatrixFor2D | (Inherited from Device.) | |
SetViewport | (Overrides Device SetViewport(Size).) |
Fields
Name | Description | |
---|---|---|
window | (Inherited from Device.) |
Properties
Name | Description | |
---|---|---|
CameraInvertedViewMatrix | (Inherited from Device.) | |
CameraProjectionMatrix | (Inherited from Device.) | |
CameraViewMatrix | (Inherited from Device.) | |
CullingMode | (Inherited from Device.) | |
CurrentlyUsedShader | (Inherited from Device.) | |
ModelViewProjectionMatrix | (Inherited from Device.) | |
OnFullscreenChangedCalled | ||
OnSet3DModeCalled |
Events
Name | Description | |
---|---|---|
OnSet3DMode | (Inherited from Device.) |
See Also