LogoPixi’VN
pixi-jsFunctions

Function: getBatchSamplersUniformGroup()

> getBatchSamplersUniformGroup(maxTextures): UniformGroup<any>

Defined in: node_modules/pixi.js/lib/rendering/renderers/gl/shader/getBatchSamplersUniformGroup.d.ts:9

Internal

Automatically generates a uniform group that holds the texture samplers for a shader. This is used mainly by the shaders that batch textures!

Parameters

maxTextures

number

the number of textures that this uniform group will contain.

Returns

UniformGroup<any>

a uniform group that holds the texture samplers.