function
set_target()
Sets next cubemap side surface as the render target and sets the current view and projection matrices appropriately.
Bool
Returns true
if the render target was set or false
if all cubemap sides were iterated through.
while (cubemap.set_target())
{
draw_clear(c_black);
// Render to cubemap here...
cubemap.reset_target();
}
BBMOD_IRenderTarget.reset_target
Copyright © 2022, BlueBurn. Built on May 16, 2022 using GMDoc.