RenderPhaseResizeAware class

A RenderPhase which automatically updates perspective and viewport when the window size is changed. This assumes that the canvas is always "full screen".

Inheritance

Constructors

RenderPhaseResizeAware(String name, ChronosGL cgl, CanvasElement _canvas, Perspective _perspective)

Properties

clearColorBuffer bool
no getterinherited
clearDepthBuffer bool
no getterinherited
clearStencilBuffer bool
no getterinherited
debug bool
getter/setter pairinherited
enabled bool
getter/setter pairinherited
framebuffer Framebuffer
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
name String
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
viewPortH int
getter/setter pairinherited
viewPortW int
getter/setter pairinherited
viewPortX int
getter/setter pairinherited
viewPortY int
getter/setter pairinherited

Methods

add(Scene s) → void
inherited
Draw([List<DrawStats>? stats]) → void
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolutionChange(Event? ev) → void
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited