Skip to content

Commit

Permalink
GLTF::Model: added GetMaxTextureAttributeIndex() method
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Nov 30, 2023
1 parent b71bc8a commit 080cc23
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions AssetLoader/interface/GLTFLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -832,8 +832,9 @@ struct Model
int GltfSamplerId,
const std::string& CacheId);

auto GetNumVertexAttributes() const { return NumVertexAttributes; }
auto GetNumTextureAttributes() const { return NumTextureAttributes; }
Uint32 GetNumVertexAttributes() const { return NumVertexAttributes; }
Uint32 GetNumTextureAttributes() const { return NumTextureAttributes; }
Uint32 GetMaxTextureAttributeIndex() const { return MaxTextureAttributeIndex; }

const auto& GetVertexAttribute(size_t Idx) const
{
Expand Down

0 comments on commit 080cc23

Please sign in to comment.