Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgramLib

维护 shader 资源实例的全局管理器。

Hierarchy

  • ProgramLib

Index

Constructors

constructor

Properties

Protected _cache

_cache: Record<string, IShaderResources>

Protected _templates

_templates: Record<string, IProgramInfo>

Methods

define

destroyShaderByDefines

  • destroyShaderByDefines(defines: IDefineMap): void

getGFXShader

getKey

  • getKey(name: string, defines: IDefineMap): string

getTemplate

hasProgram

  • hasProgram(name: string): boolean

Generated using TypeDoc