"use strict";
/*---------------------------------------------------------------------------------------------
* Copyright (c) Bentley Systems, Incorporated. All rights reserved.
* See LICENSE.md in the project root for license terms and full copyright notice.
*--------------------------------------------------------------------------------------------*/
/** @packageDocumentation
 * @module Rendering
 */
Object.defineProperty(exports, "__esModule", { value: true });
exports.createSurfaceMaterial = exports.isValidSurfaceType = exports.SurfaceType = void 0;
/** @internal */
var SurfaceType;
(function (SurfaceType) {
    SurfaceType[SurfaceType["Unlit"] = 0] = "Unlit";
    SurfaceType[SurfaceType["Lit"] = 1] = "Lit";
    SurfaceType[SurfaceType["Textured"] = 2] = "Textured";
    SurfaceType[SurfaceType["TexturedLit"] = 3] = "TexturedLit";
    SurfaceType[SurfaceType["VolumeClassifier"] = 4] = "VolumeClassifier";
})(SurfaceType || (exports.SurfaceType = SurfaceType = {}));
/** @internal */
function isValidSurfaceType(value) {
    switch (value) {
        case SurfaceType.Unlit:
        case SurfaceType.Lit:
        case SurfaceType.Textured:
        case SurfaceType.TexturedLit:
        case SurfaceType.VolumeClassifier:
            return true;
        default:
            return false;
    }
}
exports.isValidSurfaceType = isValidSurfaceType;
/** @internal */
function createSurfaceMaterial(source) {
    if (undefined === source)
        return undefined;
    else
        return { isAtlas: false, material: source };
}
exports.createSurfaceMaterial = createSurfaceMaterial;
//# sourceMappingURL=SurfaceParams.js.map