Function create

Synopsis

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

static SharedPtr create(CommandQueueHandle queue)

Description

Create a copy context.

Parameters:

[ in ] queue - Command queue handle.

Return
A new object, or throws an exception if creation failed.

Source

Lines 44-48 in Source/Falcor/Core/API/CopyContext.cpp. Line 68 in Source/Falcor/Core/API/CopyContext.h.

CopyContext::SharedPtr CopyContext::create(CommandQueueHandle queue)
{
    assert(queue);
    return SharedPtr(new CopyContext(LowLevelContextData::CommandQueueType::Copy, queue));
}





Add Discussion as Guest

Log in to DocsForge