RenderTexture class
Constructors
- RenderTexture(int width, int height, int fillColor)
- RenderTexture.fromCanvasElement(CanvasElement canvasElement)
- RenderTexture.fromImageBitmap(ImageBitmap image)
- RenderTexture.fromImageElement(ImageElement imageElement)
- RenderTexture.fromVideoElement(VideoElement videoElement)
- RenderTexture.rawWebGL(int width, int height)
Properties
- canvas → CanvasElement
-
no setter
- contextIdentifier → int
-
no setter
- filtering ↔ RenderTextureFiltering
-
Get or set the filtering used for this RenderTexture.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height → int
-
no setter
- imageBitmap → ImageBitmap?
-
no setter
- pixelFormat ↔ int
-
getter/setter pair
- pixelType ↔ int
-
getter/setter pair
- quad → RenderTextureQuad
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- source → CanvasImageSource?
-
no setter
- texture → Texture?
-
no setter
- width → int
-
no setter
- wrappingX ↔ RenderTextureWrapping
-
getter/setter pair
- wrappingY ↔ RenderTextureWrapping
-
getter/setter pair
Methods
-
activate(
RenderContextWebGL renderContext, int textureSlot) → void -
dispose(
) → void - Call the dispose method to release memory allocated by WebGL.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
int width, int height) → void -
toString(
) → String -
A string representation of this object.
inherited
-
update(
) → void - Update the underlying WebGL texture with the source of this RenderTexture.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited