pixi.js
Version:
<p align="center"> <a href="https://pixijs.com" target="_blank" rel="noopener noreferrer"> <img height="150" src="https://files.pixijs.download/branding/pixijs-logo-transparent-dark.svg?v=1" alt="PixiJS logo"> </a> </p> <br/> <p align="center">
10 lines (9 loc) • 474 B
TypeScript
import { UniformGroup } from '../../shared/shader/UniformGroup';
/**
* Automatically generates a uniform group that holds the texture samplers for a shader.
* This is used mainly by the shaders that batch textures!
* @param maxTextures - the number of textures that this uniform group will contain.
* @returns a uniform group that holds the texture samplers.
* @internal
*/
export declare function getBatchSamplersUniformGroup(maxTextures: number): UniformGroup<any>;