MeshLib Documentation
Loading...
Searching...
No Matches
MRCreateShader.h File Reference
#include "exports.h"
#include "MRGladGlfw.h"
#include <string>
#include <vector>

Go to the source code of this file.

Classes

struct  MR::ShaderWarning
 

Namespaces

namespace  MR
 

Typedefs

using MR::DisabledWarnings = std::vector<ShaderWarning>
 

Functions

MRVIEWER_API void MR::createShader (const std::string &shader_name, const std::string &vert_source, const std::string &frag_source, GLuint &prog_id, const DisabledWarnings &suppressedWarns={})
 
MRVIEWER_API void MR::destroyShader (GLuint id)