PassSpecularLight

Undocumented in source.

Constructors

this
this(MultipassCompositor parent)
Undocumented in source.

Destructor

~this
~this()
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.
resizeBuffers
void resizeBuffers(int width, int height, int areaMaxWidth, int areaMaxHeight)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

color
vec3f color;

Color of this light pass.

direction
vec3f direction;

World-space direction. Unsure of the particular space it lives in.

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