CPU buffer element type
per-layer writer proxy (defaults to SquareDataTextureLayerProxy)
CPU buffer element type
per-layer writer proxy (defaults to SquareDataTextureLayerProxy)
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.
Square data texture backed by a 2D texture array (
sampler2DArray). Each layer has the same square layout / capacity as SquareDataTexture. Per-layer writer access: getLayer / layerProxies.