Epok Engine

EPOK RUNTIME

epok::Camera3DComponent::make_active

Method · 1 overload

Method

Performs `make active` as part of the object model module.

Belongs to
epok::Camera3DComponent
Header
object_model.hpp
Overloads
1

Declaration

Declaration
bool make_active()

Performs `make active` as part of the object model module.

This overload takes no parameters.

Returns: bool. Check the value before continuing when it represents success, availability or a resource handle.

Example

C++ example
#include "object_model.hpp"

epok::Camera3DComponent& object = /* obtain a valid instance */;

auto result = object.make_active();

Why use it

The boolean result makes success, availability or state explicit without exceptions.

Trade-offs and warnings

Check the return value; `false` is part of normal control flow for many PSX resource operations.

Declared in runtime/object_model.hpp:751

Related members