rhodonite
    Preparing search index...

    Class Config

    Config is a configuration class that contains the configuration for the library.

    Index

    Constructors

    Properties

    boneDataType: EnumIO = BoneDataType.Mat43x1

    The data type of the bone

    bufferSizeDivisionRatiosForGPUInstanceDataUsage: number[] = ...

    The buffer size division ratios for GPU instance data usage

    cacheWebGpuRenderBundles: boolean = true

    Whether to cache the WebGPU render bundles

    cameraComponentCountPerBufferView: number = 1

    The number of camera components per buffer view

    cgApiDebugConsoleOutput: boolean = false

    Whether to output the CG API debug console

    eventTargetDom: HTMLElement | undefined

    The event target DOM for mouse operation

    isMobile: boolean = false

    Whether the device is a mobile device

    isUboEnabled: boolean = false

    Whether the UBO is enabled

    lightComponentCountPerBufferView: number = 1

    The number of light components per buffer view

    logLevel: LogLevel = LogLevel.Warn

    The minimum log level that will be output. Messages below this level are ignored.

    materialCountPerBufferView: number = 3

    Number of instances of each material type to be placed consecutively in memory. This is on the memory layout, and the number of material instances that can be generated is not limited by this setting. If this limit is exceeded, the material type is internally treated as a separate material type.

    maxBoneNumberForMemoryBoostMode: number = 500

    The maximum number of bones that Rhodonite can handle for Memory Boost Mode

    maxLightNumber: number = 6

    The maximum number of lights that Rhodonite can handle

    maxSkeletalBoneNumberForUniformMode: number = 50

    The maximum number of bones of each skeleton that Rhodonite can handle for Uniform Mode

    multiViewForWebVR: boolean = false

    Whether to enable multi-view extension for WebVR

    physicsTimeIntervalScale: number = 1

    The scale of the physics time interval

    scenegraphComponentCountPerBufferView: number = 10

    The number of scenegraph components per buffer view

    skeletalComponentCountPerBufferView: number = 1

    The number of skeletal components per buffer view

    Methods