Constructors
constructor
- speckleRenderer: The hosting renderer as SpeckleRenderer
Properties
drawingSize
Vector2
passList
Array<
GPass
>
speckleRenderer
Accessors
passes
Array<
GPass
>
Methods
createMultipleRenderTarget
The resulting render target will be using a 32 bit depth + stencil
renderbuffer.
Because the Speckle viewer is still using an older version of three.js the
type
WebGLMultipleRenderTargets
does not exist anymore in their
documentation. However it works similarly to the regular WebGLRenderTarget
- count: The number of color attachements to the framebuffer
- options: WebGLRenderTargetOptions
- width: If none specified it will default to
1
- height: If none specified it will default to
1
WebGLMultipleRenderTargets
createRenderTarget
The resulting render target will be using a 32 bit depth + stencil
renderbuffer.
Because the Speckle viewer is still using an older version of three.js the
type
WebGLMultipleRenderTargets
does not exist anymore in their
documentation. However it works similarly to the regular WebGLRenderTarget
- options:
WebGLRenderTargetOptions
- width: If none specified it will default to
1
- height: If none specified it will default to
1
WebGLRenderTarget
getPass
- name: The name of the pass to get
GPass[]
onAfterPipelineRender
onBeforePipelineRender
render
reset
resize
- width: The new width of the pipeline
- height: The new height of the pipeline
setClippingPlanes
- planes: The clipping
Planes