Class TinoeWebGLStateManager
Constructors
constructor
Parameters
Properties
Private _createArrayState
_createArrayState: any
Private _createEnableState
_createEnableState: any
Private _createNormalState
_createNormalState: any
Private _gl
_gl: any
statesPool
states
Pool
: readonly [EnableValueState, EnableValueState, EnableValueState, EnableValueState, NormalValueState<CompareFunction>, NormalValueState<boolean>, NormalValueState<RenderFace>, ArrayValueState<[BlendFactor, BlendFactor, BlendFactor, BlendFactor]>, ArrayValueState<[BlendOperation, BlendOperation]>, ArrayValueState<[number, number, number, number]>, ArrayValueState<[boolean, boolean, boolean, boolean]>, EnableValueState, ArrayValueState<[RenderFace, CompareFunction, number, number]>, ArrayValueState<[RenderFace, CompareFunction, number, number]>, ArrayValueState<[RenderFace, StencilOperation, StencilOperation, StencilOperation]>, ArrayValueState<[RenderFace, StencilOperation, StencilOperation, StencilOperation]>, NormalValueState<number>]Methods
_initStates
- _initStates(): readonly [EnableValueState, EnableValueState, EnableValueState, EnableValueState, NormalValueState<CompareFunction>, NormalValueState<boolean>, NormalValueState<RenderFace>, ArrayValueState<[BlendFactor, BlendFactor, BlendFactor, BlendFactor]>, ArrayValueState<[BlendOperation, BlendOperation]>, ArrayValueState<[number, number, number, number]>, ArrayValueState<[boolean, boolean, boolean, boolean]>, EnableValueState, ArrayValueState<[RenderFace, CompareFunction, number, number]>, ArrayValueState<[RenderFace, CompareFunction, number, number]>, ArrayValueState<[RenderFace, StencilOperation, StencilOperation, StencilOperation]>, ArrayValueState<[RenderFace, StencilOperation, StencilOperation, StencilOperation]>, NormalValueState<number>]
destroy
Returns void
setState
Type Parameters
Parameters
Returns void
setStates
- setStates(statesInfo: any): void
Parameters
Returns void
创建数组value类型的state