Engine API Reference - v2.20.0-beta.0
    Preparing search index...

    Class UniformBufferFormat

    A descriptor that defines the layout of data inside the uniform buffer.

    Index

    Constructors

    Properties

    Methods

    Constructors

    Properties

    uniforms: UniformFormat[]

    Methods

    • Returns format of a uniform with specified name. Returns undefined if the uniform is not found.

      Parameters

      • name: string

        The name of the uniform.

      Returns UniformFormat | undefined

      • The format of the uniform.