Function create

Synopsis

#include <Source/Falcor/Utils/UI/DebugDrawer.h>

static SharedPtr create(uint32_t maxVertices=kMaxVertices)

Description

Create a new object for drawing debug geometry.

Parameters:

[ in ] maxVertices - Maximum number of vertices that will be drawn.

Return
New object, or throws an exception if creation failed.

Source

Lines 36-39 in Source/Falcor/Utils/UI/DebugDrawer.cpp. Line 57 in Source/Falcor/Utils/UI/DebugDrawer.h.

DebugDrawer::SharedPtr DebugDrawer::create(uint32_t maxVertices)
{
    return SharedPtr(new DebugDrawer(maxVertices));
}





Add Discussion as Guest

Log in to DocsForge