NullEngine class

class NullEngine

Inheritance
Annotations
  • @JS()

Constructors

NullEngine([NullEngineOptions options])

Properties

activeView EngineView
getter/setter pairinherited
alphaState AlphaState
no setterinherited
bindBuffer ↔ dynamic
getter/setter pairinherited
canvasTabIndex num
getter/setter pairinherited
cullBackFaces bool
getter/setter pairinherited
currentViewport IViewportLike
no setterinherited
customAnimationFrameRequester ICustomAnimationFrameRequester
getter/setter pairinherited
depthCullingState DepthCullingState
no setterinherited
description String
no setterinherited
disableManifestCheck bool
getter/setter pairinherited
disablePerformanceMonitorInBackground bool
getter/setter pairinherited
disableUniformBuffers bool
getter/setter pairinherited
disableVertexArrayObjects bool
getter/setter pairinherited
doNotHandleContextLost bool
getter/setter pairinherited
emptyCubeTexture InternalTexture
no setterinherited
emptyTexture InternalTexture
no setterinherited
emptyTexture2DArray InternalTexture
no setterinherited
emptyTexture3D InternalTexture
no setterinherited
enableOfflineSupport bool
getter/setter pairinherited
enableUnpackFlipYCached bool
getter/setter pairinherited
forcePOTTextures bool
getter/setter pairinherited
hashCode int
The hash code for this object.
no setterinherited
HasMajorPerformanceCaveat bool
no setterinherited
hostInformation HostInformation
getter/setter pairinherited
inputElement HtmlElement
getter/setter pairinherited
Instances List<Engine>
no setterinherited
isFullscreen bool
getter/setter pairinherited
isInVRExclusivePointerMode bool
getter/setter pairinherited
isPointerLock bool
getter/setter pairinherited
isStencilEnable bool
no setterinherited
IsSupported bool
no setterinherited
LastCreatedEngine Engine
no setterinherited
LastCreatedScene Scene
no setterinherited
loadingScreen ILoadingScreen
getter/setter pairinherited
loadingUIBackgroundColor String
no getterinherited
loadingUIText String
no getterinherited
needPOTTextures bool
no setterinherited
NpmPackage String
no setterinherited
onAfterShaderCompilationObservable Observable<Engine>
getter/setter pairinherited
onBeforeShaderCompilationObservable Observable<Engine>
getter/setter pairinherited
onBeforeTextureInitObservable Observable<Texture>
getter/setter pairinherited
onBeginFrameObservable Observable<Engine>
getter/setter pairinherited
onCanvasBlurObservable Observable<Engine>
getter/setter pairinherited
onCanvasFocusObservable Observable<Engine>
getter/setter pairinherited
onCanvasPointerOutObservable Observable<PointerEvent>
getter/setter pairinherited
onContextLostObservable Observable<ThinEngine>
getter/setter pairinherited
onContextRestoredObservable Observable<ThinEngine>
getter/setter pairinherited
onEndFrameObservable Observable<Engine>
getter/setter pairinherited
onNewSceneAddedObservable Observable<Scene>
getter/setter pairinherited
onResizeObservable Observable<Engine>
getter/setter pairinherited
onVRDisplayChangedObservable Observable<IDisplayChangedEventArgs>
getter/setter pairinherited
onVRRequestPresentComplete Observable<bool>
getter/setter pairinherited
onVRRequestPresentStart Observable<Engine>
getter/setter pairinherited
performanceMonitor PerformanceMonitor
no setterinherited
postProcesses List<PostProcess>
getter/setter pairinherited
premultipliedAlpha bool
no setterinherited
preventCacheWipeBetweenFrames bool
getter/setter pairinherited
renderEvenInBackground bool
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
scenes List<Scene>
getter/setter pairinherited
ShadersRepository String
getter/setter pairinherited
stencilState StencilState
no setterinherited
supportsUniformBuffers bool
no setterinherited
textureFormatInUse String
getter/setter pairinherited
texturesSupported List<String>
getter/setter pairinherited
useReverseDepthBuffer bool
getter/setter pairinherited
validateShaderPrograms bool
getter/setter pairinherited
Version String
no setterinherited
views List<EngineView>
getter/setter pairinherited
vrPresentationAttributes IVRPresentationAttributes
getter/setter pairinherited
webGLVersion num
no setterinherited

