Internal helper class for storing the shader and related mesh bind group in the shader cache.

Properties

bindGroup: BindGroup = null

A bind group storing mesh textures / samplers for the shader. but not the uniform buffer.

hashes: Uint32Array

The full array of hashes used to lookup the pipeline, used in case of hash collision.

shader: any

A shader.

uniformBuffer: UniformBuffer = null

A uniform buffer storing mesh uniforms for the shader.

Methods