Skip to content

API / geotoolkit3d / postprocessing / FullScreenQuad / FullScreenQuad

Class: FullScreenQuad

postprocessing.FullScreenQuad.FullScreenQuad

This utility class implement a full screen mesh, used to render a texture or material in "fullscreen", covering the full area of the render target. Typical uses includes: -copying a texture for duplication, -applying a texture layer onto another (with transparency) such as in DepthPeelingPass -applying special effects such as in OutlinePass

Deprecated

since 4.1, this class is not meant to be public.

Table of contents

Constructors
  • [new FullScreenQuad(material)](/solutions/geotoolkit/GeoToolkit_JS/apis/classes/geotoolkit3d.postprocessing.fullscreenquad.fullscreenquad.md#new fullscreenquad(material))
Methods

Contents

Constructors

new FullScreenQuad(material)

• new FullScreenQuad(material?)

Parameters

Name Type
Optional materialShaderMaterial
Methods

dispose

▸ dispose(): void

Returns

void


getClassName

▸ getClassName(): string

Returns

string


getMaterial

▸ getMaterial(): ShaderMaterial

Get this FullScreen quad material.

Returns

ShaderMaterial


render

▸ render(renderer): void

Parameters

Name Type
rendererWebGLRenderer

Returns

void


setMaterial

▸ setMaterial(material): void

Set this FullScreen quad material.

Parameters

Name Type
materialShaderMaterial

Returns

void


getClassName

▸ Static getClassName(): string

Returns

string