Carna Version 3.3.3
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
Carna::base::Renderable::VideoResourcesOrder< role > Struct Template Reference

Establishes partial order for renderables s.t. geometries with such GeometryFeature instances, that do control the same video resource, are grouped together. More...

#include <Renderable.h>

Public Member Functions

bool operator() (const Renderable &l, const Renderable &r) const
 Returns the result of GeometryFeature::controlsSameVideoResource for the geometry features with role of l and r.
 

Static Public Attributes

static const bool isViewDependent = false
 Indicates that this partial order does not depend on the view transform.
 

Detailed Description

template<unsigned int role>
struct Carna::base::Renderable::VideoResourcesOrder< role >

Establishes partial order for renderables s.t. geometries with such GeometryFeature instances, that do control the same video resource, are grouped together.

Definition at line 144 of file Renderable.h.

Member Function Documentation

◆ operator()()

template<unsigned int role>
bool Carna::base::Renderable::VideoResourcesOrder< role >::operator() ( const Renderable l,
const Renderable r 
) const

Returns the result of GeometryFeature::controlsSameVideoResource for the geometry features with role of l and r.

Definition at line 170 of file Renderable.h.

Member Data Documentation

◆ isViewDependent

template<unsigned int role>
const bool Carna::base::Renderable::VideoResourcesOrder< role >::isViewDependent = false
static

Indicates that this partial order does not depend on the view transform.

Definition at line 150 of file Renderable.h.


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