Maximum number of update calls per frame.
If true, the texture will be updated only if the data has changed.
Maximum number of instances that the texture can hold.
Number of channels per pixel.
Data for each layer.
Number of pixels per instance.
Texture.
Layer index.
Index of the instance.
Data to update.
Offset in the data.
Update data for specific layer.
Layer index.
Index of the instance.
Resize instance capacity. Optionally change layer count in the same call.
Changing layers recreates the GPU texture (arrayLength is immutable).
Resize texture-array depth (sampler2DArray layers).
Recreates the GPU texture; existing layer proxies for kept indices are reused.
Update the texture on the GPU.
Upload the texture to the GPU.
Instance color data as
sampler2DArray(RGBA8, 1 texel per instance per layer).