Namespace: DeltaEngine.Graphics.Tests
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Assembly: DeltaEngine.Graphics.Tests (in DeltaEngine.Graphics.Tests.dll) Version: 1.1.1.0 (1.1.1)
Syntax
Examples
[Test, CloseAfterFirstFrame] public void AllowDynamicCreationViaCreationData() { var data = new ShaderWithFormatCreationData(ShaderFlags.None, "AnyData", "AnyData", "AnyData", "AnyData", VertexFormat.Position2DColor); var shader = ContentLoader.Create<NoDataShaderWithFormat>(data); Assert.DoesNotThrow(() => shader.ReloadCreationData(data)); }
See Also