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

Method InitDesc

Source/Engine/Graphics/DynamicBuffer.cpp:81–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81void DynamicVertexBuffer::InitDesc(GPUBufferDescription& desc, int32 numElements)
82{
83 desc = GPUBufferDescription::Vertex(_layout, _stride, numElements, GPUResourceUsage::Dynamic);
84}
85
86void DynamicIndexBuffer::InitDesc(GPUBufferDescription& desc, int32 numElements)
87{

Callers

nothing calls this directly

Calls 4

StructuredFunction · 0.85
IndexFunction · 0.70
VertexClass · 0.50
BufferClass · 0.50

Tested by

no test coverage detected