CG_Labs  2020.0
Classes | Namespaces | Functions | Variables
GLStateInspection.cpp File Reference
#include "GLStateInspection.h"
#include <glad/glad.h>
#include <GLFW/glfw3.h>
#include <cstring>
#include <iostream>
#include <vector>
#include <unordered_map>

Classes

struct  GLStateInspection::Snapshot
 

Namespaces

 GLStateInspection
 

Functions

void GLStateInspection::Init ()
 
void GLStateInspection::Destroy ()
 
void GLStateInspection::CaptureSnapshot (std::string uniqueIdentifier)
 
bool GLStateInspection::ToString (std::ostream &os, std::string uniqueIdentifier)
 
bool GLStateInspection::ToString (std::ostream &os, int index)
 
int GLStateInspection::SnapshotCount ()
 
void GLStateInspection::GetIdentifiers (std::vector< std::string > &list)
 

Variables

std::unordered_map< std::string, Snapshot * > GLStateInspection::snapshotMap
 
std::vector< Snapshot * > GLStateInspection::snapshotVector