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

Method IsReadable

trinity/Tr2RenderTarget.cpp:355–358  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

353}
354
355bool Tr2RenderTarget::IsReadable() const
356{
357 return GetRenderTarget().IsValid() && Tr2GpuUsage::HasFlag( GetRenderTarget().GetGpuUsage(), Tr2GpuUsage::SHADER_RESOURCE );
358}
359
360long Tr2RenderTarget::GenerateMipMaps()
361{

Callers

nothing calls this directly

Calls 3

HasFlagFunction · 0.50
IsValidMethod · 0.45
GetGpuUsageMethod · 0.45

Tested by

no test coverage detected