コード例 #1
0
 public extern void DrawImage(CanvasElement image, double sx, double sy, double sw, double sh, double dx, double dy, double dw, double dh);
コード例 #2
0
 public extern void DrawImage(CanvasElement image, double dx, double dy);
コード例 #3
0
 public extern void TexImage2D(TextureTarget target, int level, PixelFormat internalFormat, PixelFormat format, DataType type, CanvasElement image);
コード例 #4
0
 public extern CanvasPattern CreatePattern(CanvasElement image, string repetition);
コード例 #5
0
 public static void TexImage2D(this WebGLRenderingContext gl, CanvasElement image) {
     gl.TexImage2D(TextureTarget.Texture2D, 0, PixelFormat.Rgba, PixelFormat.Rgba, DataType.UnsignedByte, image);
 }