Variable SystemStateConst

SystemState: {
    currentProcessApproach: ProcessApproachClass;
    totalSizeOfGPUShaderDataStorageExceptMorphData: number;
    viewportAspectRatio: number;
    webgpuRenderBundleMode: boolean;
} = ...

Global system state object that holds various runtime configuration and state information. This object contains system-wide settings that affect rendering behavior and performance.

Type declaration

  • currentProcessApproach: ProcessApproachClass

    The current process approach being used for rendering operations. Determines whether to use WebGL2 uniform approach, data texture approach, WebGPU, or none.

  • totalSizeOfGPUShaderDataStorageExceptMorphData: number

    Total size in bytes of GPU shader data storage, excluding morph target data. Used for memory management and optimization of GPU resource allocation.

    0
    
  • viewportAspectRatio: number

    The aspect ratio of the current viewport (width / height). Used for camera projection calculations and responsive rendering.

    0
    
  • webgpuRenderBundleMode: boolean

    Flag indicating whether WebGPU render bundle mode is enabled. Render bundles can improve performance by pre-recording rendering commands.

    false