Contract for all rendering pass implementations in the speckle viewer.
Pass
.undefined
the pass will not clear alpha
Returns: number | undefined
undefined
the pass will not clear color.
The color is represented as a number
where:
R = value & 0xFF0000
G = value & 0x00FF00
B = value & 0x0000FF
number | undefined
COLOR_BUFFER_BIT
DEPTH_BUFFER_BIT
and STENCIL_BUFFER_BIT
Returns: number | undefined
string
boolean
boolean
PassOptions
null
it will write to the backbuffer
Returns: WebGLRenderTarget
| null
null
, nothing gets overriden
Returns: Material | null
null
, nothing gets overriden
Returns: Material | null
null
, no visibility restrictions will be applied to the pass’s rendering, i.e everything gets rendered
Returns: ObjectVisibility | null
void
void
WebGLRenderer
boolean
- If true
, it signals that the pass needs more rendering, false
otherwise.
outputTarget
value is. If outputTarget
is null
, the backbuffer will be cleared!number
where:
R = value & 0xFF0000
G = value & 0x00FF00
B = value & 0x0000FF
[0, 1]
void
void
void
void
void
void
void
void