Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Constants

Defines the cross module used constants to avoid circular dependncies

Hierarchy

  • Constants

Index

Properties

Properties

Static Readonly ACTION_NothingTriggerSearch playground for ACTION_NothingTrigger

ACTION_NothingTrigger: number

Static Readonly ACTION_OnCenterPickTriggerSearch playground for ACTION_OnCenterPickTrigger

ACTION_OnCenterPickTrigger: number

Static Readonly ACTION_OnDoublePickTriggerSearch playground for ACTION_OnDoublePickTrigger

ACTION_OnDoublePickTrigger: number

Static Readonly ACTION_OnEveryFrameTriggerSearch playground for ACTION_OnEveryFrameTrigger

ACTION_OnEveryFrameTrigger: number

Static Readonly ACTION_OnIntersectionEnterTriggerSearch playground for ACTION_OnIntersectionEnterTrigger

ACTION_OnIntersectionEnterTrigger: number

Static Readonly ACTION_OnIntersectionExitTriggerSearch playground for ACTION_OnIntersectionExitTrigger

ACTION_OnIntersectionExitTrigger: number

Static Readonly ACTION_OnKeyDownTriggerSearch playground for ACTION_OnKeyDownTrigger

ACTION_OnKeyDownTrigger: number

Static Readonly ACTION_OnKeyUpTriggerSearch playground for ACTION_OnKeyUpTrigger

ACTION_OnKeyUpTrigger: number

Static Readonly ACTION_OnLeftPickTriggerSearch playground for ACTION_OnLeftPickTrigger

ACTION_OnLeftPickTrigger: number

Static Readonly ACTION_OnLongPressTriggerSearch playground for ACTION_OnLongPressTrigger

ACTION_OnLongPressTrigger: number

Static Readonly ACTION_OnPickDownTriggerSearch playground for ACTION_OnPickDownTrigger

ACTION_OnPickDownTrigger: number

Static Readonly ACTION_OnPickOutTriggerSearch playground for ACTION_OnPickOutTrigger

ACTION_OnPickOutTrigger: number

On pick out. This trigger will only be raised if you also declared a OnPickDown

see

https://doc.babylonjs.com/how_to/how_to_use_actions#triggers

Static Readonly ACTION_OnPickTriggerSearch playground for ACTION_OnPickTrigger

ACTION_OnPickTrigger: number

Static Readonly ACTION_OnPickUpTriggerSearch playground for ACTION_OnPickUpTrigger

ACTION_OnPickUpTrigger: number

Static Readonly ACTION_OnPointerOutTriggerSearch playground for ACTION_OnPointerOutTrigger

ACTION_OnPointerOutTrigger: number

Static Readonly ACTION_OnPointerOverTriggerSearch playground for ACTION_OnPointerOverTrigger

ACTION_OnPointerOverTrigger: number

Static Readonly ACTION_OnRightPickTriggerSearch playground for ACTION_OnRightPickTrigger

ACTION_OnRightPickTrigger: number

Static Readonly ALPHA_ADDSearch playground for ALPHA_ADD

ALPHA_ADD: number

Defines that alpha blending is SRC ALPHA * SRC + DEST

Static Readonly ALPHA_ALPHATOCOLORSearch playground for ALPHA_ALPHATOCOLOR

ALPHA_ALPHATOCOLOR: number

Defines that alpha blending is SRC * DST ALPHA + DST Alpha will be set to 0

Static Readonly ALPHA_COMBINESearch playground for ALPHA_COMBINE

ALPHA_COMBINE: number

Defines that alpha blending is SRC ALPHA * SRC + (1 - SRC ALPHA) * DEST

Static Readonly ALPHA_DISABLESearch playground for ALPHA_DISABLE

ALPHA_DISABLE: number

Defines that alpha blending is disabled

Static Readonly ALPHA_EQUATION_ADDSearch playground for ALPHA_EQUATION_ADD

ALPHA_EQUATION_ADD: number

Defines that alpha blending equation a SUM

Static Readonly ALPHA_EQUATION_DARKENSearch playground for ALPHA_EQUATION_DARKEN

ALPHA_EQUATION_DARKEN: number

Defines that alpha blending equation a DARKEN operation: It takes the min of the src and sums the alpha channels.

Static Readonly ALPHA_EQUATION_MAXSearch playground for ALPHA_EQUATION_MAX

ALPHA_EQUATION_MAX: number

Defines that alpha blending equation a MAX operation

Static Readonly ALPHA_EQUATION_MINSearch playground for ALPHA_EQUATION_MIN

ALPHA_EQUATION_MIN: number

Defines that alpha blending equation a MIN operation

Static Readonly ALPHA_EQUATION_REVERSE_SUBTRACTSearch playground for ALPHA_EQUATION_REVERSE_SUBTRACT

ALPHA_EQUATION_REVERSE_SUBTRACT: number

Defines that alpha blending equation a REVERSE SUBSTRACTION

