Diligent Engine  v.2.4.g
Macros | Functions
GLStubsAndroid.cpp File Reference
#include "pch.h"
#include "GLStubsAndroid.h"
#include <EGL/egl.h>

Macros

#define DECLARE_GL_FUNCTION(Func, FuncType, ...)
 
#define LOAD_GL_FUNCTION(Func, FuncType)
 

Functions

void LoadGLFunctions ()
 

Macro Definition Documentation

◆ DECLARE_GL_FUNCTION

#define DECLARE_GL_FUNCTION (   Func,
  FuncType,
  ... 
)
Value:
FuncType Func = nullptr; \
void Func##Stub(__VA_ARGS__) \
{ \
UnsupportedGLFunctionStub(#Func); \
}

◆ LOAD_GL_FUNCTION

#define LOAD_GL_FUNCTION (   Func,
  FuncType 
)
Value:
Func = (FuncType)eglGetProcAddress( #Func );\
if( !Func )Func = Func##Stub;

Function Documentation

◆ LoadGLFunctions()

void LoadGLFunctions ( )