コード例 #1
0
ファイル: font_style.hpp プロジェクト: Extrunder/oglplus
#include <oglplus/enumerations.hpp>

#include <vector>

namespace oglplus {

/// Path font style bits enumeration
/**
 *  @ingroup enumerations
 *
 *  @glsymbols
 *  @glextref{NV,path_rendering}
 */
OGLPLUS_ENUM_CLASS_BEGIN(PathNVFontStyle, GLbitfield)
#include <oglplus/enums/ext/nv_path_font_style.ipp>
OGLPLUS_ENUM_CLASS_END(PathNVFontStyle)

OGLPLUS_MAKE_BITFIELD(PathNVFontStyle)

#if !OGLPLUS_NO_ENUM_VALUE_NAMES
#include <oglplus/enums/ext/nv_path_font_style_names.ipp>
#endif

#if !OGLPLUS_ENUM_VALUE_RANGES
#include <oglplus/enums/ext/nv_path_font_style_range.ipp>
#endif

} // namespace oglplus

#endif // include guard
コード例 #2
0
//
//  Copyright 2010-2019 Matus Chochlik.
//  Distributed under the Boost Software License, Version 1.0.
//  See accompanying file LICENSE_1_0.txt or copy at
//  http://www.boost.org/LICENSE_1_0.txt
//
#include <oglplus/enumerations.hpp>
#include <oglplus/bitfield.hpp>

namespace oglplus {

/// Enumeration BufferSelectBit
/**
 *  @ingroup oglplus_enumerations
 */
OGLPLUS_ENUM_CLASS_BEGIN(BufferSelectBit, GLbitfield)
#include <oglplus/enums/buffer_select_bit.ipp>
OGLPLUS_ENUM_CLASS_END(BufferSelectBit)

OGLPLUS_MAKE_BITFIELD(BufferSelectBit)

#if !OGLPLUS_NO_ENUM_VALUE_NAMES
#include <oglplus/enums/buffer_select_bit_names.ipp>
#endif

#if !OGLPLUS_NO_ENUM_VALUE_RANGES
#include <oglplus/enums/buffer_select_bit_range.ipp>
#endif

} // namespace oglplus