Hatch Game Engine Documentation v1.4.0
The documentation for the Hatch Game Engine
Loading...
Searching...
No Matches
Capabilities

A capability indicates the presence or limits of a specific feature of the hardware that the game is running on, hence the name. They were introduced in version 1.4. You can query a given capability by using Device.GetCapability.

The following is a categorized list of all capabilities:

Graphics

Name Type Description
graphics_shaders boolean Whether shaders are supported by the current renderer. See Rendering.
gpu_maxTextureWidth integer The maximum texture width supported by the GPU.
gpu_maxTextureHeight integer The maximum texture height supported by the GPU.
gpu_maxTextureUnits integer The maximum amount of texture units supported by the GPU.