Texture2DArray
Array of independent 2D layers with matching size and format.
Create Texture2DArray and pass images to CreateFromImages. Each image becomes one layer; all must match dimensions, format and mipmap configuration. Recreate the set to add or remove layers; use UpdateLayer to replace one.
This is neither an atlas of differently sized rectangles nor a volume Texture3D. Layers select separate images; one layer dimensions are not multiplied by layer count. Generate mipmaps inside each Image before upload.
A three-layer mip set, single-layer updates, copied readbacks, layout replacement, placeholder and independent reload were checked. Material sampler2DArray use and other backends were not checked in this run.
Declarations checked against C# SDK 1.0.0. Expand a name to see declarations and documentation.
Constructors1
Texture2DArrayConstructor
public Texture2DArray();Creates an empty Texture2DArray without uploaded images. Initialize through CreateFromImages; a valid placeholder RID does not prove data exists.
Methods1
CreatePlaceholderResource
public Resource CreatePlaceholder();Creates a separate PlaceholderTexture2DArray with current dimensions and layer/face count. Source pixels are not copied.
ResourceResource whose concrete type is PlaceholderTexture2DArray.