Static Readonly ALPHA_EQUATION_SUBSTRACTSearch playground for ALPHA_EQUATION_SUBSTRACT

ALPHA_EQUATION_SUBSTRACT: number

Defines that alpha blending equation a SUBSTRACTION

Static Readonly ALPHA_EXCLUSIONSearch playground for ALPHA_EXCLUSION

ALPHA_EXCLUSION: number

Defines that alpha blending is SRC * (1 - DST) + DST * (1 - SRC) Alpha will be set to DST ALPHA

Static Readonly ALPHA_INTERPOLATESearch playground for ALPHA_INTERPOLATE

ALPHA_INTERPOLATE: number

Defines that alpha blending is CST * SRC + (1 - CST) * DEST

Static Readonly ALPHA_MAXIMIZEDSearch playground for ALPHA_MAXIMIZED

ALPHA_MAXIMIZED: number

Defines that alpha blending is SRC ALPHA * SRC + (1 - SRC) * DEST

Static Readonly ALPHA_MULTIPLYSearch playground for ALPHA_MULTIPLY

ALPHA_MULTIPLY: number

Defines that alpha blending is SRC * DEST

Static Readonly ALPHA_ONEONESearch playground for ALPHA_ONEONE

ALPHA_ONEONE: number

Defines that alpha blending is SRC + DEST

Static Readonly ALPHA_ONEONE_ONEONESearch playground for ALPHA_ONEONE_ONEONE

ALPHA_ONEONE_ONEONE: number

Defines that alpha blending is SRC + DST Alpha will be set to SRC ALPHA + DST ALPHA

Static Readonly ALPHA_ONEONE_ONEZEROSearch playground for ALPHA_ONEONE_ONEZERO

ALPHA_ONEONE_ONEZERO: number

Defines that alpha blending is SRC + DST Alpha will be set to SRC ALPHA

Static Readonly ALPHA_PREMULTIPLIEDSearch playground for ALPHA_PREMULTIPLIED

ALPHA_PREMULTIPLIED: number

Defines that alpha blending is SRC + (1 - SRC ALPHA) * DEST

Static Readonly ALPHA_PREMULTIPLIED_PORTERDUFFSearch playground for ALPHA_PREMULTIPLIED_PORTERDUFF

ALPHA_PREMULTIPLIED_PORTERDUFF: number

Defines that alpha blending is SRC + (1 - SRC ALPHA) * DEST Alpha will be set to (1 - SRC ALPHA) * DEST ALPHA

Static Readonly ALPHA_REVERSEONEMINUSSearch playground for ALPHA_REVERSEONEMINUS

ALPHA_REVERSEONEMINUS: number

Defines that alpha blending is SRC * (1 - DST) + DST * (1 - SRC)

Static Readonly ALPHA_SCREENMODESearch playground for ALPHA_SCREENMODE

ALPHA_SCREENMODE: number

Defines that alpha blending is SRC + (1 - SRC) * DEST Alpha will be set to SRC ALPHA + (1 - SRC ALPHA) * DEST ALPHA

Static Readonly ALPHA_SRC_DSTONEMINUSSRCALPHASearch playground for ALPHA_SRC_DSTONEMINUSSRCALPHA

ALPHA_SRC_DSTONEMINUSSRCALPHA: number

Defines that alpha blending is SRC + DST * (1 - SRC ALPHA) Alpha will be set to SRC ALPHA + DST ALPHA * (1 - SRC ALPHA)

Static Readonly ALPHA_SUBTRACTSearch playground for ALPHA_SUBTRACT

ALPHA_SUBTRACT: number

Defines that alpha blending is DEST - SRC * DEST

Static Readonly ALWAYSSearch playground for ALWAYS

ALWAYS: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will always pass. i.e. Pixels will be drawn in the order they are drawn

Static Readonly CUSTOMEFFECT_PREFIX_SHADOWGENERATORSearch playground for CUSTOMEFFECT_PREFIX_SHADOWGENERATOR

CUSTOMEFFECT_PREFIX_SHADOWGENERATOR: string

Prefixes used by the engine for custom effects

Static Readonly DECRSearch playground for DECR

DECR: number

Passed to stencilOperation to specify that stencil value must be decremented

Static Readonly DECR_WRAPSearch playground for DECR_WRAP

DECR_WRAP: number

Passed to stencilOperation to specify that stencil value must be decremented with wrapping

Static Readonly DELAYLOADSTATE_LOADEDSearch playground for DELAYLOADSTATE_LOADED

DELAYLOADSTATE_LOADED: number

Defines that the ressource was successfully delay loaded

Static Readonly DELAYLOADSTATE_LOADINGSearch playground for DELAYLOADSTATE_LOADING

DELAYLOADSTATE_LOADING: number

Defines that the ressource is currently delay loading

Static Readonly DELAYLOADSTATE_NONESearch playground for DELAYLOADSTATE_NONE

DELAYLOADSTATE_NONE: number

Defines that the ressource is not delayed

