UNPKG

polygonjs-engine

Version:

node-based webgl 3D engine https://polygonjs.com

28 lines (23 loc) 560 B
import {TypedContainer} from './_Base'; import {ContainableMap} from './utils/ContainableMap'; import {NodeContext} from '../poly/NodeContext'; export class PostProcessContainer extends TypedContainer<NodeContext.POST> { // _content: any; // constructor() { // super(); // } set_content(content: ContainableMap[NodeContext.POST]) { super.set_content(content); } render_pass() { return this._content; } object(options = {}) { return this.render_pass(); } // infos() { // if (this._content) { // return [this._content]; // } // } }