From c0be36390327217e9798ed193693cd24e736e747 Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Thu, 29 Jul 2021 20:09:34 -0400 Subject: [PATCH] Mark functions as @private --- Source/Scene/GltfPipeline/forEachTextureInMaterial.js | 4 ++++ Source/Scene/GltfPipeline/getComponentReader.js | 2 ++ 2 files changed, 6 insertions(+) diff --git a/Source/Scene/GltfPipeline/forEachTextureInMaterial.js b/Source/Scene/GltfPipeline/forEachTextureInMaterial.js index 3e9bcc775eaf..163871af6388 100644 --- a/Source/Scene/GltfPipeline/forEachTextureInMaterial.js +++ b/Source/Scene/GltfPipeline/forEachTextureInMaterial.js @@ -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); @@ -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; diff --git a/Source/Scene/GltfPipeline/getComponentReader.js b/Source/Scene/GltfPipeline/getComponentReader.js index c7ad4d9edca6..8d3ab8220872 100644 --- a/Source/Scene/GltfPipeline/getComponentReader.js +++ b/Source/Scene/GltfPipeline/getComponentReader.js @@ -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;