LibCarna Version 3.4.0
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members
LibCarna::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.hpp>

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 LibCarna::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 147 of file Renderable.hpp.

Member Function Documentation

◆ operator()()

template<unsigned int role>
bool LibCarna::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 173 of file Renderable.hpp.

Member Data Documentation

◆ isViewDependent

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

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

Definition at line 153 of file Renderable.hpp.


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