Class AtlasAllocator
Namespace: UnityEngine.Experimental.Rendering.HDPipeline
Syntax
public class AtlasAllocator
Constructors
AtlasAllocator(Int32, Int32)
Declaration
public AtlasAllocator(int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Int32 | width | |
| Int32 | height |
Methods
Allocate(ref Vector4, Int32, Int32)
Declaration
public bool Allocate(ref Vector4 result, int width, int height)
Parameters
| Type | Name | Description |
|---|---|---|
| Vector4 | result | |
| Int32 | width | |
| Int32 | height |
Returns
| Type | Description |
|---|---|
| Boolean |
Release()
Declaration
public void Release()