RegisterMaterial(Material)
Registers a Material in BatchRendererGroup and returns its BatchMaterialID. Each registration of a specific Material increases its number of owners by 1.
읽는 시간 1분최근 업데이트: 한 달 전
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
public BatchMaterialID RegisterMaterial(Material material)
Parameters
Unity Material.
Returns
Type | Description |
|---|---|
| BatchMaterialID | BatchRendererGroup Material ID. |