| Parameter | Description |
|---|---|
| settings | Settings use for generating Texture2D and Sprite. |
| colorBuffer | Color buffer for generating Texture2D and Sprite. |
TextureGenerationOutput Result of the generation.
As Unity may perform in-place processing of colorBuffer, it is recommended that you make a copy of its original data if you need it after this method returns.
The System.Span<T> overloads accept any writable contiguous block of memory, such as a managed array or a NativeArray.