Skip to content

Function: MaterialBatchBlockers() ​

ts
function MaterialBatchBlockers(shader): string[];

Why a shader can't be drawn batched (empty = it can). A batched material runs inside the sprite batch: no extra pass, so nothing can be drawn outside the object (padding), and the batch's texture slots are the objects' own images (no texture uniforms).

Parameters ​

ParameterType
shaderShaderAsset

Returns ​

string[]

© 2026 PlayAdGentic