PassAmbientOcclusion

Give light depending on whether the pixels are statistically above their neighbours.

Constructors

this
this(MultipassCompositor parent)
Undocumented in source.

Members

Functions

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

Variables

amount
float amount;
Undocumented in source.

Inherited Members

From CompositorPass

name
string name()
Undocumented in source. Be warned that the author may not have intended to support it.
setActive
void setActive(bool active)
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.
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.

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.

Meta