Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deprecate gltf 1.0 modules #12648

Merged
merged 2 commits into from
Jun 14, 2022
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/dev/loaders/src/glTF/1.0/glTFBinaryExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,10 @@ interface IGLTFBinaryExtensionImage {
width: number;
}

/** @hidden */
/**
* @hidden
* @deprecated
*/
export class GLTFBinaryExtension extends GLTFLoaderExtension {
private _bin: IDataBuffer;

Expand Down
1 change: 1 addition & 0 deletions packages/dev/loaders/src/glTF/1.0/glTFLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1743,6 +1743,7 @@ export class GLTFLoaderBase {
/**
* glTF V1 Loader
* @hidden
* @deprecated
*/
export class GLTFLoader implements IGLTFLoader {
public static Extensions: { [name: string]: GLTFLoaderExtension } = {};
Expand Down
1 change: 1 addition & 0 deletions packages/dev/loaders/src/glTF/1.0/glTFLoaderUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import type { Scene } from "core/scene";
/**
* Utils functions for GLTF
* @hidden
* @deprecated
*/
export class GLTFUtils {
/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,10 @@ interface IGLTFSpotLightCommonExtension {
quadraticAttenuation: number;
}

/** @hidden */
/**
* @hidden
* @deprecated
*/
export class GLTFMaterialsCommonExtension extends GLTFLoaderExtension {
constructor() {
super("KHR_materials_common");
Expand Down