MCPcopy Create free account
hub / github.com/FlaxEngine/FlaxEngine / GetLayout

Method GetLayout

Source/Engine/Graphics/Models/Mesh.cpp:22–28  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

20#endif
21
22PRAGMA_DISABLE_DEPRECATION_WARNINGS
23GPUVertexLayout* VB0ElementType18::GetLayout()
24{
25 return GPUVertexLayout::Get({
26 { VertexElement::Types::Position, 0, 0, 0, PixelFormat::R32G32B32_Float },
27 });
28}
29
30GPUVertexLayout* VB1ElementType18::GetLayout()
31{

Callers 1

LoadMeshAccessorMethod · 0.45

Calls 1

GetFunction · 0.50

Tested by

no test coverage detected