Files
armorpaint/Sources/arm/renderpath/RenderPathCreator.hx
T
luboslenco 806cb79071 Cleanup
2018-10-10 12:58:53 +02:00

20 lines
502 B
Haxe

package arm.renderpath;
import iron.RenderPath;
import armory.renderpath.Inc;
class RenderPathCreator {
public static var drawMeshes:Void->Void = RenderPathDeferred.drawMeshes;
public static var applyConfig:Void->Void = RenderPathDeferred.applyConfig;
public static var finalTarget:RenderTarget = null;
public static function get():RenderPath {
var path = new RenderPath();
Inc.init(path);
RenderPathDeferred.init(path);
path.commands = RenderPathDeferred.commands;
return path;
}
}