Load texture for rendering (framebuffer) NOTE: Render texture is loaded by default with RGBA color attachment and depth RenderBuffer
rt = raylib.LoadRenderTexture(800, 600) if raylib.IsRenderTextureValid(rt) then raylib.BeginTextureMode rt raylib.ClearBackground raylib.BLACK raylib.EndTextureMode end if raylib.UnloadRenderTexture rt
There was an error while loading. Please reload this page.