Skip to content

Commit a3485ce

Browse files
GLTF Model: added GetVertexPoolIndex method
1 parent 32e4b30 commit a3485ce

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

AssetLoader/interface/GLTFLoader.hpp

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,6 +936,11 @@ struct Model
936936
0;
937937
}
938938

939+
Uint32 GetVertexPoolIndex() const
940+
{
941+
return VertexData.PoolId;
942+
}
943+
939944
struct ImageData
940945
{
941946
int Width = 0;
@@ -1047,7 +1052,7 @@ struct Model
10471052
std::vector<Uint32> Strides;
10481053
std::vector<RefCntAutoPtr<IBuffer>> Buffers;
10491054
RefCntAutoPtr<IVertexPoolAllocation> pAllocation;
1050-
Uint32 PoolId = 0; // Vertex pool allocation Id
1055+
Uint32 PoolId = 0; // Vertex pool index
10511056
Uint32 EnabledAttributeFlags = 0;
10521057
};
10531058
VertexDataInfo VertexData;

0 commit comments

Comments
 (0)