UpdateTileRaw(int, int, int, byte[])
Update sparse texture tile with raw pixel values.
Read time 1 minuteLast updated 4 days ago
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.