-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
12 changed files
with
355 additions
and
115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
|
||
/** | ||
* Indicates storage to allocate in a renderer layer. | ||
* | ||
* Stored in {@link @scene/SceneModelStreamParams.layers | SceneModelStreamParams.layers}. | ||
*/ | ||
export interface SceneModelStreamLayerParams { | ||
|
||
/** | ||
* Number of 32-bit geometry indices to allocate in the renderer layer. | ||
*/ | ||
numIndices32Bits: number; | ||
|
||
/** | ||
* Number of 16-bit geometry indices to allocate in the renderer layer. | ||
*/ | ||
numIndices16Bits: number; | ||
|
||
/** | ||
* Number of 8-bit geometry indices to allocate in the renderer layer. | ||
*/ | ||
numIndices8Bits: number; | ||
|
||
/** | ||
* Number of geometry vertices to allocate in the renderer layer. | ||
*/ | ||
numVertices: number; | ||
|
||
/** | ||
* Number of submeshes to allocate in the renderer layer. | ||
*/ | ||
numSubMeshes: number; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
import {SceneModelStreamLayerParams} from "./SceneModelStreamLayerParams"; | ||
|
||
/** | ||
* Indicates what renderer resources will need to be allocated in a {@link @xeokit/viewer!Viewer | Viewer's} | ||
* {@link @xeokit/viewer!Renderer | Renderer} to support progressive loading for a {@link @xeokit/scene!SceneModel | SceneModel}. | ||
* | ||
* See {@link "@xeokit/scene" | @xeokit/scene} for usage. | ||
*/ | ||
export interface SceneModelStreamParams { | ||
|
||
/** | ||
* Indicates what renderer layers will need to be allocated. | ||
*/ | ||
streamLayers: SceneModelStreamLayerParams[]; | ||
} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.