MCPcopy Create free account
hub / github.com/defold/defold / PushSetTextureAsyncDeleteTexture

Function PushSetTextureAsyncDeleteTexture

engine/graphics/src/graphics.cpp:1731–1739  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1729 }
1730
1731 void PushSetTextureAsyncDeleteTexture(SetTextureAsyncState& state, HTexture texture)
1732 {
1733 DM_MUTEX_SCOPED_LOCK(state.m_Mutex);
1734 if (state.m_PostDeleteTextures.Full())
1735 {
1736 state.m_PostDeleteTextures.OffsetCapacity(64);
1737 }
1738 state.m_PostDeleteTextures.Push(texture);
1739 }
1740
1741 SetTextureAsyncParams GetSetTextureAsyncParams(SetTextureAsyncState& state, uint16_t index)
1742 {

Callers 2

NullDeleteTextureFunction · 0.85
OpenGLDeleteTextureFunction · 0.85

Calls 3

FullMethod · 0.45
OffsetCapacityMethod · 0.45
PushMethod · 0.45

Tested by

no test coverage detected