AdapterInterface interface

The interface for implementing an adapter.

Signature:

interface AdapterInterface 

Remarks

The Core3D SDK is powered by adapters. This keeps it flexible and makes it usable in a variety of environments. We primarily focus on the browser and Node.js, but it's possible to build a custom adapter to support a custom environment.

Methods

Method

Description

createElement(tag)

Create a canvas element.

createElement(tag)

Create an img element.

createGl(props)

Create a WebGL rendering context.

createMaterial(options)

Create a material.

createModel(data)

Create a model.

createScene(options)

Create a scene.

dispose()

Dispose of this adapter and its internal resources.

getDocument()

Get the Document from the DOM implementation.

Get in touch

We'd love to learn more about your vision and how we can help.

PressPrivacyTermsSupportCopyright © 2024 Core3D, Inc. All Rights Reserved.