MeshLib C++ Docs
Loading...
Searching...
No Matches
MRRenderHelpers.h File Reference
#include "exports.h"
#include "MRMesh/MRMeshFwd.h"
#include "MRMesh/MRBuffer.h"
#include "MRMesh/MRVector2.h"

Go to the source code of this file.

Classes

class  MR::RenderBufferRef< T >
 provides access to shared buffer with type casting More...
 
class  MR::RenderObjectBuffer
 provides shared buffer for loading different types of data to GL memory More...
 

Namespaces

namespace  MR
 only for bindings generation
 

Functions

MRVIEWER_API Vector2i MR::calcTextureRes (int bufferSize, int maxTextWidth)
 calc texture resolution, to fit MAX_TEXTURE_SIZE, and have minimal empty pixels