CompositorPass

Derive from this class to create new passes.

Constructors

this
this(MultipassCompositor parent)
Undocumented in source.

Members

Functions

name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
numThreads
int numThreads()
Undocumented in source. Be warned that the author may not have intended to support it.
render
void render(int threadIndex, const(box2i) area, CompositorPassBuffers* buffers)

Override this to specify what the pass does. If you need more buffers, use type-punning based on a CompositorPassBuffers extension.

renderIfActive
void renderIfActive(int threadIndex, const(box2i) area, CompositorPassBuffers* buffers)
Undocumented in source. Be warned that the author may not have intended to support it.
resizeBuffers
void resizeBuffers(int width, int height, int areaMaxWidth, int areaMaxHeight)

Override this to allocate temporary buffers, eventually.

setActive
void setActive(bool active)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta