Source

Types.js

/**
 * Types available
 *
 * @category Types
 */
class Type {}

/**
 * Float
 *
 * @type {number}
 */
Type.Float = 0;

/**
 * Integer
 *
 * @type {number}
 */
Type.Int = 1;

/**
 * Bool
 *
 * @type {number}
 */
Type.Bool = 2;

/**
 * Matrix
 *
 * @type {number}
 */
Type.Matrix = 3;

/**
 * 2D Texture
 *
 * @type {number}
 */
Type.Texture2D = 4;

/**
 * 3D Texture
 *
 * @type {number}
 */
Type.TextureCube = 5;

/**
 * Byte
 *
 * @type {number}
 */
Type.Byte = 6;

/**
 * u_Byte
 *
 * @type {number}
 */
Type.u_Byte = 7;

/**
 * Short
 *
 * @type {number}
 */
Type.Short = 8;

/**
 * u_Short
 *
 * @type {number}
 */
Type.u_Short = 9;

/**
 * u_Int
 *
 * @type {number}
 */
Type.u_Int = 10;

export default Type;