Static Readonly DELAYLOADSTATE_NOTLOADEDSearch playground for DELAYLOADSTATE_NOTLOADED

DELAYLOADSTATE_NOTLOADED: number

Defines that the ressource is delayed and has not started loading

Static Readonly EQUALSearch playground for EQUAL

EQUAL: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is equals to the stored value

Static Readonly GEQUALSearch playground for GEQUAL

GEQUAL: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than or equal to the stored value

Static Readonly GREATERSearch playground for GREATER

GREATER: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is greater than the stored value

Static Readonly INCRSearch playground for INCR

INCR: number

Passed to stencilOperation to specify that stencil value must be incremented

Static Readonly INCR_WRAPSearch playground for INCR_WRAP

INCR_WRAP: number

Passed to stencilOperation to specify that stencil value must be incremented with wrapping

Static Readonly INVERTSearch playground for INVERT

INVERT: number

Passed to stencilOperation to specify that stencil value must be inverted

Static Readonly KEEPSearch playground for KEEP

KEEP: number

Passed to stencilOperation to specify that stencil value must be kept

Static Readonly LEQUALSearch playground for LEQUAL

LEQUAL: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than or equal to the stored value

Static Readonly LESSSearch playground for LESS

LESS: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is less than the stored value

Static Readonly MATERIAL_AllDirtyFlagSearch playground for MATERIAL_AllDirtyFlag

MATERIAL_AllDirtyFlag: number

The all dirty flag value

Static Readonly MATERIAL_AttributesDirtyFlagSearch playground for MATERIAL_AttributesDirtyFlag

MATERIAL_AttributesDirtyFlag: number

The dirty attribute flag value

Static Readonly MATERIAL_ClockWiseSideOrientationSearch playground for MATERIAL_ClockWiseSideOrientation

MATERIAL_ClockWiseSideOrientation: number

Stores the clock-wise side orientation

Static Readonly MATERIAL_CounterClockWiseSideOrientationSearch playground for MATERIAL_CounterClockWiseSideOrientation

MATERIAL_CounterClockWiseSideOrientation: number

Stores the counter clock-wise side orientation

Static Readonly MATERIAL_FresnelDirtyFlagSearch playground for MATERIAL_FresnelDirtyFlag

MATERIAL_FresnelDirtyFlag: number

The dirty fresnel flag value

Static Readonly MATERIAL_LightDirtyFlagSearch playground for MATERIAL_LightDirtyFlag

MATERIAL_LightDirtyFlag: number

The dirty light flag value

Static Readonly MATERIAL_LineListDrawModeSearch playground for MATERIAL_LineListDrawMode

MATERIAL_LineListDrawMode: number

Returns the line list draw mode

Static Readonly MATERIAL_LineLoopDrawModeSearch playground for MATERIAL_LineLoopDrawMode

MATERIAL_LineLoopDrawMode: number

Returns the line loop draw mode

Static Readonly MATERIAL_LineStripDrawModeSearch playground for MATERIAL_LineStripDrawMode

MATERIAL_LineStripDrawMode: number

Returns the line strip draw mode

Static Readonly MATERIAL_MiscDirtyFlagSearch playground for MATERIAL_MiscDirtyFlag

MATERIAL_MiscDirtyFlag: number

The dirty misc flag value

Static Readonly MATERIAL_PointFillModeSearch playground for MATERIAL_PointFillMode

MATERIAL_PointFillMode: number

Returns the point fill mode

Static Readonly MATERIAL_PointListDrawModeSearch playground for MATERIAL_PointListDrawMode

MATERIAL_PointListDrawMode: number

Returns the point list draw mode

Static Readonly MATERIAL_PrePassDirtyFlagSearch playground for MATERIAL_PrePassDirtyFlag

MATERIAL_PrePassDirtyFlag: number

The dirty prepass flag value

Static Readonly MATERIAL_TextureDirtyFlagSearch playground for MATERIAL_TextureDirtyFlag

MATERIAL_TextureDirtyFlag: number

The dirty texture flag value

Static Readonly MATERIAL_TriangleFanDrawModeSearch playground for MATERIAL_TriangleFanDrawMode

MATERIAL_TriangleFanDrawMode: number

Returns the triangle fan draw mode

Static Readonly MATERIAL_TriangleFillModeSearch playground for MATERIAL_TriangleFillMode

MATERIAL_TriangleFillMode: number

Returns the triangle fill mode

Static Readonly MATERIAL_TriangleStripDrawModeSearch playground for MATERIAL_TriangleStripDrawMode

MATERIAL_TriangleStripDrawMode: number

Returns the triangle strip draw mode

Static Readonly MATERIAL_WireFrameFillModeSearch playground for MATERIAL_WireFrameFillMode

MATERIAL_WireFrameFillMode: number

Returns the wireframe mode

Static Readonly MESHES_CULLINGSTRATEGY_BOUNDINGSPHERE_ONLYSearch playground for MESHES_CULLINGSTRATEGY_BOUNDINGSPHERE_ONLY

