private Internal_Create ( [ mono, int width, int height, TextureFormat format, int mipCount, bool linear ) : void | ||
mono | [ | |
width | int | |
height | int | |
format | TextureFormat | |
mipCount | int | |
linear | bool | |
return | void |
public SparseTexture(int width, int height, TextureFormat textureFormat, int mipCount, bool linear) { bool flag = !base.ValidateFormat(textureFormat); if (!flag) { SparseTexture.ValidateIsNotCrunched(textureFormat); GraphicsFormat graphicsFormat = GraphicsFormatUtility.GetGraphicsFormat(textureFormat, !linear); bool flag2 = !this.ValidateSize(width, height, graphicsFormat); if (!flag2) { SparseTexture.Internal_Create(this, width, height, graphicsFormat, mipCount); } } }
public SparseTexture(int width, int height, TextureFormat format, int mipCount, bool linear) { SparseTexture.Internal_Create(this, width, height, format, mipCount, linear); }
public SparseTexture(int width, int height, TextureFormat format, int mipCount) { SparseTexture.Internal_Create(this, width, height, format, mipCount, false); }