Namespace: DeltaEngine.Graphics
Assembly: DeltaEngine.Graphics (in DeltaEngine.Graphics.dll) Version: 1.1.1.0 (1.1.1)
Tests: DeltaEngine.Graphics.Tests.ShaderWithFormatTests
1 unit tests call DeltaEngine.Graphics.ShaderWithFormat.Format
Assembly: DeltaEngine.Graphics (in DeltaEngine.Graphics.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Property Value
Type: VertexFormatRemarks
Examples
[Test, CloseAfterFirstFrame] public void InvalidVertexFormat() { var invalidData = new ShaderWithFormatCreationData(ShaderFlags.None, "", "", "", "", null); Assert.Throws<ShaderWithFormat.InvalidVertexFormat>( () => ContentLoader.Create<Shader>(invalidData)); var emptyFormat = new ShaderWithFormatCreationData(ShaderFlags.None, "", "", "", "", new VertexFormat(new VertexElement[0])); Assert.Throws<ShaderWithFormat.InvalidVertexFormat>( () => ContentLoader.Create<Shader>(emptyFormat)); }
See Also