MESHES_CULLINGSTRATEGY_BOUNDINGSPHERE_ONLY: number

Culling strategy : Bounding Sphere Only. This is an exclusion test. It's faster than the standard strategy because the bounding box is not tested. It's also less accurate than the standard because some not visible objects can still be selected. Test : is the bounding sphere outside the frustum ? If not, then the cullable object is in the frustum.

Static Readonly MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSIONSearch playground for MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION

MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION: number

Culling strategy : Optimistic Inclusion. This in an inclusion test first, then the standard exclusion test. This can be faster when a cullable object is expected to be almost always in the camera frustum. This could also be a little slower than the standard test when the tested object center is not the frustum but one of its bounding box vertex is still inside. Anyway, it's as accurate as the standard strategy. Test : Is the cullable object bounding sphere center in the frustum ? If not, apply the default culling strategy.

Static Readonly MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION_THEN_BSPHERE_ONLYSearch playground for MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION_THEN_BSPHERE_ONLY

MESHES_CULLINGSTRATEGY_OPTIMISTIC_INCLUSION_THEN_BSPHERE_ONLY: number

Culling strategy : Optimistic Inclusion then Bounding Sphere Only. This in an inclusion test first, then the bounding sphere only exclusion test. This can be the fastest test when a cullable object is expected to be almost always in the camera frustum. This could also be a little slower than the BoundingSphereOnly strategy when the tested object center is not in the frustum but its bounding sphere still intersects it. It's less accurate than the standard strategy and as accurate as the BoundingSphereOnly strategy. Test : Is the cullable object bounding sphere center in the frustum ? If not, apply the Bounding Sphere Only strategy. No Bounding Box is tested here.

Static Readonly MESHES_CULLINGSTRATEGY_STANDARDSearch playground for MESHES_CULLINGSTRATEGY_STANDARD

MESHES_CULLINGSTRATEGY_STANDARD: number

Default culling strategy : this is an exclusion test and it's the more accurate. Test order : Is the bounding sphere outside the frustum ? If not, are the bounding box vertices outside the frustum ? It not, then the cullable object is in the frustum.

Static Readonly NEVERSearch playground for NEVER

NEVER: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will never pass. i.e. Nothing will be drawn

Static Readonly NOTEQUALSearch playground for NOTEQUAL

NOTEQUAL: number

Passed to depthFunction or stencilFunction to specify depth or stencil tests will pass if the new depth value is not equal to the stored value

Static Readonly PARTICLES_BILLBOARDMODE_ALLSearch playground for PARTICLES_BILLBOARDMODE_ALL

PARTICLES_BILLBOARDMODE_ALL: number

Billboard mode will apply to all axes

Static Readonly PARTICLES_BILLBOARDMODE_STRETCHEDSearch playground for PARTICLES_BILLBOARDMODE_STRETCHED

PARTICLES_BILLBOARDMODE_STRETCHED: number

Special billboard mode where the particle will be biilboard to the camera but rotated to align with direction

Static Readonly PARTICLES_BILLBOARDMODE_YSearch playground for PARTICLES_BILLBOARDMODE_Y

PARTICLES_BILLBOARDMODE_Y: number

Billboard mode will only apply to Y axis

Static Readonly PREPASS_ALBEDO_TEXTURE_TYPESearch playground for PREPASS_ALBEDO_TEXTURE_TYPE

PREPASS_ALBEDO_TEXTURE_TYPE: number

Constant used to retrieve albedo index in the textures array in the prepass using the getIndex(Constants.PREPASS_ALBEDO_TEXTURE_TYPE)

Static Readonly PREPASS_COLOR_TEXTURE_TYPESearch playground for PREPASS_COLOR_TEXTURE_TYPE

PREPASS_COLOR_TEXTURE_TYPE: number

Constant used to retrieve the lit color texture index in the textures array in the prepass using the getIndex(Constants.PREPASS_COLOR_TEXTURE_TYPE)

Static Readonly PREPASS_DEPTHNORMAL_TEXTURE_TYPESearch playground for PREPASS_DEPTHNORMAL_TEXTURE_TYPE

PREPASS_DEPTHNORMAL_TEXTURE_TYPE: number

Constant used to retrieve depth + normal index in the textures array in the prepass using the getIndex(Constants.PREPASS_DEPTHNORMAL_TEXTURE_TYPE)

Static Readonly PREPASS_IRRADIANCE_TEXTURE_TYPESearch playground for PREPASS_IRRADIANCE_TEXTURE_TYPE

PREPASS_IRRADIANCE_TEXTURE_TYPE: number

Constant used to retrieve the irradiance texture index in the textures array in the prepass using getIndex(Constants.PREPASS_IRRADIANCE_TEXTURE_TYPE)

Static Readonly PREPASS_POSITION_TEXTURE_TYPESearch playground for PREPASS_POSITION_TEXTURE_TYPE

