MCPcopy Create free account
hub / github.com/Force67/prosperity / getTexture

Function getTexture

delta/gpu/vk_render.cpp:773–852  ·  view source on GitHub ↗

Upload a guest texture (linear 32bpp RGBA) and return a descriptor set bound to it. Cached by guest base; re-uploaded when the guest pixels change (the room art is composed/loaded into the same buffer after the first sample, so a once-only cache would serve a stale black frame).

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

texViewForFunction · 0.85
drawRecompFunction · 0.85
drawFunction · 0.85

Calls 6

texHashFunction · 0.85
dumpDirFunction · 0.85
uploadTexPixelsFunction · 0.85
sizeMethod · 0.80
findMemoryTypeFunction · 0.70
findMethod · 0.45

Tested by

no test coverage detected