Skip to content

Commit

Permalink
GLTF Model: added GetVertexPoolIndex method
Browse files Browse the repository at this point in the history
  • Loading branch information
TheMostDiligent committed Feb 13, 2024
1 parent 32e4b30 commit a3485ce
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion AssetLoader/interface/GLTFLoader.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -936,6 +936,11 @@ struct Model
0;
}

Uint32 GetVertexPoolIndex() const
{
return VertexData.PoolId;
}

struct ImageData
{
int Width = 0;
Expand Down Expand Up @@ -1047,7 +1052,7 @@ struct Model
std::vector<Uint32> Strides;
std::vector<RefCntAutoPtr<IBuffer>> Buffers;
RefCntAutoPtr<IVertexPoolAllocation> pAllocation;
Uint32 PoolId = 0; // Vertex pool allocation Id
Uint32 PoolId = 0; // Vertex pool index
Uint32 EnabledAttributeFlags = 0;
};
VertexDataInfo VertexData;
Expand Down

0 comments on commit a3485ce

Please sign in to comment.