PREPASS_POSITION_TEXTURE_TYPE: number

Constant used to retrieve the position texture index in the textures array in the prepass using getIndex(Constants.PREPASS_POSITION_TEXTURE_INDEX)

Static Readonly PREPASS_REFLECTIVITY_TEXTURE_TYPESearch playground for PREPASS_REFLECTIVITY_TEXTURE_TYPE

PREPASS_REFLECTIVITY_TEXTURE_TYPE: number

Constant used to retrieve the reflectivity texture index in the textures array in the prepass using the getIndex(Constants.PREPASS_REFLECTIVITY_TEXTURE_TYPE)

Static Readonly PREPASS_VELOCITY_TEXTURE_TYPESearch playground for PREPASS_VELOCITY_TEXTURE_TYPE

PREPASS_VELOCITY_TEXTURE_TYPE: number

Constant used to retrieve the velocity texture index in the textures array in the prepass using getIndex(Constants.PREPASS_VELOCITY_TEXTURE_INDEX)

Static Readonly REPLACESearch playground for REPLACE

REPLACE: number

Passed to stencilOperation to specify that stencil value must be replaced

Static Readonly SCALEMODE_CEILINGSearch playground for SCALEMODE_CEILING

SCALEMODE_CEILING: number

Defines that texture rescaling will use a ceil to find the closer power of 2 size

Static Readonly SCALEMODE_FLOORSearch playground for SCALEMODE_FLOOR

SCALEMODE_FLOOR: number

Defines that texture rescaling will use a floor to find the closer power of 2 size

Static Readonly SCALEMODE_NEARESTSearch playground for SCALEMODE_NEAREST

SCALEMODE_NEAREST: number

Defines that texture rescaling will look for the nearest power of 2 size

Static Readonly SCENELOADER_DETAILED_LOGGINGSearch playground for SCENELOADER_DETAILED_LOGGING

SCENELOADER_DETAILED_LOGGING: number

Detailled logging while loading

Static Readonly SCENELOADER_MINIMAL_LOGGINGSearch playground for SCENELOADER_MINIMAL_LOGGING

SCENELOADER_MINIMAL_LOGGING: number

Minimal logging while loading

Static Readonly SCENELOADER_NO_LOGGINGSearch playground for SCENELOADER_NO_LOGGING

SCENELOADER_NO_LOGGING: number

No logging while loading

Static Readonly SCENELOADER_SUMMARY_LOGGINGSearch playground for SCENELOADER_SUMMARY_LOGGING

SCENELOADER_SUMMARY_LOGGING: number

Summary logging while loading

Static Readonly TEXTUREFORMAT_ALPHASearch playground for TEXTUREFORMAT_ALPHA

TEXTUREFORMAT_ALPHA: number

ALPHA

Static Readonly TEXTUREFORMAT_BGRASearch playground for TEXTUREFORMAT_BGRA

TEXTUREFORMAT_BGRA: number

BGRA

Static Readonly TEXTUREFORMAT_COMPRESSED_RGBA_BPTC_UNORMSearch playground for TEXTUREFORMAT_COMPRESSED_RGBA_BPTC_UNORM

TEXTUREFORMAT_COMPRESSED_RGBA_BPTC_UNORM: number

Compressed BC7

Static Readonly TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT1Search playground for TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT1

TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT1: number

Compressed BC1

Static Readonly TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT3Search playground for TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT3

TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT3: number

Compressed BC2

Static Readonly TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT5Search playground for TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT5

TEXTUREFORMAT_COMPRESSED_RGBA_S3TC_DXT5: number

Compressed BC3

Static Readonly TEXTUREFORMAT_COMPRESSED_RGB_BPTC_SIGNED_FLOATSearch playground for TEXTUREFORMAT_COMPRESSED_RGB_BPTC_SIGNED_FLOAT

TEXTUREFORMAT_COMPRESSED_RGB_BPTC_SIGNED_FLOAT: number

Compressed BC6 signed float

Static Readonly TEXTUREFORMAT_COMPRESSED_RGB_BPTC_UNSIGNED_FLOATSearch playground for TEXTUREFORMAT_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT

TEXTUREFORMAT_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT: number

Compressed BC6 unsigned float

Static Readonly TEXTUREFORMAT_DEPTH24_STENCIL8Search playground for TEXTUREFORMAT_DEPTH24_STENCIL8

TEXTUREFORMAT_DEPTH24_STENCIL8: number

Depth 24 bits + Stencil 8 bits

Static Readonly TEXTUREFORMAT_DEPTH32_FLOATSearch playground for TEXTUREFORMAT_DEPTH32_FLOAT

TEXTUREFORMAT_DEPTH32_FLOAT: number

Depth 32 bits float

Static Readonly TEXTUREFORMAT_LUMINANCESearch playground for TEXTUREFORMAT_LUMINANCE

TEXTUREFORMAT_LUMINANCE: number

LUMINANCE

