- ambientLight
void ambientLight(float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- compositeTile
void compositeTile(ImageRef!RGBA wfb, const(box2i)[] areas, Mipmap!RGBA diffuseMap, Mipmap!RGBA materialMap, Mipmap!L16 depthMap, IProfiler profiler)
Undocumented in source. Be warned that the author may not have intended to support it.
- light1Color
void light1Color(vec3f color)
Undocumented in source. Be warned that the author may not have intended to support it.
- light2Color
void light2Color(vec3f color)
Undocumented in source. Be warned that the author may not have intended to support it.
- light2Dir
void light2Dir(vec3f dir)
Undocumented in source. Be warned that the author may not have intended to support it.
- light3Color
void light3Color(vec3f color)
Undocumented in source. Be warned that the author may not have intended to support it.
- light3Dir
void light3Dir(vec3f dir)
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.
- skyboxAmount
void skyboxAmount(float amount)
Undocumented in source. Be warned that the author may not have intended to support it.
- tonemapRatio
void tonemapRatio(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
- tonemapThreshold
void tonemapThreshold(float value)
Undocumented in source. Be warned that the author may not have intended to support it.
- addPass
void addPass(CompositorPass pass)
Enqueue a pass in the compositor pipeline.
This is meant to be used in a MultipassCompositor derivative constructor.
Passes are called in their order of addition.
That pass is now owned by the MultipassCompositor.
- 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.
- compositeTile
void compositeTile(ImageRef!RGBA wfb, const(box2i)[] areas, Mipmap!RGBA diffuseMap, Mipmap!RGBA materialMap, Mipmap!L16 depthMap, IProfiler profiler)
Note: the exact algorithm for compositing pass is entirely up to you.
You could imagine intermediate mipmappingsteps in the middle.
compositeTile needs complete power over the parallelization strategy.
- ~this
~this()
Undocumented in source.
- numThreads
int numThreads()
Undocumented in source. Be warned that the author may not have intended to support it.
- getPass
inout(CompositorPass) getPass(int nth)
Undocumented in source. Be warned that the author may not have intended to support it.
- passes
inout(CompositorPass)[] passes()
Undocumented in source. Be warned that the author may not have intended to support it.
- threadPool
ThreadPool threadPool()
Undocumented in source. Be warned that the author may not have intended to support it.
Originally, Dplug compositor was fixed function. This is the legacy compositor.