Class: GpuTextureSystem

GpuTextureSystem

The system that handles textures for the GPU.

Implements

Methods

getTextureBindGroup (texture)

this returns s bind group for a specific texture, the bind group contains

  • the texture source
  • the texture style
  • the texture matrix This is cached so the bind group should only be created once per texture
Name Type Description
texture Texture

the texture you want the bindgroup for

Returns:
the bind group for the texture