Suppose we have a texture that's uploaded to the GPU, if we have multiple layers, right now we need to copy that texture for every single pipeline, thus filling VRAM with copies of the same thing.
What we need here is a stack-based reference counting mechanism.
Suppose we have a texture that's uploaded to the GPU, if we have multiple layers, right now we need to copy that texture for every single pipeline, thus filling VRAM with copies of the same thing.
What we need here is a stack-based reference counting mechanism.