Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProgramLib

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

Hierarchy

  • ProgramLib

Index

Properties

Protected _cache

_cache: Record<string, ShaderHandle>

Protected _templateInfos

_templateInfos: Record<number, ITemplateInfo>

Protected _templates

_templates: Record<string, IProgramInfo>

Methods

define

destroyShaderByDefines

getDescriptorSetLayout

getGFXShader

getKey

getTemplate

getTemplateInfo

hasProgram

  • hasProgram(name: string): boolean

register

Generated using TypeDoc