LogoPixi’VN
pixi-jsType aliases

Type Alias: UniformGroupOptions

> UniformGroupOptions = object

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/shader/UniformGroup.d.ts:19

Uniform group options

Advanced

Properties

isStatic?

> optional isStatic?: boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/shader/UniformGroup.d.ts:27

if true, then you are responsible for when the data is uploaded to the GPU by calling update()


ubo?

> optional ubo?: boolean

Defined in: node_modules/pixi.js/lib/rendering/renderers/shared/shader/UniformGroup.d.ts:25

if true the UniformGroup is handled as an Uniform buffer object. This is the only way WebGPU can work with uniforms. WebGL2 can also use this. So don't set to true if you want to use WebGPU :D