Class Texture2DAtlas
Inheritance
Texture2DAtlas
Syntax
public class Texture2DAtlas
Constructors
Texture2DAtlas(Int32, Int32, GraphicsFormat)
Declaration
public Texture2DAtlas(int width, int height, GraphicsFormat format)
Parameters
| Type |
Name |
Description |
| Int32 |
width |
|
| Int32 |
height |
|
| GraphicsFormat |
format |
|
Properties
AtlasTexture
Declaration
public RTHandleSystem.RTHandle AtlasTexture { get; }
Property Value
Methods
AddTexture(CommandBuffer, ref Vector4, Texture)
Declaration
public bool AddTexture(CommandBuffer cmd, ref Vector4 scaleBias, Texture texture)
Parameters
| Type |
Name |
Description |
| CommandBuffer |
cmd |
|
| Vector4 |
scaleBias |
|
| Texture |
texture |
|
Returns
Release()
Declaration
ResetAllocator()
Declaration
public void ResetAllocator()