#include
<oglplus/pixel_parameter.hpp>
enum class PixelParameter : GLenum { PackSwapBytes = GL_PACK_SWAP_BYTES, PackLSBFirst = GL_PACK_LSB_FIRST, PackRowLength = GL_PACK_ROW_LENGTH, PackSkipRows = GL_PACK_SKIP_ROWS, PackSkipPixels = GL_PACK_SKIP_PIXELS, PackAlignment = GL_PACK_ALIGNMENT, PackImageHeight = GL_PACK_IMAGE_HEIGHT, PackSkipImages = GL_PACK_SKIP_IMAGES, PackCompressedBlockWidth = GL_PACK_COMPRESSED_BLOCK_WIDTH, PackCompressedBlockHeight = GL_PACK_COMPRESSED_BLOCK_HEIGHT, PackCompressedBlockDepth = GL_PACK_COMPRESSED_BLOCK_DEPTH, PackCompressedBlockSize = GL_PACK_COMPRESSED_BLOCK_SIZE, UnpackSwapBytes = GL_UNPACK_SWAP_BYTES, UnpackLSBFirst = GL_UNPACK_LSB_FIRST, UnpackRowLength = GL_UNPACK_ROW_LENGTH, UnpackSkipRows = GL_UNPACK_SKIP_ROWS, UnpackSkipPixels = GL_UNPACK_SKIP_PIXELS, UnpackAlignment = GL_UNPACK_ALIGNMENT, UnpackImageHeight = GL_UNPACK_IMAGE_HEIGHT, UnpackSkipImages = GL_UNPACK_SKIP_IMAGES, UnpackCompressedBlockWidth = GL_UNPACK_COMPRESSED_BLOCK_WIDTH, UnpackCompressedBlockHeight = GL_UNPACK_COMPRESSED_BLOCK_HEIGHT, UnpackCompressedBlockDepth = GL_UNPACK_COMPRESSED_BLOCK_DEPTH, UnpackCompressedBlockSize = GL_UNPACK_COMPRESSED_BLOCK_SIZE }; template <> Range<PixelParameter> EnumValueRange<PixelParameter>(void); StrCRef EnumValueName(PixelParameter);
PixelParameter
to class
#if !OGLPLUS_NO_ENUM_VALUE_CLASSES
namespace enums {
template <typename Base, template<PixelParameter> class Transform>
class EnumToClass<Base, PixelParameter, Transform>
: public Base
{
public:
EnumToClass(void);
EnumToClass(Base&& base);
Transform<PixelParameter::PackSwapBytes>
PackSwapBytes;
Transform<PixelParameter::PackLSBFirst>
PackLSBFirst;
Transform<PixelParameter::PackRowLength>
PackRowLength;
Transform<PixelParameter::PackSkipRows>
PackSkipRows;
Transform<PixelParameter::PackSkipPixels>
PackSkipPixels;
Transform<PixelParameter::PackAlignment>
PackAlignment;
Transform<PixelParameter::PackImageHeight>
PackImageHeight;
Transform<PixelParameter::PackSkipImages>
PackSkipImages;
Transform<PixelParameter::PackCompressedBlockWidth>
PackCompressedBlockWidth;
Transform<PixelParameter::PackCompressedBlockHeight>
PackCompressedBlockHeight;
Transform<PixelParameter::PackCompressedBlockDepth>
PackCompressedBlockDepth;
Transform<PixelParameter::PackCompressedBlockSize>
PackCompressedBlockSize;
Transform<PixelParameter::UnpackSwapBytes>
UnpackSwapBytes;
Transform<PixelParameter::UnpackLSBFirst>
UnpackLSBFirst;
Transform<PixelParameter::UnpackRowLength>
UnpackRowLength;
Transform<PixelParameter::UnpackSkipRows>
UnpackSkipRows;
Transform<PixelParameter::UnpackSkipPixels>
UnpackSkipPixels;
Transform<PixelParameter::UnpackAlignment>
UnpackAlignment;
Transform<PixelParameter::UnpackImageHeight>
UnpackImageHeight;
Transform<PixelParameter::UnpackSkipImages>
UnpackSkipImages;
Transform<PixelParameter::UnpackCompressedBlockWidth>
UnpackCompressedBlockWidth;
Transform<PixelParameter::UnpackCompressedBlockHeight>
UnpackCompressedBlockHeight;
Transform<PixelParameter::UnpackCompressedBlockDepth>
UnpackCompressedBlockDepth;
Transform<PixelParameter::UnpackCompressedBlockSize>
UnpackCompressedBlockSize;
};
} // namespace enums
#endif
Specialization of EnumToClass for the PixelParameter enumeration. |