UpdateTileRaw(int, int, int, byte[])
Update sparse texture tile with raw pixel values.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前
Definition
- Type: Method
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public void UpdateTileRaw(int tileX, int tileY, int miplevel, byte[] data)
Parameters
Remarks
This function behaves just like SparseTexture.UpdateTile, except the data you pass already needs to be in the final texture format. This is mostly useful for compressed sparse textures, where you'd want to load already precompressed tile data.
Additional Resources: SparseTexture.UnloadTile, SparseTexture.UpdateTile.