Antkeeper  0.0.1
Public Attributes | List of all members
render::context Struct Reference

Context of a renderer. More...

#include <context.hpp>

Public Attributes

const scene::cameracamera
 Pointer to the camera. More...
 
scene::collectioncollection
 Collection of scene objects being rendered. More...
 
float t
 Current time, in seconds. More...
 
float dt
 Timestep, in seconds. More...
 
float alpha
 Subframe interpolation factor. More...
 
std::vector< scene::object_base * > objects
 Objects visible to the active camera. More...
 
std::vector< const operation * > operations
 Render operations generated by visible objects. More...
 

Detailed Description

Context of a renderer.

Definition at line 39 of file context.hpp.

Member Data Documentation

◆ alpha

float render::context::alpha

Subframe interpolation factor.

Definition at line 54 of file context.hpp.

◆ camera

const scene::camera* render::context::camera

Pointer to the camera.

Definition at line 42 of file context.hpp.

◆ collection

scene::collection* render::context::collection

Collection of scene objects being rendered.

Definition at line 45 of file context.hpp.

◆ dt

float render::context::dt

Timestep, in seconds.

Definition at line 51 of file context.hpp.

◆ objects

std::vector<scene::object_base*> render::context::objects

Objects visible to the active camera.

Definition at line 57 of file context.hpp.

◆ operations

std::vector<const operation*> render::context::operations

Render operations generated by visible objects.

Definition at line 60 of file context.hpp.

◆ t

float render::context::t

Current time, in seconds.

Definition at line 48 of file context.hpp.


The documentation for this struct was generated from the following file: