UNPKG

@polygonjs/polygonjs

Version:

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

28 lines (23 loc) 569 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(); // } override 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]; // } // } }