Engine API Reference - v2.8.0
    Preparing search index...

    Class ShaderChunks

    A collection of GLSL and WGSL shader chunks, used to generate shaders.

    Index

    Properties

    Methods

    Properties

    version: string = ''

    Specifies the API version of the shader chunks.

    This should be a string containing the current engine major and minor version (e.g., '2.8' for engine v2.8.1) and ensures compatibility with the current engine version. When providing custom shader chunks, set this to the latest supported version. If a future engine release no longer supports the specified version, a warning will be issued. In that case, update your shader chunks to match the new format and set this to the latest version accordingly.

    Methods