Static Readonly TEXTUREFORMAT_LUMINANCE_ALPHASearch playground for TEXTUREFORMAT_LUMINANCE_ALPHA

TEXTUREFORMAT_LUMINANCE_ALPHA: number

LUMINANCE_ALPHA

Static Readonly TEXTUREFORMAT_RSearch playground for TEXTUREFORMAT_R

TEXTUREFORMAT_R: number

RED (2nd reference)

Static Readonly TEXTUREFORMAT_REDSearch playground for TEXTUREFORMAT_RED

TEXTUREFORMAT_RED: number

RED

Static Readonly TEXTUREFORMAT_RED_INTEGERSearch playground for TEXTUREFORMAT_RED_INTEGER

TEXTUREFORMAT_RED_INTEGER: number

RED_INTEGER

Static Readonly TEXTUREFORMAT_RGSearch playground for TEXTUREFORMAT_RG

TEXTUREFORMAT_RG: number

RG

Static Readonly TEXTUREFORMAT_RGBSearch playground for TEXTUREFORMAT_RGB

TEXTUREFORMAT_RGB: number

RGB

Static Readonly TEXTUREFORMAT_RGBASearch playground for TEXTUREFORMAT_RGBA

TEXTUREFORMAT_RGBA: number

RGBA

Static Readonly TEXTUREFORMAT_RGBA_INTEGERSearch playground for TEXTUREFORMAT_RGBA_INTEGER

TEXTUREFORMAT_RGBA_INTEGER: number

RGBA_INTEGER

Static Readonly TEXTUREFORMAT_RGB_INTEGERSearch playground for TEXTUREFORMAT_RGB_INTEGER

TEXTUREFORMAT_RGB_INTEGER: number

RGB_INTEGER

Static Readonly TEXTUREFORMAT_RG_INTEGERSearch playground for TEXTUREFORMAT_RG_INTEGER

TEXTUREFORMAT_RG_INTEGER: number

RG_INTEGER

Static Readonly TEXTUREFORMAT_R_INTEGERSearch playground for TEXTUREFORMAT_R_INTEGER

TEXTUREFORMAT_R_INTEGER: number

RED_INTEGER (2nd reference)

Static Readonly TEXTURETYPE_BYTESearch playground for TEXTURETYPE_BYTE

TEXTURETYPE_BYTE: number

BYTE

Static Readonly TEXTURETYPE_FLOATSearch playground for TEXTURETYPE_FLOAT

TEXTURETYPE_FLOAT: number

FLOAT

Static Readonly TEXTURETYPE_FLOAT_32_UNSIGNED_INT_24_8_REVSearch playground for TEXTURETYPE_FLOAT_32_UNSIGNED_INT_24_8_REV

TEXTURETYPE_FLOAT_32_UNSIGNED_INT_24_8_REV: number

FLOAT_32_UNSIGNED_INT_24_8_REV

Static Readonly TEXTURETYPE_HALF_FLOATSearch playground for TEXTURETYPE_HALF_FLOAT

TEXTURETYPE_HALF_FLOAT: number

HALF_FLOAT

Static Readonly TEXTURETYPE_INTSearch playground for TEXTURETYPE_INT

TEXTURETYPE_INT: number

INT

Static Readonly TEXTURETYPE_SHORTSearch playground for TEXTURETYPE_SHORT

TEXTURETYPE_SHORT: number

SHORT

Static Readonly TEXTURETYPE_UNSIGNED_BYTESearch playground for TEXTURETYPE_UNSIGNED_BYTE

TEXTURETYPE_UNSIGNED_BYTE: number

UNSIGNED_BYTE

Static Readonly TEXTURETYPE_UNSIGNED_INTSearch playground for TEXTURETYPE_UNSIGNED_INT

TEXTURETYPE_UNSIGNED_INT: number

UNSIGNED_BYTE (2nd reference)

Static Readonly TEXTURETYPE_UNSIGNED_INTEGERSearch playground for TEXTURETYPE_UNSIGNED_INTEGER

TEXTURETYPE_UNSIGNED_INTEGER: number

UNSIGNED_INT

Static Readonly TEXTURETYPE_UNSIGNED_INT_10F_11F_11F_REVSearch playground for TEXTURETYPE_UNSIGNED_INT_10F_11F_11F_REV

TEXTURETYPE_UNSIGNED_INT_10F_11F_11F_REV: number

UNSIGNED_INT_10F_11F_11F_REV

Static Readonly TEXTURETYPE_UNSIGNED_INT_24_8Search playground for TEXTURETYPE_UNSIGNED_INT_24_8

TEXTURETYPE_UNSIGNED_INT_24_8: number

UNSIGNED_INT_24_8

Static Readonly TEXTURETYPE_UNSIGNED_INT_2_10_10_10_REVSearch playground for TEXTURETYPE_UNSIGNED_INT_2_10_10_10_REV

TEXTURETYPE_UNSIGNED_INT_2_10_10_10_REV: number

