C# Класс UnityEngine.SparseTexture

Class for handling Sparse Textures.

Наследование: Texture
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
SparseTexture ( int width, int height, TextureFormat format, int mipCount ) : System

Create a sparse texture.

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

Create a sparse texture.

Приватные методы

Метод Описание
Internal_Create ( [ mono, int width, int height, TextureFormat format, int mipCount, bool linear ) : void
UnloadTile ( int tileX, int tileY, int miplevel ) : void
UpdateTile ( int tileX, int tileY, int miplevel, Color32 data ) : void
UpdateTileRaw ( int tileX, int tileY, int miplevel, byte data ) : void

Описание методов

SparseTexture() публичный Метод

Create a sparse texture.

public SparseTexture ( int width, int height, TextureFormat format, int mipCount ) : 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.
Результат System

SparseTexture() публичный Метод

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).
Результат System