PluginUboField | Babylon Lite API

API
Babylon Lite API
    Preparing search index...

    Interface PluginUboField

    A custom uniform contributed by a plugin. The WGSL type is used verbatim (e.g. "vec4", "f32", "mat4x4") inside the host material's UBO.
    interface PluginUboField {
        name: string;
        type: string;
        visibility?: "vertex" | "fragment" | "vertex-fragment";
    }
    Index
    name: string
    type: string
    visibility?: "vertex" | "fragment" | "vertex-fragment"

    Shader stages that read this field. Defaults to "fragment".