Skip to content

Commit

Permalink
Mark functions as @Private
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Jul 30, 2021
1 parent 86de8af commit c0be363
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Source/Scene/GltfPipeline/forEachTextureInMaterial.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ import defined from "../../Core/defined.js"
* Mimics the behavior of functions in gltf-pipeline ForEach.
* @param {Object} material The glTF material.
* @param {forEachTextureInMaterial~handler} handler Function that is called for each texture in the material.
*
* @private
*/
function forEachTextureInMaterial(material, handler) {
Check.typeOf.object('material', material);
Expand Down Expand Up @@ -129,6 +131,8 @@ function forEachTextureInMaterial(material, handler) {
* @callback forEachTextureInMaterial~handler
* @param {Number} The texture index.
* @param {Object} The texture info object.
*
* @private
*/

export default forEachTextureInMaterial;
2 changes: 2 additions & 0 deletions Source/Scene/GltfPipeline/getComponentReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@ function getComponentReader(componentType) {
* @param {Number} numberOfComponents The number of components to read.
* @param {Number} componentTypeByteLength The byte length of each component.
* @param {Number} result An array storing the components that are read.
*
* @private
*/

export default getComponentReader;

0 comments on commit c0be363

Please sign in to comment.