-
Notifications
You must be signed in to change notification settings - Fork 206
Open
Labels
bugSomething isn't workingSomething isn't working
Description
The IFramebuffer provides interfaces for reading data from attachments, but currently all data is fetched from attachment.texture. When dealing with an framebuffer supporting MSAA, data should be read from the attachment.resolveTexture.
Should an interface be provided to directly read data from ITexture, enabling it to accommodate all scenarios?
Like below:
void copyBytesFromTexture(ICommandQueue& cmdQueue,
std::shared_ptr<ITexture> srcTexture,
void* pixelBytes,
const TextureRangeDesc& range,
size_t bytesPerRow = 0) Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working