Skip to content

Commit 0a45c20

Browse files
committed
markup json parsers correctly with jsdoc for tsd test
1 parent a7dabc8 commit 0a45c20

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/resources/parser/material/json-node-material.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { NodeMaterial, shadergraph } from '../../../scene/materials/node-material.js';
22

33
/**
4-
* @private
4+
* @class
55
* @name pc.JsonNodeMaterialParser
66
* @description Convert incoming JSON data into a {@link pc.NodeMaterial}.
77
* @param {pc.GraphicsDevice} device - The graphics device of the application - required for creating placeholder
@@ -24,7 +24,6 @@ JsonNodeMaterialParser.prototype.parse = function (input) {
2424
};
2525

2626
/**
27-
* @private
2827
* @function
2928
* @name pc.JsonNodeMaterialParser#initialize
3029
* @description Initialize material properties from the material data block e.g. Loading from server.

src/resources/parser/material/json-standard-material.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ import { StandardMaterialValidator } from '../../../scene/materials/standard-mat
1414
import { standardMaterialParameterTypes } from '../../../scene/materials/standard-material-parameters.js';
1515

1616
/**
17-
* @private
17+
* @class
1818
* @name pc.JsonStandardMaterialParser
1919
* @description Convert incoming JSON data into a {@link pc.StandardMaterial}.
2020
*/
@@ -33,7 +33,6 @@ JsonStandardMaterialParser.prototype.parse = function (input) {
3333
};
3434

3535
/**
36-
* @private
3736
* @function
3837
* @name pc.JsonStandardMaterialParser#initialize
3938
* @description Initialize material properties from the material data block e.g. Loading from server.

0 commit comments

Comments
 (0)