BoxMeshTests DrawWith2DShaderIsNotAllowed Method Delta Engine Documentation

Namespace: DeltaEngine.Rendering3D.Shapes.Tests
Assembly: DeltaEngine.Rendering3D.Shapes.Tests (in DeltaEngine.Rendering3D.Shapes.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public void DrawWith2DShaderIsNotAllowed()
Examples

[Test, CloseAfterFirstFrame]
public void DrawWith2DShaderIsNotAllowed()
{
    Assert.Throws<ShaderWithFormat.ShaderFlagsNotSupported>(
        () => new BoxMesh(Vector3D.One, new Material(ShaderFlags.Position2DTextured, "")));
}
See Also