Add support for up to 65536 skeleton bones in skinned meshes
https://forum.flaxengine.com/t/import-fbx-with-bones-more-than-256/1196
This commit is contained in:
@@ -126,6 +126,16 @@ String GPUVertexLayout::GetElementsString() const
|
||||
return result;
|
||||
}
|
||||
|
||||
VertexElement GPUVertexLayout::FindElement(VertexElement::Types type) const
|
||||
{
|
||||
for (const VertexElement& e : _elements)
|
||||
{
|
||||
if (e.Type == type)
|
||||
return e;
|
||||
}
|
||||
return VertexElement();
|
||||
}
|
||||
|
||||
GPUVertexLayout* GPUVertexLayout::Get(const Elements& elements, bool explicitOffsets)
|
||||
{
|
||||
// Hash input layout
|
||||
|
||||
Reference in New Issue
Block a user