MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::ModelRenderParams Struct Reference

Mesh rendering parameters for primary rendering (as opposed to the picker). More...

#include <MRIRenderObject.h>

+ Inheritance diagram for MR::ModelRenderParams:

Public Attributes

const Matrix4f * normMatrixPtr { nullptr }
 
Vector3f lightPos
 normal matrix, only necessary for triangles rendering
 
TransparencyMode transparencyMode
 position of light source
 
RenderModelPassMask passMask = RenderModelPassMask::All
 determines how to handle transparent models
 
- Public Attributes inherited from MR::ModelBaseRenderParams
const Matrix4f & modelMatrix
 
const Plane3f & clipPlane
 
DepthFunction depthFunction = DepthFunction::Default
 viewport clip plane (it is not applied while object does not have clipping flag set)
 
- Public Attributes inherited from MR::BaseRenderParams
const Matrix4f & viewMatrix
 
const Matrix4f & projMatrix
 
ViewportId viewportId
 
Vector4i viewport
 id of the viewport
 

Detailed Description

Mesh rendering parameters for primary rendering (as opposed to the picker).


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