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

Method GetLayout

Source/Engine/Graphics/DynamicBuffer.cpp:70–73  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70GPUVertexLayout* DynamicVertexBuffer::GetLayout() const
71{
72 return _layout ? _layout : (GetBuffer() ? GetBuffer()->GetVertexLayout() : nullptr);
73}
74
75void DynamicVertexBuffer::SetLayout(GPUVertexLayout* layout)
76{

Callers

nothing calls this directly

Calls 2

GetVertexLayoutMethod · 0.80
GetBufferFunction · 0.70

Tested by

no test coverage detected