UnityEngine.SparseTexture.SparseTexture C# (CSharp) Method

SparseTexture() public method

Create a sparse texture.

public SparseTexture ( int width, int height, TextureFormat format, int mipCount, bool linear ) : System
width int Texture width in pixels.
height int Texture height in pixels.
format TextureFormat Texture format.
mipCount int Mipmap count. Pass -1 to create full mipmap chain.
linear bool Whether texture data will be in linear or sRGB color space (default is sRGB).
return System
        public SparseTexture(int width, int height, TextureFormat format, int mipCount, bool linear)
        {
            Internal_Create(this, width, height, format, mipCount, linear);
        }

Same methods

SparseTexture::SparseTexture ( int width, int height, TextureFormat format, int mipCount ) : System