Пример #1
0
        public void ContextAttributesTest()
        {
            var contextAttributes = new WebGLContextAttributes {
                Stencil = true
            };
            var gl = new WebGLRenderingContext(canvas, contextAttributes);

            var incomingContextAttributes = gl.GetContextAttributes();

            Assert.Equal(true, incomingContextAttributes.Stencil);
        }