UNPKG

odin

Version:

Node.js Canvas/WebGL Javascript Game Framework

37 lines (26 loc) 1.09 kB
if (typeof define !== "function") { var define = require("amdefine")(module); } define([ "odin/base/enum" ], function(Enum) { "use strict"; return { AxisType: new Enum("Button Mouse MouseWheel Touch Joystick"), Blending: new Enum("Default None Additive Subtractive Muliply Custom"), Shading: new Enum("Lambert Phong"), Side: new Enum("Front Back Both"), CullFace: new Enum("None Back Front FrontBack"), EmitterType: new Enum("Circle Box Sphere"), LightType: new Enum("Point Directional Spot Hemi"), TextClipping: new Enum("Overflow Clip"), TextAnchor: new Enum("Left Center Right"), ShadowMapType: new Enum("BasicShadowMap PCFShadowMap PCFSoftShadowMap"), FilterMode: new Enum("None Linear"), TextureFormat: new Enum("RGB RGBA LuminanceAlpha Luminance Alpha"), TextureWrap: new Enum("Repeat Clamp MirrorRepeat"), WrapMode: new Enum("Once Loop PingPong Clamp") }; } );