Add existing to tracked

This commit is contained in:
Jay
2026-08-11 09:53:42 -04:00
parent afe07f3055
commit ffd6e3d73c
8531 changed files with 4396230 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
import Frozen from "../../Core/Frozen.js";
import LightingModel from "./LightingModel.js";
/**
* Options for configuring the {@link LightingPipelineStage}
*
* @param {object} options An object containing the following options
* @param {LightingModel} [options.lightingModel=LightingModel.UNLIT] The lighting model to use
*
* @alias ModelLightingOptions
* @constructor
*
* @private
*/
function ModelLightingOptions(options) {
options = options ?? Frozen.EMPTY_OBJECT;
/**
* The lighting model to use, such as UNLIT or PBR. This is determined by
* the primitive's material.
*
* @type {LightingModel}
*
* @private
*/
this.lightingModel = options.lightingModel ?? LightingModel.UNLIT;
}
export default ModelLightingOptions;