void clearRenderTarget(int id,const Color& color) { RenderTarget* rt = ctx->renderTargets[id]; rt->clearRenderTarget(ctx->deviceContext,ctx->depthStencilView,color); }