MeshLib C++ Docs
Loading...
Searching...
No Matches
MRIRenderObject.h File Reference
#include "MRMesh/MRFlagOperators.h"
#include "MRPch/MRBindingMacros.h"
#include "MRRenderModelParameters.h"
#include "MRMeshFwd.h"
#include "MRViewportId.h"
#include "MRVector2.h"
#include "MRVector4.h"
#include "MRAffineXf3.h"
#include <functional>
#include <typeindex>
#include <memory>

Go to the source code of this file.

Classes

struct  MR::BaseRenderParams
 Common rendering parameters for meshes and UI. More...
struct  MR::ModelBaseRenderParams
struct  MR::ModelRenderParams
 Mesh rendering parameters for primary rendering (as opposed to the picker). More...
struct  MR::BasicUiRenderTask
 IRenderObject::renderUi() can emit zero or more or more of those tasks. They are sorted by depth every frame. More...
struct  MR::BasicUiRenderTask::BackwardPassParams
struct  MR::UiRenderParams
struct  MR::UiRenderManager
class  MR::IRenderObject
class  MR::RenderObjectCombinator< Bases >
 Combines several different IRenderObjects into one in a meaningful way. More...
class  MR::RegisterRenderObjectConstructor

Namespaces

namespace  MR
 only for bindings generation

Macros

#define MR_REGISTER_RENDER_OBJECT_IMPL(objectType, ...)

Typedefs

using MR::IRenderObjectConstructorLambda = std::function<std::unique_ptr<IRenderObject>( const VisualObject& )>

Enumerations

enum class  MR::DepthFunction {
  MR::DepthFunction::Never = 0 , MR::DepthFunction::Less = 1 , MR::DepthFunction::Equal = 2 , MR::DepthFunction::Greater = 4 ,
  MR::DepthFunction::LessOrEqual = Less | Equal , MR::DepthFunction::GreaterOrEqual = Greater | Equal , MR::DepthFunction::NotEqual = Less | Greater , MR::DepthFunction::Always = Less | Equal | Greater ,
  MR::DepthFunction::Default = 8
}

Functions

MR_BIND_IGNORE std::unique_ptr< IRenderObjectMR::createRenderObject (const VisualObject &visObj, const std::type_index &type)
template<typename ObjectType>
MR_BIND_IGNORE std::unique_ptr< IRenderObjectMR::createRenderObject (const VisualObject &visObj)
template<typename RenderObjType>
MR_BIND_IGNORE IRenderObjectConstructorLambda MR::makeRenderObjectConstructor ()