コード例 #1
0
 /// <summary>
 /// Returns WebGLRenderingContext drawing context on the canvas, or null if the context ID is not supported.
 /// A drawing context lets you draw on the canvas. This context is only available on browsers that implement
 /// WebGL (OpenGL ES 2.0).
 /// </summary>
 /// <param name="contextId">The context's id</param>
 /// <returns>A WebGLRenderingContext drawing context object.</returns>
 public virtual extern IWebGLRenderingContext GetContext(CanvasTypes.CanvasContextWebGLType contextId);
コード例 #2
0
 /// <summary>
 /// Returns WebGLRenderingContext drawing context on the canvas, or null if the context ID is not supported.
 /// A drawing context lets you draw on the canvas. This context is only available on browsers that implement
 /// WebGL (OpenGL ES 2.0).
 /// </summary>
 /// <param name="contextId">The context's id</param>
 /// <returns>A WebGLRenderingContext drawing context object.</returns>
 public virtual WebGLRenderingContext GetContext(CanvasTypes.CanvasContextWebGLType contextId)
 {
     return(null);
 }