UnityEngine.Texture2DArray.Texture2DArray C# (CSharp) Method

Texture2DArray() public method

Create a new texture array.

public Texture2DArray ( int width, int height, int depth, TextureFormat format, bool mipmap ) : System
width int Width of texture array in pixels.
height int Height of texture array in pixels.
depth int Number of elements in the texture array.
format TextureFormat Format of the texture.
mipmap bool Should mipmaps be created?
return System
        public Texture2DArray(int width, int height, int depth, TextureFormat format, bool mipmap)
        {
            Internal_Create(this, width, height, depth, format, mipmap, false);
        }

Same methods

Texture2DArray::Texture2DArray ( int width, int height, int depth, TextureFormat format, bool mipmap, bool linear ) : System