Scripting API

Scripting API

Painting

Class in Abyss.Core, from Abyss.Core.

Constants shared by everything that paints.

public static class Painting

Constants

WhiteTexture

public const uint WhiteTexture = 0

The texture id that always exists: a single white pixel.

Created when painting is enabled, so a caller drawing untextured triangles has something to name. Every batch names a texture — an unknown id is refused rather than guessed at — and this is what makes that rule cost nothing.