rhodonite
    Preparing search index...

    Class ShaderParameterDebugger

    Inspector for the values Rhodonite uploads to WebGL2 or WebGPU shaders.

    It reports both the CPU-side value of a shader semantic and the location/value the shader reads from the WebGL2 data texture or the WebGPU storage buffer, plus the real uniform value when the WebGL2 shader uses one (for needUniformInDataTextureMode and sampler uniforms).

    The decoder reads the CPU-side GPUInstanceData buffers, which are the same bytes that are uploaded to the GPU. It does not read back GPU memory.

    Index
    • Parameters

      • engine: Engine
      • vec4Index: number

      Returns
          | {
              byteOffset: number;
              col: number;
              row: number;
              vec4: RawVec4
              | null;
              vec4Index: number;
          }
          | null

    • Parameters

      Returns Record<string, unknown>[]

    • Parameters

      • engine: Engine
      • target: any = ...

      Returns void

    • Parameters

      • engine: Engine
      • shaderProgramUid: number

      Returns Map<string, RealUniformInfo> | null