RenderTexture2D

data class RenderTexture2D(val id: ERROR CLASS: Symbol not found for UInt, val texture: Texture2D, val depth: Texture2D)

Represents a render texture in raylib, which includes a color texture and a depth texture.

This is typically used for off-screen rendering.

Constructors

Link copied to clipboard
constructor(id: ERROR CLASS: Symbol not found for UInt, texture: Texture2D, depth: Texture2D)

Properties

Link copied to clipboard

The depth texture of the render texture.

Link copied to clipboard
val id: ERROR CLASS: Symbol not found for UInt

The unique identifier for the render texture.

Link copied to clipboard

The color texture of the render texture.