Skip to content

Commit

Permalink
Clarify input name
Browse files Browse the repository at this point in the history
  • Loading branch information
jstone-lucasfilm authored Sep 12, 2023
1 parent ebbb765 commit cf23227
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions source/MaterialXRender/Mesh.h
Original file line number Diff line number Diff line change
Expand Up @@ -275,16 +275,16 @@ class MX_RENDER_API Mesh

/// Get a mesh stream by name
/// @param name Name of stream
/// @param returnFallbackStream If true will attempt to return fallback stream if it does not exist. Default is false.
/// @param allowFallback If true will attempt to return fallback stream if it does not exist. Default is false.
/// @return Reference to a mesh stream if found
MeshStreamPtr getStream(const string& name, bool returnFallbackStream = false);
MeshStreamPtr getStream(const string& name, bool allowFallback = false);

/// Get a mesh stream by type and index
/// @param type Type of stream
/// @param index Index of stream
/// @param returnFallbackStream If true will attempt to return a fallback stream if it does not exist. Default is false.
/// @param allowFallback If true will attempt to return a fallback stream if it does not exist. Default is false.
/// @return Reference to a mesh stream if found
MeshStreamPtr getStream(const string& type, unsigned int index, bool returnFallbackStream = false);
MeshStreamPtr getStream(const string& type, unsigned int index, bool allowFallback = false);

/// Add a mesh stream
void addStream(MeshStreamPtr stream)
Expand Down

0 comments on commit cf23227

Please sign in to comment.