Epok Engine

EPOK RUNTIME

epok::active_camera

Function · 1 overload

Function

Performs `active camera` as part of the epok module.

Belongs to
epok
Header
epok.hpp
Overloads
1

Declaration

Declaration
DataHandle active_camera()

Performs `active camera` as part of the epok module.

This overload takes no parameters.

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

Example

C++ example
#include "epok.hpp"

auto result = epok::active_camera();

Why use it

It provides direct, allocation-conscious access to the epok module. No exception-based error path is implied by the signature.

Trade-offs and warnings

Call it only in the lifecycle phase described by the module. Validate indices, capacities and object state before use.

Declared in runtime/epok.hpp:201

Related members