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

Function ReadPixels

engine/graphics/src/graphics.cpp:2365–2368  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2363 return g_functions.m_GetMaxTextureSize(context);
2364 }
2365 void ReadPixels(HContext context, int32_t x, int32_t y, uint32_t width, uint32_t height, void* buffer, uint32_t buffer_size)
2366 {
2367 g_functions.m_ReadPixels(context, x, y, width, height, buffer, buffer_size);
2368 }
2369 void RunApplicationLoop(void* user_data, WindowStepMethod step_method, WindowIsRunning is_running)
2370 {
2371 g_functions.m_RunApplicationLoop(user_data, step_method, is_running);

Callers 2

StepFrameFunction · 0.85
ExecuteMethod · 0.85

Calls

no outgoing calls

Tested by 1

ExecuteMethod · 0.68