BatchRendererGroup.RegisterMaterial

Declaration

public Rendering.BatchMaterialID RegisterMaterial(Material material);

Parameters

material Unity Material.

Returns

BatchMaterialID BatchRendererGroup Material ID.

Description

Registers a Material in BatchRendererGroup and returns its BatchMaterialID. Each registration of a specific Material increases its number of owners by 1.


Did you find this page useful? Please give it a rating: