How to use the @awayjs/renderer/lib/RendererBase.RendererBase.registerAbstraction function in @awayjs/renderer

To help you get started, we’ve selected a few @awayjs/renderer examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github awayjs / awayjs-full / ts / index.ts View on Github external
base.Stage.registerAbstraction(GL_Sampler2D, image.Sampler2D);
base.Stage.registerAbstraction(GL_SamplerCube, image.SamplerCube);

SurfacePool.registerAbstraction(GL_BasicMaterialSurface, materials.BasicMaterial);
SurfacePool.registerAbstraction(GL_MethodMaterialSurface, materials.MethodMaterial);
SurfacePool.registerAbstraction(GL_SkyboxSurface, display.Skybox);

Stage.registerAbstraction(GL_LineElements, graphics.LineElements);
Stage.registerAbstraction(GL_TriangleElements, graphics.TriangleElements);

ShaderBase.registerAbstraction(GL_Single2DTexture, textures.Single2DTexture);
ShaderBase.registerAbstraction(GL_SingleCubeTexture, textures.SingleCubeTexture);

RendererBase.registerAbstraction(GL_BillboardRenderable, display.Billboard);
RendererBase.registerAbstraction(GL_LineSegmentRenderable, display.LineSegment);
RendererBase.registerAbstraction(GL_GraphicRenderable, graphics.Graphic);
RendererBase.registerAbstraction(GL_SkyboxRenderable, display.Skybox);

export * from "./lib/adapters";
export * from "./lib/animators";
export * from "./lib/attributes";
export * from "./lib/base";
export * from "./lib/bounds";
export * from "./lib/controllers";
export * from "./lib/display";
export * from "./lib/draw";
export * from "./lib/errors";
export * from "./lib/events";
export * from "./lib/filters";
export * from "./lib/geom";
export * from "./lib/graphics";
export * from "./lib/image";
github awayjs / awayjs-full / ts / index.ts View on Github external
base.Stage.registerAbstraction(GL_BitmapImageCube, image.BitmapImageCube);
base.Stage.registerAbstraction(GL_BitmapImage2D, image.SpecularImage2D);
base.Stage.registerAbstraction(GL_Sampler2D, image.Sampler2D);
base.Stage.registerAbstraction(GL_SamplerCube, image.SamplerCube);

SurfacePool.registerAbstraction(GL_BasicMaterialSurface, materials.BasicMaterial);
SurfacePool.registerAbstraction(GL_MethodMaterialSurface, materials.MethodMaterial);
SurfacePool.registerAbstraction(GL_SkyboxSurface, display.Skybox);

Stage.registerAbstraction(GL_LineElements, graphics.LineElements);
Stage.registerAbstraction(GL_TriangleElements, graphics.TriangleElements);

ShaderBase.registerAbstraction(GL_Single2DTexture, textures.Single2DTexture);
ShaderBase.registerAbstraction(GL_SingleCubeTexture, textures.SingleCubeTexture);

RendererBase.registerAbstraction(GL_BillboardRenderable, display.Billboard);
RendererBase.registerAbstraction(GL_LineSegmentRenderable, display.LineSegment);
RendererBase.registerAbstraction(GL_GraphicRenderable, graphics.Graphic);
RendererBase.registerAbstraction(GL_SkyboxRenderable, display.Skybox);

export * from "./lib/adapters";
export * from "./lib/animators";
export * from "./lib/attributes";
export * from "./lib/base";
export * from "./lib/bounds";
export * from "./lib/controllers";
export * from "./lib/display";
export * from "./lib/draw";
export * from "./lib/errors";
export * from "./lib/events";
export * from "./lib/filters";
export * from "./lib/geom";
github awayjs / awayjs-full / ts / index.ts View on Github external
base.Stage.registerAbstraction(GL_SamplerCube, image.SamplerCube);

SurfacePool.registerAbstraction(GL_BasicMaterialSurface, materials.BasicMaterial);
SurfacePool.registerAbstraction(GL_MethodMaterialSurface, materials.MethodMaterial);
SurfacePool.registerAbstraction(GL_SkyboxSurface, display.Skybox);

Stage.registerAbstraction(GL_LineElements, graphics.LineElements);
Stage.registerAbstraction(GL_TriangleElements, graphics.TriangleElements);

ShaderBase.registerAbstraction(GL_Single2DTexture, textures.Single2DTexture);
ShaderBase.registerAbstraction(GL_SingleCubeTexture, textures.SingleCubeTexture);

RendererBase.registerAbstraction(GL_BillboardRenderable, display.Billboard);
RendererBase.registerAbstraction(GL_LineSegmentRenderable, display.LineSegment);
RendererBase.registerAbstraction(GL_GraphicRenderable, graphics.Graphic);
RendererBase.registerAbstraction(GL_SkyboxRenderable, display.Skybox);

export * from "./lib/adapters";
export * from "./lib/animators";
export * from "./lib/attributes";
export * from "./lib/base";
export * from "./lib/bounds";
export * from "./lib/controllers";
export * from "./lib/display";
export * from "./lib/draw";
export * from "./lib/errors";
export * from "./lib/events";
export * from "./lib/filters";
export * from "./lib/geom";
export * from "./lib/graphics";
export * from "./lib/image";
export * from "./lib/library";
github awayjs / awayjs-full / ts / index.ts View on Github external
base.Stage.registerAbstraction(GL_BitmapImage2D, image.SpecularImage2D);
base.Stage.registerAbstraction(GL_Sampler2D, image.Sampler2D);
base.Stage.registerAbstraction(GL_SamplerCube, image.SamplerCube);

SurfacePool.registerAbstraction(GL_BasicMaterialSurface, materials.BasicMaterial);
SurfacePool.registerAbstraction(GL_MethodMaterialSurface, materials.MethodMaterial);
SurfacePool.registerAbstraction(GL_SkyboxSurface, display.Skybox);

Stage.registerAbstraction(GL_LineElements, graphics.LineElements);
Stage.registerAbstraction(GL_TriangleElements, graphics.TriangleElements);

ShaderBase.registerAbstraction(GL_Single2DTexture, textures.Single2DTexture);
ShaderBase.registerAbstraction(GL_SingleCubeTexture, textures.SingleCubeTexture);

RendererBase.registerAbstraction(GL_BillboardRenderable, display.Billboard);
RendererBase.registerAbstraction(GL_LineSegmentRenderable, display.LineSegment);
RendererBase.registerAbstraction(GL_GraphicRenderable, graphics.Graphic);
RendererBase.registerAbstraction(GL_SkyboxRenderable, display.Skybox);

export * from "./lib/adapters";
export * from "./lib/animators";
export * from "./lib/attributes";
export * from "./lib/base";
export * from "./lib/bounds";
export * from "./lib/controllers";
export * from "./lib/display";
export * from "./lib/draw";
export * from "./lib/errors";
export * from "./lib/events";
export * from "./lib/filters";
export * from "./lib/geom";
export * from "./lib/graphics";