MCPcopy Create free account
hub / github.com/DavidColson/Polybox / _sg_metal_query_pixels

Function _sg_metal_query_pixels

source/graphics_platform_d3d11.cpp:376–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374}
375
376static void _sg_metal_query_pixels(int x, int y, int w, int h, void *pixels) {
377 id<CAMetalDrawable> mtl_drawable = (__bridge id<CAMetalDrawable>)_sg.mtl.drawable_cb();
378 _sg_metal_encode_texture_pixels(x, y, w, h, mtl_drawable.texture, pixels);
379}
380
381#endif

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected