Class
SpriteBindGroups
View sourceBind groups for sprite images.
This is intentionally independent from material bind groups: sprites have no mesh material and their texture is the only resource in group 1.
Constructor
View source
Methods
getOrSet ( device: WebGLRenderDevice , renderer: WebGLRenderer , image: Texture ) : WebGLBindGroup
View source Returns a bind group for an image, recreating it if the cached GPU texture or default sampler changed.