UNSIGNED_INT_2_10_10_10_REV

Static Readonly TEXTURETYPE_UNSIGNED_INT_5_9_9_9_REVSearch playground for TEXTURETYPE_UNSIGNED_INT_5_9_9_9_REV

TEXTURETYPE_UNSIGNED_INT_5_9_9_9_REV: number

UNSIGNED_INT_5_9_9_9_REV

Static Readonly TEXTURETYPE_UNSIGNED_SHORTSearch playground for TEXTURETYPE_UNSIGNED_SHORT

TEXTURETYPE_UNSIGNED_SHORT: number

UNSIGNED_SHORT

Static Readonly TEXTURETYPE_UNSIGNED_SHORT_4_4_4_4Search playground for TEXTURETYPE_UNSIGNED_SHORT_4_4_4_4

TEXTURETYPE_UNSIGNED_SHORT_4_4_4_4: number

UNSIGNED_SHORT_4_4_4_4

Static Readonly TEXTURETYPE_UNSIGNED_SHORT_5_5_5_1Search playground for TEXTURETYPE_UNSIGNED_SHORT_5_5_5_1

TEXTURETYPE_UNSIGNED_SHORT_5_5_5_1: number

UNSIGNED_SHORT_5_5_5_1

Static Readonly TEXTURETYPE_UNSIGNED_SHORT_5_6_5Search playground for TEXTURETYPE_UNSIGNED_SHORT_5_6_5

TEXTURETYPE_UNSIGNED_SHORT_5_6_5: number

UNSIGNED_SHORT_5_6_5

Static Readonly TEXTURE_BILINEAR_SAMPLINGMODESearch playground for TEXTURE_BILINEAR_SAMPLINGMODE

TEXTURE_BILINEAR_SAMPLINGMODE: number

Bilinear is mag = linear and min = linear and no mip

Static Readonly TEXTURE_CLAMP_ADDRESSMODESearch playground for TEXTURE_CLAMP_ADDRESSMODE

TEXTURE_CLAMP_ADDRESSMODE: number

Texture is not repeating outside of 0..1 UVs

Static Readonly TEXTURE_CUBIC_MODESearch playground for TEXTURE_CUBIC_MODE

TEXTURE_CUBIC_MODE: number

Cubic coordinates mode

Static Readonly TEXTURE_EQUIRECTANGULAR_MODESearch playground for TEXTURE_EQUIRECTANGULAR_MODE

TEXTURE_EQUIRECTANGULAR_MODE: number

Equirectangular coordinates mode

Static Readonly TEXTURE_EXPLICIT_MODESearch playground for TEXTURE_EXPLICIT_MODE

TEXTURE_EXPLICIT_MODE: number

Explicit coordinates mode

Static Readonly TEXTURE_FILTERING_QUALITY_HIGHSearch playground for TEXTURE_FILTERING_QUALITY_HIGH

TEXTURE_FILTERING_QUALITY_HIGH: number

High quality for texture filtering

Static Readonly TEXTURE_FILTERING_QUALITY_LOWSearch playground for TEXTURE_FILTERING_QUALITY_LOW

TEXTURE_FILTERING_QUALITY_LOW: number

Low quality for texture filtering

Static Readonly TEXTURE_FILTERING_QUALITY_MEDIUMSearch playground for TEXTURE_FILTERING_QUALITY_MEDIUM

TEXTURE_FILTERING_QUALITY_MEDIUM: number

Medium quality for texture filtering

Static Readonly TEXTURE_FILTERING_QUALITY_OFFLINESearch playground for TEXTURE_FILTERING_QUALITY_OFFLINE

TEXTURE_FILTERING_QUALITY_OFFLINE: number

Offline (baking) quality for texture filtering

Static Readonly TEXTURE_FIXED_EQUIRECTANGULAR_MIRRORED_MODESearch playground for TEXTURE_FIXED_EQUIRECTANGULAR_MIRRORED_MODE

TEXTURE_FIXED_EQUIRECTANGULAR_MIRRORED_MODE: number

Equirectangular Fixed Mirrored coordinates mode

Static Readonly TEXTURE_FIXED_EQUIRECTANGULAR_MODESearch playground for TEXTURE_FIXED_EQUIRECTANGULAR_MODE

TEXTURE_FIXED_EQUIRECTANGULAR_MODE: number

Equirectangular Fixed coordinates mode

Static Readonly TEXTURE_INVCUBIC_MODESearch playground for TEXTURE_INVCUBIC_MODE

TEXTURE_INVCUBIC_MODE: number

Inverse Cubic coordinates mode

Static Readonly TEXTURE_LINEAR_LINEARSearch playground for TEXTURE_LINEAR_LINEAR

TEXTURE_LINEAR_LINEAR: number

mag = linear and min = linear and mip = none

Static Readonly TEXTURE_LINEAR_LINEAR_MIPLINEARSearch playground for TEXTURE_LINEAR_LINEAR_MIPLINEAR

