Skip to content

raylib.EndTextureMode

JoeStrout edited this page Apr 29, 2026 · 2 revisions

Ends drawing to render texture

Parameters

None.

Return value

None.

Notes

Example

target = raylib.LoadRenderTexture(320, 240)
raylib.BeginTextureMode target
  raylib.ClearBackground raylib.BLACK
  raylib.DrawText "Hello", 10, 10, 20, raylib.WHITE
raylib.EndTextureMode
// target.texture now holds the rendered result
raylib.UnloadRenderTexture target

Clone this wiki locally