MeshLib C++ Docs
Loading...
Searching...
No Matches
MR::AlphaSortGL Class Reference

#include <MRAlphaSortGL.h>

Public Types

typedef unsigned int GLuint
 

Public Member Functions

 ~AlphaSortGL ()
 
void init ()
 Initialize all GL buffers and arrays.
 
void free ()
 Free all GL data.
 
void clearTransparencyTextures () const
 Set all textures used for alpha sorting to zero (heads texture, atomics texture)
 
void drawTransparencyTextureToScreen () const
 Draws alpha sorting overlay quad texture to screen.
 
void updateTransparencyTexturesSize (int width, int height)
 Updates size of textures used in alpha sorting (according to viewport size)
 

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