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

Method RequestResolution

trinity/Resources/TriTextureRes.cpp:712–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

710}
711
712void TriTextureRes::RequestResolution( const uint32_t requestedLod )
713{
714 if( m_requestedMip == requestedLod || m_originalResolution == 0 )
715 {
716 return;
717 }
718 m_hadLodRequests = true;
719
720 AtomicMinUpdate( m_requestedMip, requestedLod );
721}
722
723void TriTextureRes::UpdateLodRequest( Tr2TextureLodUpdateRequest& request, Tr2TextureLodManager& manager )
724{

Callers 1

UsedWithScreenSizeMethod · 0.80

Calls 1

AtomicMinUpdateFunction · 0.85

Tested by

no test coverage detected