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, bool linear ) : 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?
linear bool Does the texture contain non-color data (i.e. don't do any color space conversions when sampling)? Default is false.
return System
        public Texture2DArray(int width, int height, int depth, TextureFormat format, bool mipmap, bool linear)
        {
            Internal_Create(this, width, height, depth, format, mipmap, linear);
        }

Same methods

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