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

Function SetTexture

engine/graphics/src/graphics.cpp:2337–2340  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2335 g_functions.m_DeleteTexture(context, t);
2336 }
2337 void SetTexture(HContext context, HTexture texture, const TextureParams& params)
2338 {
2339 g_functions.m_SetTexture(context, texture, params);
2340 }
2341 void SetTextureAsync(HContext context, HTexture texture, const TextureParams& params, SetTextureAsyncCallback callback, void* user_data)
2342 {
2343 g_functions.m_SetTextureAsync(context, texture, params, callback, user_data);

Callers 13

MakeDummyTextureFunction · 0.50
TEST_FFunction · 0.50
ClearTextureFunction · 0.50
UpdateGlyphTextureFunction · 0.50
DX12SetTextureAsyncFunction · 0.50
NullNewRenderTargetFunction · 0.50
NullSetRenderTargetSizeFunction · 0.50
AsyncProcessCallbackFunction · 0.50
NullSetTextureAsyncFunction · 0.50
AsyncProcessCallbackFunction · 0.50
OpenGLSetTextureAsyncFunction · 0.50

Calls

no outgoing calls

Tested by 3

MakeDummyTextureFunction · 0.40
TEST_FFunction · 0.40
TEST_FFunction · 0.40