MeshLib Documentation
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
 
bool allowAlphaSort { false }
 
RenderModelPassMask passMask = RenderModelPassMask::All
 
- Public Attributes inherited from MR::ModelBaseRenderParams
const Matrix4f & modelMatrix
 
const Plane3f & clipPlane
 
DepthFunction depthFunction = DepthFunction::Default
 
- Public Attributes inherited from MR::BaseRenderParams
const Matrix4f & viewMatrix
 
const Matrix4f & projMatrix
 
ViewportId viewportId
 
Vector4i viewport
 

Detailed Description

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

Member Data Documentation

◆ allowAlphaSort

bool MR::ModelRenderParams::allowAlphaSort { false }

◆ lightPos

Vector3f MR::ModelRenderParams::lightPos

◆ normMatrixPtr

const Matrix4f* MR::ModelRenderParams::normMatrixPtr { nullptr }

◆ passMask

RenderModelPassMask MR::ModelRenderParams::passMask = RenderModelPassMask::All

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