Home Reference Source
import PostprocessRack from 'oxygen-core/components/PostprocessRack.js'
public class | source

PostprocessRack

Extends:

Component → PostprocessRack

Camera postprocess rack.

Static Member Summary

Static Public Members
public static get

propsTypes: {"connections": string, "targets": string, "sourceFloatPointData": string, "effects": string, "composites": string}

Static Method Summary

Static Public Methods
public static

Component factory.

Constructor Summary

Public Constructor
public

Constructor.

Member Summary

Public Members
public get
public set
public get
public set
public get

effects: *

public set
public get
public set
public get

targets: *

public set

Method Summary

Public Methods
public

Destructor (disposes internal resources).

public

getPass(id: *): *

public

getTargetId(id: *): *

public
public
public

registerPass(id: *, pass: *)

public
public

Inherited Summary

From class Component
public static get
public static

Component factory.

public get
public

[name]: *

public

deserialize(json: *)

Deserialize JSON properties into this component.

public

Destructor (dispose internal resources and detach from entity).

public

onAction(name: string, args: *)

Called when action arrived.

public

onAlterActionArguments(name: string, args: *): array | undefined

Called when asked to alter arrived action parameters.

public

Called after attached to entity.

public

Called before detached from entity.

public

onPropertySerialize(name: string, value: *): *

Called when property is serialized.

public

onPropertySetup(name: string, value: *)

Called when given property is deserialized.

public

serialize(): *

Serialize component into JSON data.

Static Public Members

public static get propsTypes: {"connections": string, "targets": string, "sourceFloatPointData": string, "effects": string, "composites": string} source

Override:

Component#propsTypes

Static Public Methods

public static factory(): PostprocessRack source

Component factory.

Override:

Component#factory

Return:

PostprocessRack

Component instance.

Public Constructors

public constructor() source

Constructor.

Override:

Component#constructor

Public Members

public get composites: * source

public set composites source

public get connections: * source

public set connections source

public get effects: * source

public set effects source

public get sourceFloatPointData: * source

public set sourceFloatPointData source

public get targets: * source

public set targets source

Public Methods

public dispose() source

Destructor (disposes internal resources).

Override:

Component#dispose

Example:

rack.dispose();
rack = null;

public getPass(id: *): * source

Params:

NameTypeAttributeDescription
id *

Return:

*

public getTargetId(id: *): * source

Params:

NameTypeAttributeDescription
id *

Return:

*

public onAttach() source

Called after attached to entity.

Override:

Component#onAttach

public onDetach() source

Called before detached from entity.

Override:

Component#onDetach

public registerPass(id: *, pass: *) source

Params:

NameTypeAttributeDescription
id *
pass *

public unregisterAllPasses() source

public unregisterPass(id: *) source

Params:

NameTypeAttributeDescription
id *