Inheritance Hierarchy
DeltaEngine.Platforms TestWithMocksOrVisually
DeltaEngine.Rendering3D.Tests VisualCullingTests
Namespace: DeltaEngine.Rendering3D.Tests
Assembly: DeltaEngine.Rendering3D.Tests (in DeltaEngine.Rendering3D.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
The VisualCullingTests type exposes the following members.
Constructors
Name | Description | |
---|---|---|
![]() | VisualCullingTests | Initializes a new instance of the VisualCullingTests class |
Methods
Name | Description | |
---|---|---|
![]() | AdvanceTimeAndUpdateEntities | (Inherited from TestWithMocksOrVisually.) |
![]() | BothPlanesAreVisibleWhenCullingIsDisabled | |
![]() | FlippedPlaneIsNotVisibleWhenCullingIsEnabled | |
![]() | InitializeCameraAndGraphicsDevice | |
![]() | InitializeResolver | (Inherited from TestWithMocksOrVisually.) |
![]() | RegisterMock T | (Inherited from TestWithMocksOrVisually.) |
![]() | Resolve T | (Inherited from TestWithMocksOrVisually.) |
![]() | RunAfterFirstFrame | (Inherited from TestWithMocksOrVisually.) |
![]() | RunTestAndDisposeResolverWhenDone | (Inherited from TestWithMocksOrVisually.) |
Properties
Name | Description | |
---|---|---|
![]() | IsMockResolver | (Inherited from TestWithMocksOrVisually.) |
Examples
[Test, ApproveFirstFrameScreenshot] public void FlippedPlaneIsNotVisibleWhenCullingIsEnabled() { CreateNormalGroundPlane(-1, 0); CreateFlippedGroundPlane(1, 0); graphicsDevice.CullingMode = Culling.Enabled; }
[Test, ApproveFirstFrameScreenshot] public void BothPlanesAreVisibleWhenCullingIsDisabled() { CreateNormalGroundPlane(-1, 0); CreateFlippedGroundPlane(1, 0); graphicsDevice.CullingMode = Culling.Disabled; }
See Also