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

#include <MRViewer/MRRenderGLHelpers.h>

Public Attributes

Vector2i size
WrapType wrap { WrapType::Clamp }
 size of the viewport that is used in draw function
FilterType filter { FilterType::Linear }
 wrap type of underlaying textures
bool forceSimpleDepthDraw = false
 filter type of underlaying textures
float simpleDepth = 0.5f
 force using simpleDepth for all fragments even if depth texture is present
unsigned depthTexture = 0
 depth that is used if this framebuffer does not store depth component texture
float maxDepth = 0.999f
 if not zero, this depth texture is used instead of the framebuffer's own one

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