UNPKG

playcanvas

Version:

PlayCanvas WebGL game engine

13 lines (12 loc) 536 B
export class ShaderGenerator { static begin(): string; static end(): string; /** * @param {Map<string, string>} defines - the set of defines to be used in the shader. * @returns {number} the hash code of the defines. */ static definesHash(defines: Map<string, string>): number; static fogCode(value: any, chunks?: Record<string, string>): string; static gammaCode(value: any, chunks?: Record<string, string>): string; static tonemapCode(value: any, chunks?: Record<string, string>): string; }