Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgramLib

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

Hierarchy

  • ProgramLib

Index

Properties

Protected _cache

_cache: Record<string, ShaderHandle>

Protected _pipelineLayouts

_pipelineLayouts: Record<string, IPipelineLayoutInfo>

Protected _templates

_templates: Record<string, IProgramInfo>

Methods

define

destroyShaderByDefines

getGFXShader

getKey

getPipelineLayout

getTemplate

hasProgram

  • hasProgram(name: string): boolean

Generated using TypeDoc