Renderer class
Constructors
- Renderer(OpenGLContextES gl, Flgl flgl)
Properties
- dpr ↔ double
-
The viewport aspect ratio.
getter/setter pair
- flgl ↔ Flgl
-
The flgl instance.
getter/setter pair
- gl ↔ OpenGLContextES
-
The OpenGLES context instance.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- height ↔ double
-
The viewport height.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width ↔ double
-
The viewport width.
getter/setter pair
Methods
-
dispose(
) → dynamic -
drawObjects(
Scene scene, Camera camera) → void -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
render(
Scene scene, Camera camera) → void - Renders the scene
-
setBackgroundColor(
double r, double g, double b, double a) → void - Set's the scene background color.
-
setDPR(
double dpr) → void - Set's the device pixel ration.
-
setHeight(
double height) → void - Set's the viewport height.
-
setWidth(
double width) → void - Sets the viewport width.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited