VertexElementTests CreationWithInvalidTypeThrows Method Delta Engine Documentation

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

public void CreationWithInvalidTypeThrows()
Examples

[Test]
public void CreationWithInvalidTypeThrows()
{
    const VertexElementType InvalidType = (VertexElementType)0;
    Assert.Throws<VertexElement.ElementTypeNotYetSupported>(
        () => new VertexElement(InvalidType));
}
See Also