Skip to content

Commit 047b66a

Browse files
Update Doxygen comments
This changelist updates Doxygen comments for new features, making sure that they display correctly in generated API documentation.
1 parent c286cee commit 047b66a

2 files changed

Lines changed: 5 additions & 8 deletions

File tree

source/MaterialXGenShader/GenOptions.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,12 +175,11 @@ class MX_GENSHADER_API GenOptions
175175
bool hwWriteAlbedoTable;
176176

177177
/// Calculate fallback bitangents from existing normals and tangents
178-
/// inside the <bitangent> node.
178+
/// inside the bitangent node.
179179
bool hwImplicitBitangents;
180180

181181
/// Enable emitting colorspace transform code if a color management
182-
/// system is defined.
183-
/// Defaults to true.
182+
/// system is defined. Defaults to true.
184183
bool emitColorTransforms;
185184
};
186185

source/MaterialXRenderGlsl/TextureBaker.h

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -28,13 +28,11 @@ using TextureBakerPtr = shared_ptr<class TextureBakerGlsl>;
2828
/// A vector of baked documents with their associated names.
2929
using BakedDocumentVec = std::vector<std::pair<std::string, DocumentPtr>>;
3030

31-
/// @class TextureBaker
32-
/// A helper class for baking procedural material content to textures.
33-
/// TODO: Add support for graphs containing geometric nodes such as position
34-
/// and normal.
31+
/// @class TextureBakerGlsl
32+
/// An implementation of TextureBaker based on GLSL shader generation.
3533
class MX_RENDERGLSL_API TextureBakerGlsl : public TextureBaker<GlslRenderer, GlslShaderGenerator>
3634
{
37-
public:
35+
public:
3836
static TextureBakerPtr create(unsigned int width = 1024, unsigned int height = 1024, Image::BaseType baseType = Image::BaseType::UINT8)
3937
{
4038
return TextureBakerPtr(new TextureBakerGlsl(width, height, baseType));

0 commit comments

Comments
 (0)