TextureId

backend.TextureId (Typedef)

Represents a GPU texture identifier in the Clay backend.

TextureId is a lightweight handle that references a texture resource on the GPU. It's used internally by the rendering system to bind textures for drawing operations.

This abstract type provides:

  • Type-safe texture references
  • Default "no texture" constant
  • ImGui integration for texture display in debug UI

The actual value is typically an OpenGL texture handle or similar GPU-specific identifier.