API Docs for:
Show:

gs.RenderTask Class

A render-task holds information about a graphic object which should be rendered on screen. This class is actually for internal usage only. The only exception is if you work with custom GLSL shaders.

If you want to learn more about why certain classes of the Basic Engine are hidden and not editable, read the Basic Engine chapter in Help File.

Constructor

gs.RenderTask

()

Properties

blend-mode

Number

The blend-mode to use.

Default: 0

clip

gs.Rect

The clip-rect to use.

Default: new Rect(0, 0, Graphics.width, Graphics.height)

effects

gs.EffectCollection

The graphic effects to use.

Default: new gs.EffectCollection()

opacity

Number

The opacity to use.

Default: 0

texture

gs.Texture2D

The default texture to render.

Default: null

tilemap

gs.TilemapRenderInfo

If the render-task renders a tilemap, this property contains more info about it.

Default: null

tiling

Boolean

Indicates if the texture should be tiled.

Default: false