Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CoreDataManager

Hierarchy

  • CoreDataManager

Index

Constructors

Properties

_attributeDatas: any
_count: any
_elementCoreDataPool: any
_emptyCoreData: any
_getShaderWithMacros: any
_getVAOId: any
_getVertexBuffer: any
_gla: any
_globalCoreDataPool: any
_hasElementMacroChanged: any
_hasGlobalMacroChanged: any
_hasPassMacroChanged: any
_hasStateChanged: any
_isProgramChanged: any

获取shader program

param element
returns
_lastCacheKey: any
_lastProgram: any
_lastShaderId: any
_passCoreData: any
_processElementCoreData: any
_programCache: any
_refreshAttributeDatas: any
_tempElementKey: any
_tempGlobalKey: any
_tempPassKey: any
_vaoIds: any

Methods

  • destroy(): void
  • 清除cache

    Returns void

  • drawElement(__namedParameters: { coreDatas: CoreData[]; drawInfo: { drawCount: number; drawIndex: boolean; drawMode: DrawMode; drawType: number; instanceCount: number }; shader: IShader }): void
  • Parameters

    • __namedParameters: { coreDatas: CoreData[]; drawInfo: { drawCount: number; drawIndex: boolean; drawMode: DrawMode; drawType: number; instanceCount: number }; shader: IShader }
      • coreDatas: CoreData[]
      • drawInfo: { drawCount: number; drawIndex: boolean; drawMode: DrawMode; drawType: number; instanceCount: number }
        • drawCount: number
        • drawIndex: boolean
        • drawMode: DrawMode
        • drawType: number
        • instanceCount: number
      • shader: IShader

    Returns void

  • Parameters

    Returns <internal>.default

  • updateGlobalCoreData(coreDatas: CoreData[]): void
  • Parameters

    Returns void

  • updatePassCoreData(coreData: CoreData): void
  • Parameters

    Returns void

Generated using TypeDoc