/// <summary> /// Reverts the current rendertarget to the screen /// </summary> /// <returns></returns> public static bool RevertRenderTargetToScreen() { return(MtaClient.DxSetRenderTarget()); }
/// <summary> /// This function changes the drawing destination for the dx functions. /// </summary> public static bool SetRenderTarget(RenderTarget target, bool clear = false) { return(MtaClient.DxSetRenderTarget(target.MaterialElement, clear)); }