Version: 2017.1

SparseTextureConstructor

Cambiar al Manual
public SparseTexture (int width, int height, TextureFormat format, int mipCount);
public SparseTexture (int width, int height, TextureFormat format, int mipCount, bool linear);

Parámetros

width Anchura de textura en pixeles.
height Altura de textura en pixeles.
format Texture format.
mipCount Mipmap count. Pass -1 to create full mipmap chain.
linear Whether texture data will be in linear or sRGB color space (default is sRGB).

Descripción

Create a sparse texture.