Variable
Static Public Summary | ||
public |
ANIM: {"Key": *} |
|
public |
BLENDS: {"BLEND_NONE": *, "BLEND_NORMAL": number, "BLEND_ADD": number, "BLEND_SUB": number, "BLEND_MUL": number} |
|
public |
CG: {"GAPI_WEBGL": *, "GAPI_WEBGPU": number, "DEPTH_COMPARE_NEVER": *, "DEPTH_COMPARE_LESS": number, "DEPTH_COMPARE_EQUAL": number, "DEPTH_COMPARE_LESSEQUAL": number, "DEPTH_COMPARE_GREATER": number, "DEPTH_COMPARE_NOTEQUAL": number, "DEPTH_COMPARE_GREATEREQUAL": number, "DEPTH_COMPARE_ALWAYS": number, "CULL_NONE": *, "CULL_BACK": number, "CULL_FRONT": number, "CULL_BOTH": number, "Geometry": *, "BoundingBox": *, "FpsCounter": *, "CgCanvas": *} |
|
public |
CGL: {"Framebuffer": *, "Framebuffer2": *, "Geometry": *, "BoundingBox": *, "Marker": *, "WirePoint": *, "WireCube": *, "MatrixStack": *, "Mesh": *, "MESH": *, "ShaderLibMods": *, "Shader": *, "Uniform": *, "MESHES": *, "Context": *, "Texture": *, "TextureEffect": *, "isWindows": *, "getWheelSpeed": *, "getWheelDelta": *, "onLoadingAssetsFinished": *, "ProfileData": *, "UniColorShader": *, ...undefined: Object} |
|
public |
CGP: {"Context": *, "Shader": *, "Mesh": *, "Pipeline": *, "Texture": *, "Binding": *, "Uniform": *, "MESHES": *, "GPUBuffer": *} |
|
public |
CONSTANTS: {"MATH": *, "SHADER": *, "BLEND_MODES": *} |
|
public |
CONSTANTS: {"ANIM": *, "OP": *, "PORT": *, "PACO": *} |
|
public |
DEG2RAD: * multiply to get radians from degree, e.g. |
|
public |
EMBED: {} |
|
public |
MESH: {} |
|
public |
MESHES: {} |
|
public |
RAD2DEG: * to get degrees from radians, e.g. |
|
public |
ShaderLibMods: {"CGL.BLENDMODES": *, "CGL.BLENDMODES3": *, "CGL.LUMINANCE": *, "CGL.RANDOM_OLD": *, "CGL.RANDOM_LOW": *, "CGL.RANDOM_TEX": *} |
|
public |
UTILS: {} |
|
public |
WEBAUDIO: {} |
|
public |
generateUUID: * |
|
public |
|
|
public |
|
|
public |
isWindows(event: MouseEvent): Number: * get normalized mouse wheel delta (including browser specific adjustment) |
|
public |
|
|
public |
prefixedHash: * |
|
public |
shortId: * |
|
public |
uuid: * |
Static Public
public BLENDS: {"BLEND_NONE": *, "BLEND_NORMAL": number, "BLEND_ADD": number, "BLEND_SUB": number, "BLEND_MUL": number} source
import {BLENDS} from './core/cgl/cgl_state.js'
public CG: {"GAPI_WEBGL": *, "GAPI_WEBGPU": number, "DEPTH_COMPARE_NEVER": *, "DEPTH_COMPARE_LESS": number, "DEPTH_COMPARE_EQUAL": number, "DEPTH_COMPARE_LESSEQUAL": number, "DEPTH_COMPARE_GREATER": number, "DEPTH_COMPARE_NOTEQUAL": number, "DEPTH_COMPARE_GREATEREQUAL": number, "DEPTH_COMPARE_ALWAYS": number, "CULL_NONE": *, "CULL_BACK": number, "CULL_FRONT": number, "CULL_BOTH": number, "Geometry": *, "BoundingBox": *, "FpsCounter": *, "CgCanvas": *} source
import {CG} from './core/cg/cg_constants.js'
public CGL: {"Framebuffer": *, "Framebuffer2": *, "Geometry": *, "BoundingBox": *, "Marker": *, "WirePoint": *, "WireCube": *, "MatrixStack": *, "Mesh": *, "MESH": *, "ShaderLibMods": *, "Shader": *, "Uniform": *, "MESHES": *, "Context": *, "Texture": *, "TextureEffect": *, "isWindows": *, "getWheelSpeed": *, "getWheelDelta": *, "onLoadingAssetsFinished": *, "ProfileData": *, "UniColorShader": *, ...undefined: Object} source
import {CGL} from './core/cgl/index.js'
public CGP: {"Context": *, "Shader": *, "Mesh": *, "Pipeline": *, "Texture": *, "Binding": *, "Uniform": *, "MESHES": *, "GPUBuffer": *} source
import {CGP} from './core/cgp/index.js'
public CONSTANTS: {"MATH": *, "SHADER": *, "BLEND_MODES": *} source
import {CONSTANTS} from './core/cgl/constants.js'
public CONSTANTS: {"ANIM": *, "OP": *, "PORT": *, "PACO": *} source
import {CONSTANTS} from './core/constants.js'
public DEG2RAD: * source
import {DEG2RAD} from './core/cgl/cgl_utils.js'
multiply to get radians from degree, e.g. 360 * CGL.DEG2RAD
public RAD2DEG: * source
import {RAD2DEG} from './core/cgl/cgl_utils.js'
to get degrees from radians, e.g. 3.14 * CGL.RAD2DEG
public ShaderLibMods: {"CGL.BLENDMODES": *, "CGL.BLENDMODES3": *, "CGL.LUMINANCE": *, "CGL.RANDOM_OLD": *, "CGL.RANDOM_LOW": *, "CGL.RANDOM_TEX": *} source
import {ShaderLibMods} from './core/cgl/cgl_shader_lib.js'
public isWindows(event: MouseEvent): Number: * source
import {isWindows} from './core/cgl/cgl_utils.js'
get normalized mouse wheel delta (including browser specific adjustment)
Return:
Number | normalized delta |
public onLoadingAssetsFinished: * source
import {onLoadingAssetsFinished} from './core/cgl/cgl_utils.js'