Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
WebGL2RenderingContextBase Interface Reference

import <dart.idl;

Public Member Functions

readonly attribute (HTMLCanvasElement or OffscreenCanvas) canvas
 
void bufferData (GLenum target, [AllowShared] ArrayBufferView srcData, GLenum usage, GLuint srcOffset, optional GLuint length=0)
 
void bufferSubData (GLenum target, GLintptr dstByteOffset, [AllowShared] ArrayBufferView srcData, GLuint srcOffset, optional GLuint length=0)
 
void compressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, [AllowShared] ArrayBufferView data, GLuint srcOffset, optional GLuint srcLengthOverride=0)
 
void compressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, GLintptr offset)
 
void compressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, [AllowShared] ArrayBufferView data, GLuint srcOffset, optional GLuint srcLengthOverride=0)
 
void compressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, GLintptr offset)
 
void compressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, GLintptr offset)
 
void compressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, GLintptr offset)
 
void readPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, ArrayBufferView dstData, GLintptr offset)
 
void readPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, GLintptr offset)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageData data)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLImageElement image)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLCanvasElement canvas)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, HTMLVideoElement video)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, ImageBitmap bitmap)
 
void texImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, GLintptr offset)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageData data)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLImageElement image)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLCanvasElement canvas)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, HTMLVideoElement video)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, ImageBitmap bitmap)
 
void texSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, [AllowShared] ArrayBufferView srcData, GLuint srcOffset)
 
