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

Method DeviceExists

trinity/TriDevice12.cpp:366–370  ·  view source on GitHub ↗

Do we have a valid device pointer? Lower level question than "do we have a valid renderContext", so first question may be true while second one is still false.

Source from the content-addressed store, hash-verified

364// Do we have a valid device pointer? Lower level question than "do we have a valid renderContext",
365// so first question may be true while second one is still false.
366bool TriDevice::DeviceExists()
367{
368 USE_MAIN_THREAD_RENDER_CONTEXT();
369 return renderContext.IsValid();
370}
371
372// --------------------------------------------------------------------------------------
373// Description:

Callers 2

SetShaderModelMethod · 0.45
SetStateMethod · 0.45

Calls 1

IsValidMethod · 0.45

Tested by

no test coverage detected