API

Function CreateIrradianceImageDataArrayBufferViews

  • Creates the ArrayBufferViews used for initializing environment texture image data.

    Parameters

    • data: ArrayBufferView

      the image data

    • info: EnvironmentTextureInfo

      parameters that determine what views will be created for accessing the underlying buffer

    Returns ArrayBufferView<ArrayBufferLike>[]

    the views described by info providing access to the underlying buffer