void uniform1fv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform1fv (WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform2fv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform2fv (WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform3fv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform3fv (WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform4fv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Float32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform4fv (WebGLUniformLocation? location, sequence< GLfloat > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform1iv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform1iv (WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform2iv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform2iv (WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform3iv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform3iv (WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform4iv (WebGLUniformLocation? location, [FlexibleArrayBufferView] Int32Array v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniform4iv (WebGLUniformLocation? location, sequence< GLint > v, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix2fv (WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix2fv (WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix3fv (WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix3fv (WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix4fv (WebGLUniformLocation? location, GLboolean transpose, [AllowShared] Float32Array array, GLuint srcOffset, optional GLuint srcLength=0)
 
void uniformMatrix4fv (WebGLUniformLocation? location, GLboolean transpose, sequence< GLfloat > array, GLuint srcOffset, optional GLuint srcLength=0)
 

Public Attributes

readonly attribute WebGLCanvas canvas
 

Detailed Description

Definition at line 162 of file dart.idl.

Member Function Documentation

◆ attribute()

readonly WebGL2RenderingContextBase::attribute ( HTMLCanvasElement or  OffscreenCanvas)

◆ bufferData()

void WebGL2RenderingContextBase::bufferData ( GLenum  target,
[AllowShared] ArrayBufferView  srcData,
GLenum  usage,
GLuint  srcOffset,
optional GLuint  length = 0 
)

◆ bufferSubData()

void WebGL2RenderingContextBase::bufferSubData ( GLenum  target,
GLintptr  dstByteOffset,
[AllowShared] ArrayBufferView  srcData,
GLuint  srcOffset,
optional GLuint  length = 0 
)

◆ compressedTexImage2D() [1/2]

void WebGL2RenderingContextBase::compressedTexImage2D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
[AllowShared] ArrayBufferView  data,
GLuint  srcOffset,
optional GLuint  srcLengthOverride = 0 
)

◆ compressedTexImage2D() [2/2]

void WebGL2RenderingContextBase::compressedTexImage2D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLsizei  imageSize,
GLintptr  offset 
)

◆ compressedTexImage3D()

void WebGL2RenderingContextBase::compressedTexImage3D ( GLenum  target,
GLint  level,
GLenum  internalformat,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLint  border,
GLsizei  imageSize,
GLintptr  offset 
)

◆ compressedTexSubImage2D() [1/2]

void WebGL2RenderingContextBase::compressedTexSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
[AllowShared] ArrayBufferView  data,
GLuint  srcOffset,
optional GLuint  srcLengthOverride = 0 
)

◆ compressedTexSubImage2D() [2/2]

void WebGL2RenderingContextBase::compressedTexSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLsizei  imageSize,
GLintptr  offset 
)

◆ compressedTexSubImage3D()

void WebGL2RenderingContextBase::compressedTexSubImage3D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLint  zoffset,
GLsizei  width,
GLsizei  height,
GLsizei  depth,
GLenum  format,
GLsizei  imageSize,
GLintptr  offset 
)

◆ readPixels() [1/2]

void WebGL2RenderingContextBase::readPixels ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
ArrayBufferView  dstData,
GLintptr  offset 
)

◆ readPixels() [2/2]

void WebGL2RenderingContextBase::readPixels ( GLint  x,
GLint  y,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
GLintptr  offset 
)

◆ texImage2D() [1/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
[AllowShared] ArrayBufferView  srcData,
GLuint  srcOffset 
)

◆ texImage2D() [2/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
GLintptr  offset 
)

◆ texImage2D() [3/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
HTMLCanvasElement  canvas 
)

◆ texImage2D() [4/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
HTMLImageElement  image 
)

◆ texImage2D() [5/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
HTMLVideoElement  video 
)

◆ texImage2D() [6/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
ImageBitmap  bitmap 
)

◆ texImage2D() [7/7]

void WebGL2RenderingContextBase::texImage2D ( GLenum  target,
GLint  level,
GLint  internalformat,
GLsizei  width,
GLsizei  height,
GLint  border,
GLenum  format,
GLenum  type,
ImageData  data 
)

◆ texSubImage2D() [1/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
[AllowShared] ArrayBufferView  srcData,
GLuint  srcOffset 
)

◆ texSubImage2D() [2/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
GLintptr  offset 
)

◆ texSubImage2D() [3/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
HTMLCanvasElement  canvas 
)

◆ texSubImage2D() [4/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
HTMLImageElement  image 
)

◆ texSubImage2D() [5/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
HTMLVideoElement  video 
)

◆ texSubImage2D() [6/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
ImageBitmap  bitmap 
)

◆ texSubImage2D() [7/7]

void WebGL2RenderingContextBase::texSubImage2D ( GLenum  target,
GLint  level,
GLint  xoffset,
GLint  yoffset,
GLsizei  width,
GLsizei  height,
GLenum  format,
GLenum  type,
ImageData  data 
)

◆ uniform1fv() [1/2]

void WebGL2RenderingContextBase::uniform1fv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Float32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform1fv() [2/2]

void WebGL2RenderingContextBase::uniform1fv ( WebGLUniformLocation?  location,
sequence< GLfloat >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform1iv() [1/2]

void WebGL2RenderingContextBase::uniform1iv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Int32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform1iv() [2/2]

void WebGL2RenderingContextBase::uniform1iv ( WebGLUniformLocation?  location,
sequence< GLint >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform2fv() [1/2]

void WebGL2RenderingContextBase::uniform2fv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Float32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform2fv() [2/2]

void WebGL2RenderingContextBase::uniform2fv ( WebGLUniformLocation?  location,
sequence< GLfloat >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform2iv() [1/2]

void WebGL2RenderingContextBase::uniform2iv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Int32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform2iv() [2/2]

void WebGL2RenderingContextBase::uniform2iv ( WebGLUniformLocation?  location,
sequence< GLint >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform3fv() [1/2]

void WebGL2RenderingContextBase::uniform3fv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Float32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform3fv() [2/2]

void WebGL2RenderingContextBase::uniform3fv ( WebGLUniformLocation?  location,
sequence< GLfloat >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform3iv() [1/2]

void WebGL2RenderingContextBase::uniform3iv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Int32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform3iv() [2/2]

void WebGL2RenderingContextBase::uniform3iv ( WebGLUniformLocation?  location,
sequence< GLint >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform4fv() [1/2]

void WebGL2RenderingContextBase::uniform4fv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Float32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform4fv() [2/2]

void WebGL2RenderingContextBase::uniform4fv ( WebGLUniformLocation?  location,
sequence< GLfloat >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform4iv() [1/2]

void WebGL2RenderingContextBase::uniform4iv ( WebGLUniformLocation?  location,
[FlexibleArrayBufferView] Int32Array  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniform4iv() [2/2]

void WebGL2RenderingContextBase::uniform4iv ( WebGLUniformLocation?  location,
sequence< GLint >  v,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix2fv() [1/2]

void WebGL2RenderingContextBase::uniformMatrix2fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
[AllowShared] Float32Array  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix2fv() [2/2]

void WebGL2RenderingContextBase::uniformMatrix2fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
sequence< GLfloat >  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix3fv() [1/2]

void WebGL2RenderingContextBase::uniformMatrix3fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
[AllowShared] Float32Array  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix3fv() [2/2]

void WebGL2RenderingContextBase::uniformMatrix3fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
sequence< GLfloat >  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix4fv() [1/2]

void WebGL2RenderingContextBase::uniformMatrix4fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
[AllowShared] Float32Array  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

◆ uniformMatrix4fv() [2/2]

void WebGL2RenderingContextBase::uniformMatrix4fv ( WebGLUniformLocation?  location,
GLboolean  transpose,
sequence< GLfloat >  array,
GLuint  srcOffset,
optional GLuint  srcLength = 0 
)

Member Data Documentation

◆ canvas

readonly attribute WebGLCanvas WebGL2RenderingContextBase::canvas

Definition at line 164 of file dart.idl.


The documentation for this interface was generated from the following file: