MCPcopy Create free account
hub / github.com/carbonengine/trinity / CompatibleDescriptions

Function CompatibleDescriptions

trinity/Tr2GpuResourcePool.cpp:9–12  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace
8{
9bool CompatibleDescriptions( const Tr2BufferDescriptionAL& a, const Tr2BufferDescriptionAL& b )
10{
11 return a.count == b.count && a.stride == b.stride && a.format == b.format && a.gpuUsage == b.gpuUsage && a.cpuUsage == b.cpuUsage;
12}
13
14std::vector<Tr2GpuResourcePool*>& AllGpuResourcePools()
15{

Callers 2

GetTempBufferMethod · 0.85
GetPersistentBufferMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected