Constructors
- RenderTexture(int width, int height, int fillColor)
- RenderTexture.fromCanvasElement(CanvasElement canvasElement)
- RenderTexture.fromImageElement(ImageElement imageElement)
- RenderTexture.fromVideoElement(VideoElement videoElement)
- RenderTexture.rawWebGL(int width, int height)
Properties
- canvas → CanvasElement
-
read-only
- contextIdentifier → int
-
read-only
- filtering → RenderTextureFiltering
-
Get or set the filtering used for this RenderTexture.
read / write - hashCode → int
-
Get a hash code for this object.
read-only, inherited - height → int
-
read-only
- quad → RenderTextureQuad
-
read-only
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited - source → CanvasImageSource
-
read-only
- texture → Texture
-
read-only
- width → int
-
read-only
Operators
-
operator ==(
other) → bool -
The equality operator.
inherited
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 non-existent method or property is accessed.
inherited -
resize(
int width, int height) → void -
toString(
) → String -
Returns a string representation of this object.
inherited -
update(
) → void -
Update the underlying WebGL texture with the source of this RenderTexture.