Function create

Synopsis

#include <Source/Falcor/Scene/Camera/Camera.h>

static SharedPtr create()

Description

Create a new camera object.

Source

Lines 56-60 in Source/Falcor/Scene/Camera/Camera.cpp. Line 53 in Source/Falcor/Scene/Camera/Camera.h.

Camera::SharedPtr Camera::create()
{
    Camera* pCamera = new Camera;
    return SharedPtr(pCamera);
}





Add Discussion as Guest

Log in to DocsForge