实现

构造函数

属性

bundleId: number
cullMode: CullMode
depthStencilState: WebGPUDepthStencilStateCache
frontFace: FrontFace
globalId: number
isStatic: boolean = false
materialShaderData: WebGPUShaderData
needClearBundle: boolean = false
nodeCommonMap: string[]
objectName: string = 'WebGPURenderElement2D'
renderStateIsBySprite: boolean = true
staticChange: boolean = false
subShader: SubShader
value2DShaderData: WebGPUShaderData
_compileDefine: WebDefineDatas = ...
_defineStrings: string[] = []
_materialShaderData: WebGPUShaderData = ...
_sceneShaderData: WebGPUShaderData = ...
_value2DShaderData: WebGPUShaderData = ...
bundleIdCounter: number = 0

方法