UNPKG

@itwin/core-common

Version:

iTwin.js components common to frontend and backend

35 lines 1.75 kB
/*--------------------------------------------------------------------------------------------- * 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 */ /** Describes the units in which a [[TextureMapProps]]' scale is expressed. * @public * @extensions */ export var TextureMapUnits; (function (TextureMapUnits) { /** Indicates the scale has no units. */ TextureMapUnits[TextureMapUnits["Relative"] = 0] = "Relative"; TextureMapUnits[TextureMapUnits["Meters"] = 3] = "Meters"; TextureMapUnits[TextureMapUnits["Millimeters"] = 4] = "Millimeters"; TextureMapUnits[TextureMapUnits["Feet"] = 5] = "Feet"; TextureMapUnits[TextureMapUnits["Inches"] = 6] = "Inches"; })(TextureMapUnits || (TextureMapUnits = {})); /** Flags applied to a [[NormalMapProps]]. The enum values can be combined using bitwise operators. * @public */ export var NormalMapFlags; (function (NormalMapFlags) { /** No special flags. */ NormalMapFlags[NormalMapFlags["None"] = 0] = "None"; /** Indicates that the Y component of each vector - stored in the texture's green channel - points upward along the positive Y axis and should * be negated. By default it points downward. */ NormalMapFlags[NormalMapFlags["GreenUp"] = 1] = "GreenUp"; /** If true, override the mapping mode with constant LOD mapping for the normal map. */ NormalMapFlags[NormalMapFlags["UseConstantLod"] = 2] = "UseConstantLod"; })(NormalMapFlags || (NormalMapFlags = {})); //# sourceMappingURL=MaterialProps.js.map