SkyPass class
Minimal, optional equirectangular skydome background.
- Inheritance
-
- Object
- RenderPass
- SkyPass
Constructors
- SkyPass.new({required String assetPath})
- Creates a SkyPass bound to the provided WebGL context.
Properties
- assetPath → String
-
Assetpath
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- isReady → bool
-
Whether the skydome is initialized and ready to be drawn.
no setter
- name → String
-
Stable, human-readable name for logs/profiling.
no setteroverride
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
dispose(
RenderingContext gl) → void -
Releases GPU resources and resets internal state.
override
-
execute(
RenderingContext gl, Camera camera, {Matrix4? projectionMatrix, Matrix4? viewMatrix}) → void -
Draws the skydome using the provided viewport and camera parameters.
override
-
init(
RenderingContext gl, {Caps? caps}) → Future< void> -
Create GL objects, compile shaders, cache uniform locations.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
resize(
RenderingContext gl, int width, int height) → void -
Resize/retarget any size-dependent resources (if any).
inherited
-
setYawPitchDegrees(
double yawDeg, double pitchDeg) → void - Applies a yaw/pitch rotation (in degrees) to the background.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited