2019-12-12 17:32:41 +01:00
|
|
|
// Copyright (C) 2015 Patryk Nadrowski
|
|
|
|
// This file is part of the "Irrlicht Engine".
|
|
|
|
// For conditions of distribution and use, see copyright notice in irrlicht.h
|
|
|
|
|
2021-08-27 17:55:04 +02:00
|
|
|
#ifndef IRR_C_OGLCORE_FEATURE_H_INCLUDED
|
|
|
|
#define IRR_C_OGLCORE_FEATURE_H_INCLUDED
|
2019-12-12 17:32:41 +01:00
|
|
|
|
|
|
|
#include "IrrCompileConfig.h"
|
|
|
|
|
|
|
|
#if defined(_IRR_COMPILE_WITH_OPENGL_) || defined(_IRR_COMPILE_WITH_OGLES1_) || defined(_IRR_COMPILE_WITH_OGLES2_)
|
|
|
|
|
|
|
|
#include "irrTypes.h"
|
|
|
|
|
|
|
|
namespace irr
|
|
|
|
{
|
|
|
|
namespace video
|
|
|
|
{
|
|
|
|
|
|
|
|
class COpenGLCoreFeature
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
COpenGLCoreFeature() : BlendOperation(false), ColorAttachment(0), MultipleRenderTarget(0), MaxTextureUnits(1)
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
virtual ~COpenGLCoreFeature()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
|
|
|
|
bool BlendOperation;
|
|
|
|
|
|
|
|
u8 ColorAttachment;
|
|
|
|
u8 MultipleRenderTarget;
|
|
|
|
u8 MaxTextureUnits;
|
|
|
|
};
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif
|
|
|
|
#endif
|