TEXTURE_LINEAR_LINEAR_MIPLINEAR: number

Trilinear is mag = linear and min = linear and mip = linear

Static Readonly TEXTURE_LINEAR_LINEAR_MIPNEARESTSearch playground for TEXTURE_LINEAR_LINEAR_MIPNEAREST

TEXTURE_LINEAR_LINEAR_MIPNEAREST: number

Bilinear is mag = linear and min = linear and mip = nearest

Static Readonly TEXTURE_LINEAR_NEARESTSearch playground for TEXTURE_LINEAR_NEAREST

TEXTURE_LINEAR_NEAREST: number

mag = linear and min = nearest and mip = none

Static Readonly TEXTURE_LINEAR_NEAREST_MIPLINEARSearch playground for TEXTURE_LINEAR_NEAREST_MIPLINEAR

TEXTURE_LINEAR_NEAREST_MIPLINEAR: number

mag = linear and min = nearest and mip = linear

Static Readonly TEXTURE_LINEAR_NEAREST_MIPNEARESTSearch playground for TEXTURE_LINEAR_NEAREST_MIPNEAREST

TEXTURE_LINEAR_NEAREST_MIPNEAREST: number

mag = linear and min = nearest and mip = nearest

Static Readonly TEXTURE_MIRROR_ADDRESSMODESearch playground for TEXTURE_MIRROR_ADDRESSMODE

TEXTURE_MIRROR_ADDRESSMODE: number

Texture is repeating and mirrored

Static Readonly TEXTURE_NEAREST_LINEARSearch playground for TEXTURE_NEAREST_LINEAR

TEXTURE_NEAREST_LINEAR: number

mag = nearest and min = linear and mip = none

Static Readonly TEXTURE_NEAREST_LINEAR_MIPLINEARSearch playground for TEXTURE_NEAREST_LINEAR_MIPLINEAR

TEXTURE_NEAREST_LINEAR_MIPLINEAR: number

mag = nearest and min = linear and mip = linear

Static Readonly TEXTURE_NEAREST_LINEAR_MIPNEARESTSearch playground for TEXTURE_NEAREST_LINEAR_MIPNEAREST

TEXTURE_NEAREST_LINEAR_MIPNEAREST: number

mag = nearest and min = linear and mip = nearest

Static Readonly TEXTURE_NEAREST_NEARESTSearch playground for TEXTURE_NEAREST_NEAREST

TEXTURE_NEAREST_NEAREST: number

mag = nearest and min = nearest and mip = none

Static Readonly TEXTURE_NEAREST_NEAREST_MIPLINEARSearch playground for TEXTURE_NEAREST_NEAREST_MIPLINEAR

TEXTURE_NEAREST_NEAREST_MIPLINEAR: number

nearest is mag = nearest and min = nearest and mip = linear

Static Readonly TEXTURE_NEAREST_NEAREST_MIPNEARESTSearch playground for TEXTURE_NEAREST_NEAREST_MIPNEAREST

TEXTURE_NEAREST_NEAREST_MIPNEAREST: number

mag = nearest and min = nearest and mip = nearest

Static Readonly TEXTURE_NEAREST_SAMPLINGMODESearch playground for TEXTURE_NEAREST_SAMPLINGMODE

TEXTURE_NEAREST_SAMPLINGMODE: number

nearest is mag = nearest and min = nearest and no mip

Static Readonly TEXTURE_PLANAR_MODESearch playground for TEXTURE_PLANAR_MODE

TEXTURE_PLANAR_MODE: number

Planar coordinates mode

Static Readonly TEXTURE_PROJECTION_MODESearch playground for TEXTURE_PROJECTION_MODE

TEXTURE_PROJECTION_MODE: number

Projection coordinates mode

Static Readonly TEXTURE_SKYBOX_MODESearch playground for TEXTURE_SKYBOX_MODE

TEXTURE_SKYBOX_MODE: number

Skybox coordinates mode

Static Readonly TEXTURE_SPHERICAL_MODESearch playground for TEXTURE_SPHERICAL_MODE

TEXTURE_SPHERICAL_MODE: number

Spherical coordinates mode

Static Readonly TEXTURE_TRILINEAR_SAMPLINGMODESearch playground for TEXTURE_TRILINEAR_SAMPLINGMODE

TEXTURE_TRILINEAR_SAMPLINGMODE: number

Trilinear is mag = linear and min = linear and mip = linear

Static Readonly TEXTURE_WRAP_ADDRESSMODESearch playground for TEXTURE_WRAP_ADDRESSMODE

TEXTURE_WRAP_ADDRESSMODE: number

Texture is repeating outside of 0..1 UVs

Static Readonly ZEROSearch playground for ZERO

ZERO: number

Passed to stencilOperation to specify that stencil value must be zero

Legend

  • Constructor
  • Property
  • Method
  • Property
  • Method
  • Inherited property
  • Inherited method
  • Static property
  • Static method