Carna  Version 3.3.2
Public Member Functions | Static Public Attributes | List of all members
Carna::base::Renderable::DepthOrder< order > Struct Template Reference

Defines partial order for renderables w.r.t. to their depth in eye space. More...

#include <Renderable.h>

Public Member Functions

bool operator() (const Renderable &l, const Renderable &r) const
 Tells whether l is further away than r for order>0 or closer for order<0 respectively.
 

Static Public Attributes

static const bool isViewDependent = true
 Indicates that this partial order depends on the view transform.
 

Detailed Description

template<int order>
struct Carna::base::Renderable::DepthOrder< order >

Defines partial order for renderables w.r.t. to their depth in eye space.

Parameters
orderestablishes order back-to-front for positive order and front-to-back for negative order.

Definition at line 110 of file Renderable.h.


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