MCPcopy Create free account
hub / github.com/InoriRus/Kyty / VulkanMapMemory

Function VulkanMapMemory

source/emulator/src/Graphics/Objects/GpuMemory.cpp:2250–2259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2248}
2249
2250void VulkanMapMemory(GraphicContext* ctx, VulkanMemory* mem, void** data)
2251{
2252 KYTY_PROFILER_FUNCTION();
2253
2254 EXIT_IF(ctx == nullptr);
2255 EXIT_IF(mem == nullptr);
2256 EXIT_IF(data == nullptr);
2257
2258 vkMapMemory(ctx->device, mem->memory, mem->offset, mem->requirements.size, 0, data);
2259}
2260
2261void VulkanUnmapMemory(GraphicContext* ctx, VulkanMemory* mem)
2262{

Callers 8

ClearMethod · 0.85
ReadMethod · 0.85
UtilFillImageFunction · 0.85
UtilFillBufferFunction · 0.85
create_funcFunction · 0.85
update_funcFunction · 0.85
update_funcFunction · 0.85
write_backFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected