Function asyncReadTextureSubresource

Synopsis

#include <Source/Falcor/Core/API/CopyContext.h>

ReadTextureTask::SharedPtr asyncReadTextureSubresource(const Texture *pTexture, uint32_t subresourceIndex)

Description

Read texture data Asynchronously

Source

Lines 71-74 in Source/Falcor/Core/API/CopyContext.cpp. Line 130 in Source/Falcor/Core/API/CopyContext.h.

CopyContext::ReadTextureTask::SharedPtr CopyContext::asyncReadTextureSubresource(const Texture* pTexture, uint32_t subresourceIndex)
{
    return CopyContext::ReadTextureTask::create(this, pTexture, subresourceIndex);
}





Add Discussion as Guest

Log in to DocsForge