Methods

applyStates() → void
inherited
areAllEffectsReady() bool
override
beginFrame() → void
inherited
beginOcclusionQuery(num algorithmType, Query query) Engine
inherited
beginTransformFeedback(bool usePoints) → void
inherited
bindArrayBuffer(DataBuffer buffer) → void
inherited
bindAttachments(List<num> attachments) → void
inherited
bindBuffers(dynamic vertexBuffers, DataBuffer indexBuffer, Effect effect) → void
override
bindBuffersDirectly(DataBuffer vertexBuffer, DataBuffer indexBuffer, List<num> vertexDeclaration, num vertexStrideSize, Effect effect) → void
inherited
bindFramebuffer(InternalTexture texture, [num faceIndex, num requiredWidth, num requiredHeight, bool forceFullscreenViewport, num lodLevel, num layer]) → void
override
bindInstancesBuffer(DataBuffer instancesBuffer, List<InstancingAttributeInfo> attributesInfo, [bool computeStride]) → void
inherited
bindMultiviewFramebuffer(InternalTexture multiviewTexture) → void
inherited
bindSamplers(Effect effect) → void
override
bindTransformFeedback(TransformFeedback value) → void
inherited
bindTransformFeedbackBuffer(DataBuffer value) → void
inherited
bindUniformBlock(IPipelineContext pipelineContext, String blockName, num index) → void
inherited
bindUniformBuffer(DataBuffer buffer) → void
inherited
bindUniformBufferBase(DataBuffer buffer, num location) → void
inherited
bindVertexArrayObject(VertexArrayObject vertexArrayObject, DataBuffer indexBuffer) → void
inherited
buildTextureLayout(List<bool> textureStatus) List<num>
inherited
cacheStencilState() → void
inherited
clear(IColor4Like color, bool backBuffer, bool depth, [bool stencil]) → void
override
clearInternalTexturesCache() → void
inherited
createCubeTexture(String rootUrl, Scene scene, List<String> files, dynamic noMipmap, void onLoad(dynamic data), void onError(String message, dynamic exception), dynamic format, dynamic forcedExtension, bool createPolynomials, num lodScale, num lodOffset, InternalTexture fallback, dynamic loaderOptions) InternalTexture
inherited
createDepthStencilTexture(RenderTargetTextureSize size, DepthTextureCreationOptions options) InternalTexture
inherited
createDynamicTexture(num width, num height, bool generateMipMaps, num samplingMode) InternalTexture
inherited
createDynamicUniformBuffer(Float32List elements) DataBuffer
inherited
createDynamicVertexBuffer(ByteBuffer data) DataBuffer
override
createEffect(dynamic baseName, dynamic attributesNamesOrOptions, dynamic uniformsNamesOrEngine, [List<String> samplers, String defines, IEffectFallbacks fallbacks, void onCompiled(Effect effect), void onError(Effect effect, String errors), dynamic indexParameters]) Effect
inherited
createEffectForParticles(String fragmentName, List<String> uniformsNames, List<String> samplers, String defines, [EffectFallbacks fallbacks, void onCompiled(Effect effect), void onError(Effect effect, String errors), IParticleSystem particleSystem]) Effect
inherited
createIndexBuffer(Int32List indices, [bool updatable]) DataBuffer
override
createInstancesBuffer(num capacity) DataBuffer
inherited
createMultipleRenderTarget(dynamic size, IMultiRenderTargetOptions options) List<InternalTexture>
inherited
createMultiviewRenderTargetTexture(num width, num height) InternalTexture
inherited
createPipelineContext() IPipelineContext
inherited
createPrefilteredCubeTexture(String rootUrl, Scene scene, num lodScale, num lodOffset, [void onLoad(InternalTexture internalTexture), void onError(String message, dynamic exception), num format, dynamic forcedExtension, bool createPolynomials]) InternalTexture
inherited
createQuery() Query
inherited
createRawCubeTexture(List<List> data, num size, num format, num type, bool generateMipMaps, bool invertY, num samplingMode, String compression) InternalTexture
inherited
createRawShaderProgram(IPipelineContext pipelineContext, String vertexCode, String fragmentCode, [RenderingContext context, List<String> transformFeedbackVaryings]) Program
inherited
createRawTexture(List data, num width, num height, num format, bool generateMipMaps, bool invertY, num samplingMode, String compression, num type) InternalTexture
inherited
createRawTexture2DArray(List data, num width, num height, num depth, num format, bool generateMipMaps, bool invertY, num samplingMode, String compression, num textureType) InternalTexture
inherited
createRawTexture3D(List data, num width, num height, num depth, num format, bool generateMipMaps, bool invertY, num samplingMode, String compression, num textureType) InternalTexture
inherited
createRenderTargetCubeTexture(num size, [RenderTargetCreationOptions options]) InternalTexture
inherited
createRenderTargetTexture(dynamic size, dynamic options) InternalTexture
override
createShaderProgram(IPipelineContext pipelineContext, String vertexCode, String fragmentCode, String defines, [RenderingContext context, List<String> transformFeedbackVaryings]) Program
override
createTexture(String url, bool noMipmap, bool invertY, ISceneLike scene, [num samplingMode, void onLoad(), void onError(String message, dynamic exception), dynamic buffer, InternalTexture fallback, num format, String forcedExtension, String mimeType, dynamic loaderOptions]) InternalTexture
override
createTransformFeedback() TransformFeedback
inherited
createUniformBuffer(Float32List elements) DataBuffer
inherited
createVertexBuffer(ByteBuffer data) DataBuffer
override
deleteInstancesBuffer(Buffer buffer) → void
inherited
deleteQuery(Query query) Engine
inherited
deleteTransformFeedback(TransformFeedback value) → void
inherited
disableAttributeByIndex(num attributeLocation) → void
inherited
disableInstanceAttribute(num attributeLocation) → void
inherited
disableInstanceAttributeByName(String name) → void
inherited
disableScissor() → void
inherited
disableVR() → void
inherited
displayLoadingUI() → void
override
dispose() → void
inherited
draw(bool useTriangles, num indexStart, num indexCount, [num instancesCount]) → void
override
drawArraysType(num fillMode, num verticesStart, num verticesCount, [num instancesCount]) → void
override
drawElementsType(num fillMode, num indexStart, num indexCount, [num instancesCount]) → void
override
drawPointClouds(num verticesStart, num verticesCount, [num instancesCount]) → void
inherited
drawUnIndexed(bool useTriangles, num verticesStart, num verticesCount, [num instancesCount]) → void
inherited
enableEffect(Effect effect) → void
override
enableScissor(num x, num y, num width, num height) → void
inherited
enableVR(WebVROptions options) → void
inherited
endFrame() → void
inherited
endOcclusionQuery(num algorithmType) Engine
inherited
endTransformFeedback() → void
inherited
enterFullscreen(bool requestPointerLock) → void
inherited
enterPointerlock() → void
inherited
exitFullscreen() → void
inherited
exitPointerlock() → void
inherited
flushFramebuffer() → void
inherited
generateMipMapsForCubemap(InternalTexture texture, [bool unbind]) → void
inherited
getAlphaEquation() num
inherited
getAlphaMode() num
inherited
getAspectRatio(IViewportOwnerLike viewportOwner, [bool useScreen]) num
inherited
getAttributes(IPipelineContext pipelineContext, List<String> attributesNames) List<num>
override
getCaps() EngineCapabilities
inherited
getClassName() String
inherited
getColorWrite() bool
inherited
getDeltaTime() num
inherited
getDepthFunction() num
inherited
getDepthWrite() bool
inherited
getError() num
override
getFps() num
inherited
getFragmentShaderSource(Program program) String
inherited
getHardwareScalingLevel() num
override
getHostDocument() Document
inherited
getHostWindow() Window
inherited
getInputElement() HtmlElement
inherited
getInputElementClientRect() Rectangle<num>
inherited
getLoadedTexturesCache() List<InternalTexture>
inherited
getLockstepMaxSteps() num
override
getQueryResult(Query query) num
inherited
getRenderHeight([bool useScreen]) num
override
getRenderingCanvas() CanvasElement
inherited
getRenderingCanvasClientRect() Rectangle<num>
inherited
getRenderWidth([bool useScreen]) num
override
getScreenAspectRatio() num
inherited
getStencilBuffer() bool
inherited
getStencilFunction() num
inherited
getStencilFunctionMask() num
inherited
getStencilFunctionReference() num
inherited
getStencilMask() num
inherited
getStencilOperationDepthFail() num
inherited
getStencilOperationFail() num
inherited
getStencilOperationPass() num
inherited
getTimeStep() num
inherited
getUniforms(IPipelineContext pipelineContext, List<String> uniformsNames) List<UniformLocation>
override
getVertexShaderSource(Program program) String
inherited
getVRDevice() → dynamic
inherited
getZOffset() num
inherited
hideLoadingUI() → void
override
initWebVR() Observable<IDisplayChangedEventArgs>
inherited
initWebVRAsync() Promise<IDisplayChangedEventArgs>
inherited
isDeterministicLockStep() bool
override
isQueryResultAvailable(Query query) bool
inherited
isVRDevicePresent() bool
inherited
isVRPresenting() bool
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
readPixels(num x, num y, num width, num height, [bool hasAlpha]) Uint8List
inherited
recordVertexArrayObject(dynamic vertexBuffers, DataBuffer indexBuffer, Effect effect) VertexArrayObject
inherited
registerView(CanvasElement canvas, [Camera camera]) EngineView
inherited
releaseEffects() → void
override
releaseVertexArrayObject(VertexArrayObject vao) → void
inherited
resetTextureCache() → void
inherited
resize() → void
inherited
restoreDefaultFramebuffer() → void
inherited
restoreSingleAttachment() → void
inherited
restoreStencilState() → void
inherited
runRenderLoop(void renderFunction()) → void
inherited
scissorClear(num x, num y, num width, num height, IColor4Like clearColor) → void
inherited
setAlphaConstants(num r, num g, num b, num a) → void
inherited
setAlphaEquation(num equation) → void
inherited
setAlphaMode(num mode, [bool noDepthWriteChange]) → void
override
setArray(UniformLocation uniform, dynamic array) bool
override
setArray2(UniformLocation uniform, dynamic array) bool
override
setArray3(UniformLocation uniform, dynamic array) bool
override
setArray4(UniformLocation uniform, dynamic array) bool
override
setBool(UniformLocation uniform, num bool) bool
setColorWrite(bool enable) → void
inherited
setCompressedTextureExclusions(List<String> skippedFiles) → void
inherited
setDepthBuffer(bool enable) → void
inherited
setDepthFunction(num depthFunc) → void
inherited
setDepthFunctionToGreater() → void
inherited
setDepthFunctionToGreaterOrEqual() → void
inherited
setDepthFunctionToLess() → void
inherited
setDepthFunctionToLessOrEqual() → void
inherited
setDepthStencilTexture(num channel, UniformLocation uniform, RenderTargetTexture texture) → void
inherited
setDepthWrite(bool enable) → void
inherited
setDirectViewport(num x, num y, num width, num height) IViewportLike
inherited
setDitheringState(bool value) → void
inherited
setFloat(UniformLocation uniform, num value) bool
override
setFloat2(UniformLocation uniform, num x, num y) bool
override
setFloat3(UniformLocation uniform, num x, num y, num z) bool
override
setFloat4(UniformLocation uniform, num x, num y, num z, num w) bool
override
setFloatArray(UniformLocation uniform, Float32List array) bool
setFloatArray2(UniformLocation uniform, Float32List array) bool
setFloatArray3(UniformLocation uniform, Float32List array) bool
setFloatArray4(UniformLocation uniform, Float32List array) bool
setHardwareScalingLevel(num level) → void
inherited
setInt(UniformLocation uniform, num value) bool
inherited
setIntArray(UniformLocation uniform, Int32List array) bool
override
setIntArray2(UniformLocation uniform, Int32List array) bool
override
setIntArray3(UniformLocation uniform, Int32List array) bool
override
setIntArray4(UniformLocation uniform, Int32List array) bool
override
setMatrices(UniformLocation uniform, Float32List matrices) bool
override
setMatrix2x2(UniformLocation uniform, Float32List matrix) bool
override
setMatrix3x3(UniformLocation uniform, Float32List matrix) bool
override
setRasterizerState(bool value) → void
inherited
setSize(num width, num height) bool
inherited
setState(bool culling, [num zOffset, bool force, bool reverseSide]) → void
override
setStencilBuffer(bool enable) → void
inherited
setStencilFunction(num stencilFunc) → void
inherited
setStencilFunctionMask(num mask) → void
inherited
setStencilFunctionReference(num reference) → void
inherited
setStencilMask(num mask) → void
inherited
setStencilOperationDepthFail(num operation) → void
inherited
setStencilOperationFail(num operation) → void
inherited
setStencilOperationPass(num operation) → void
inherited
setTexture(num channel, UniformLocation uniform, ThinTexture texture) → void
inherited
setTextureArray(num channel, UniformLocation uniform, List<ThinTexture> textures) → void
inherited
setTextureFormatToUse(List<String> formatsAvailable) String
inherited
setTextureFromPostProcess(num channel, PostProcess postProcess) → void
inherited
setTextureFromPostProcessOutput(num channel, PostProcess postProcess) → void
inherited
setTranformFeedbackVaryings(Program program, List<String> value) → void
inherited
setViewport(IViewportLike viewport, [num requiredWidth, num requiredHeight]) → void
override
setZOffset(num value) → void
inherited
stopRenderLoop([void renderFunction()]) → void
inherited
switchFullscreen(bool requestPointerLock) → void
inherited
toString() String
A string representation of this object.
inherited
unbindAllAttributes() → void
inherited
unbindAllTextures() → void
inherited
unBindFramebuffer(InternalTexture texture, [bool disableGenerateMipMaps, void onBeforeUnbind()]) → void
override
unbindInstanceAttributes() → void
inherited
unBindMultiColorAttachmentFramebuffer(List<InternalTexture> textures, bool disableGenerateMipMaps, [void onBeforeUnbind()]) → void
inherited
unRegisterView(CanvasElement canvas) Engine
inherited
updateAndBindInstancesBuffer(DataBuffer instancesBuffer, Float32List data, dynamic offsetLocations) → void
inherited
updateArrayBuffer(Float32List data) → void
inherited
updateDynamicIndexBuffer(DataBuffer indexBuffer, Int32List indices, [num offset]) → void
inherited
updateDynamicTexture(InternalTexture texture, dynamic source, [bool invertY, bool premulAlpha, num format, bool forceBindTexture]) → void
inherited
updateDynamicVertexBuffer(DataBuffer vertexBuffer, ByteBuffer data, [num byteOffset, num byteLength]) → void
inherited
updateMultipleRenderTargetTextureSampleCount(List<InternalTexture> textures, num samples) num
inherited
updateRawCubeTexture(InternalTexture texture, List<List> data, num format, num type, bool invertY) → void
inherited
updateRawTexture(InternalTexture texture, List data, num format, bool invertY) → void
inherited
updateRawTexture2DArray(InternalTexture texture, List data, num format, bool invertY) → void
inherited
updateRawTexture3D(InternalTexture texture, List data, num format, bool invertY) → void
inherited
updateRenderTargetTextureSampleCount(InternalTexture texture, num samples) num
inherited
updateTextureComparisonFunction(InternalTexture texture, num comparisonFunction) → void
inherited
updateTextureData(InternalTexture texture, List imageData, num xOffset, num yOffset, num width, num height, [num faceIndex, num lod]) → void
inherited
updateTextureSamplingMode(num samplingMode, InternalTexture texture, [bool generateMipMaps]) → void
override
updateTextureWrappingMode(InternalTexture texture, num wrapU, [num wrapV, num wrapR]) → void
inherited
updateUniformBuffer(DataBuffer uniformBuffer, Float32List elements, [num offset, num count]) → void
inherited
updateVideoTexture(InternalTexture texture, VideoElement video, bool invertY) → void
inherited
wipeCaches([bool bruteForce]) → void
override

Operators

operator ==(Object other) bool
The equality operator.
inherited