Defines

D:/SoftwareEntwicklung/C++/HLC/Tools/SoftPixelEngine/repository/sources/RenderSystem/OpenGL/spOpenGLCoreHeader.hpp File Reference

#include "Base/spStandard.hpp"
#include <OpenGL/gl.h>
#include <OpenGL/glext.h>
#include <OpenGLES/ES1/gl.h>
#include <OpenGLES/ES1/glext.h>
#include <OpenGLES/ES2/gl.h>
#include <OpenGLES/ES2/glext.h>

Go to the source code of this file.

Defines

#define ChangeRenderStateForEachContext(c)

Define Documentation

#define ChangeRenderStateForEachContext (   c  ) 
Value:
if (ContextList_.size() > 1 && UseAllRCs)                                   \
    {                                                                           \
        RenderContext* PrevContext = RenderContext::getActiveRenderContext();   \
        foreach (RenderContext* Context, ContextList_)                          \
        {                                                                       \
            Context->activate();                                                \
            c                                                                   \
        }                                                                       \
        if (PrevContext)                                                        \
            PrevContext->activate();                                            \
    }                                                                           \
    else                                                                        \
    {                                                                           \
        c                                                                       \
    }
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines