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

Method GPUBuffer

Source/Engine/Graphics/GPUBuffer.cpp:173–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171}
172
173GPUBuffer::GPUBuffer()
174 : GPUResource(SpawnParams(Guid::New(), TypeInitializer))
175{
176 // Buffer with size 0 is considered to be invalid
177 _desc.Clear();
178}
179
180bool GPUBuffer::IsStaging() const
181{

Callers

nothing calls this directly

Calls 2

NewFunction · 0.50
ClearMethod · 0.45

Tested by

no test coverage detected