Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
173
GPUBuffer::GPUBuffer()
174
: GPUResource(SpawnParams(Guid::New(), TypeInitializer))
175
{
176
// Buffer with size 0 is considered to be invalid
177
_desc.Clear();
178
}
179
180
bool GPUBuffer::IsStaging() const
181
{
Callers
nothing calls this directly
Calls
2
New
Function · 0.50
Clear
Method · 0.45
Tested by
no test coverage detected