mirror of
https://github.com/minetest/irrlicht.git
synced 2024-12-28 11:40:27 +01:00
f5c6d3e945
find -type f | # list all regular files grep -E '\.(h|cpp|mm)$' | # filter for source files grep -v '/mt_' | # filter out generated files grep -v '/vendor/' | # and vendored GL grep -v '/test/image_loader_test.cpp' | # and this file (has giant literals arrays) xargs -n 1 -P $(nproc) clang-format -i # reformat everything Co-authored-by: numzero <numzer0@yandex.ru>
35 lines
530 B
C++
35 lines
530 B
C++
// 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
|
|
|
|
#pragma once
|
|
|
|
#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;
|
|
};
|
|
|
|
}
|
|
}
|