Options
All
  • Public
  • Public/Protected
  • All
Menu

Class UniformData

uniform data hasChanged只适用于camera/scene/pass这些global uniform,因为不会被复用 可被复用的uniformData,只会被第一个mesh感知到,后面就recover了

Hierarchy

  • UniformData

Index

Constructors

Properties

_datas: any

数据储存

_hasChanged: any
_textureDatas: any

Accessors

  • get datas(): Map<string, any>
  • Returns Map<string, any>

  • get hasChanged(): boolean
  • Returns boolean

  • get isEmpty(): boolean
  • Returns boolean

  • get isTextureEmpty(): boolean
  • Returns boolean

  • get textureDatas(): Map<string, any>
  • Returns Map<string, any>

Methods

  • deleteData(key: string): void
  • Parameters

    • key: string

    Returns void

  • deleteTextureData(key: string): void
  • Parameters

    • key: string

    Returns void

  • getData(key: string): any
  • Parameters

    • key: string

    Returns any

  • getTextureData(key: string): any
  • Parameters

    • key: string

    Returns any

  • markChangeFlag(): void
  • Returns void

  • recoverChangeFlag(): void
  • Returns void

  • setData(key: string, value: any): void
  • 设置单个 -@param key

    Parameters

    • key: string
    • value: any

    Returns void

  • setTextureData(key: string, value: any): void
  • Parameters

    • key: string
    • value: any

    Returns void

Generated using TypeDoc