ICompositor

Only deals with rendering tiles. If you don't like Dplug default compositing, just make another Compositor and assign the 'compositor' field in GUIGraphics. However for now mipmaps are not negotiable, they will get generated outside this compositor.

Members

Functions

compositeTile
void compositeTile(ImageRef!RGBA wfb, const(box2i)[] areas, Mipmap!RGBA diffuseMap, Mipmap!RGBA materialMap, Mipmap!L16 depthMap, IProfiler profiler)

From given input mipmaps, write output image into wfb with pixel format pf, for the output area area.

resizeBuffers
void resizeBuffers(int width, int height, int areaMaxWidth, int areaMaxHeight)

Setup the compositor to output a particular output size.

Meta