OGLplus (0.52.0) a C++ wrapper for OpenGL

data_type.hpp File Reference

Data type-related declarations. More...

#include <oglplus/enumerations.hpp>
#include <type_traits>
#include <oglplus/enums/data_type.ipp>
#include <oglplus/enums/data_type_range.ipp>
#include <oglplus/enums/sl_data_type.ipp>
#include <oglplus/enums/sl_data_type_range.ipp>

Go to the source code of this file.

Classes

struct  oglplus::TypeTag< GLtype >
 A tag template used mainly for data-type-based function overload dispatching. More...
 

Namespaces

 oglplus
 All definitions of OGLplus are nested in the oglplus namespace.
 

Enumerations

enum  oglplus::DataType : GLenum {
  oglplus::DataType::Byte,
  oglplus::DataType::Short,
  oglplus::DataType::Int,
  oglplus::DataType::Fixed,
  oglplus::DataType::Float,
  oglplus::DataType::HalfFloat,
  oglplus::DataType::Double,
  oglplus::DataType::UnsignedByte,
  oglplus::DataType::UnsignedShort,
  oglplus::DataType::UnsignedInt
}
 OpenGL data type enumeration. More...
 
enum  oglplus::SLDataType : GLenum {
  oglplus::SLDataType::Float,
  oglplus::SLDataType::FloatVec2,
  oglplus::SLDataType::FloatVec3,
  oglplus::SLDataType::FloatVec4,
  oglplus::SLDataType::Double,
  oglplus::SLDataType::DoubleVec2,
  oglplus::SLDataType::DoubleVec3,
  oglplus::SLDataType::DoubleVec4,
  oglplus::SLDataType::Int,
  oglplus::SLDataType::IntVec2,
  oglplus::SLDataType::IntVec3,
  oglplus::SLDataType::IntVec4,
  oglplus::SLDataType::UnsignedInt,
  oglplus::SLDataType::UnsignedIntVec2,
  oglplus::SLDataType::UnsignedIntVec3,
  oglplus::SLDataType::UnsignedIntVec4,
  oglplus::SLDataType::Bool,
  oglplus::SLDataType::BoolVec2,
  oglplus::SLDataType::BoolVec3,
  oglplus::SLDataType::BoolVec4,
  oglplus::SLDataType::FloatMat2,
  oglplus::SLDataType::FloatMat3,
  oglplus::SLDataType::FloatMat4,
  oglplus::SLDataType::FloatMat2x3,
  oglplus::SLDataType::FloatMat2x4,
  oglplus::SLDataType::FloatMat3x2,
  oglplus::SLDataType::FloatMat3x4,
  oglplus::SLDataType::FloatMat4x2,
  oglplus::SLDataType::FloatMat4x3,
  oglplus::SLDataType::DoubleMat2,
  oglplus::SLDataType::DoubleMat3,
  oglplus::SLDataType::DoubleMat4,
  oglplus::SLDataType::DoubleMat2x3,
  oglplus::SLDataType::DoubleMat2x4,
  oglplus::SLDataType::DoubleMat3x2,
  oglplus::SLDataType::DoubleMat3x4,
  oglplus::SLDataType::DoubleMat4x2,
  oglplus::SLDataType::DoubleMat4x3,
  oglplus::SLDataType::Sampler1D,
  oglplus::SLDataType::Sampler2D,
  oglplus::SLDataType::Sampler3D,
  oglplus::SLDataType::SamplerCube,
  oglplus::SLDataType::Sampler1DShadow,
  oglplus::SLDataType::Sampler2DShadow,
  oglplus::SLDataType::Sampler1DArray,
  oglplus::SLDataType::Sampler2DArray,
  oglplus::SLDataType::SamplerCubeMapArray,
  oglplus::SLDataType::Sampler1DArrayShadow,
  oglplus::SLDataType::Sampler2DArrayShadow,
  oglplus::SLDataType::Sampler2DMultisample,
  oglplus::SLDataType::Sampler2DMultisampleArray,
  oglplus::SLDataType::SamplerCubeShadow,
  oglplus::SLDataType::SamplerCubeMapArrayShadow,
  oglplus::SLDataType::SamplerBuffer,
  oglplus::SLDataType::Sampler2DRect,
  oglplus::SLDataType::Sampler2DRectShadow,
  oglplus::SLDataType::IntSampler1D,
  oglplus::SLDataType::IntSampler2D,
  oglplus::SLDataType::IntSampler3D,
  oglplus::SLDataType::IntSamplerCube,
  oglplus::SLDataType::IntSampler1DArray,
  oglplus::SLDataType::IntSampler2DArray,
  oglplus::SLDataType::IntSamplerCubeMapArray,
  oglplus::SLDataType::IntSampler2DMultisample,
  oglplus::SLDataType::IntSampler2DMultisampleArray,
  oglplus::SLDataType::IntSamplerBuffer,
  oglplus::SLDataType::IntSampler2DRect,
  oglplus::SLDataType::UnsignedIntSampler1D,
  oglplus::SLDataType::UnsignedIntSampler2D,
  oglplus::SLDataType::UnsignedIntSampler3D,
  oglplus::SLDataType::UnsignedIntSamplerCube,
  oglplus::SLDataType::UnsignedIntSampler1DArray,
  oglplus::SLDataType::UnsignedIntSampler2DArray,
  oglplus::SLDataType::UnsignedIntSamplerCubeMapArray,
  oglplus::SLDataType::UnsignedIntSampler2DMultisample,
  oglplus::SLDataType::UnsignedIntSampler2DMultisampleArray,
  oglplus::SLDataType::UnsignedIntSamplerBuffer,
  oglplus::SLDataType::UnsignedIntSampler2DRect,
  oglplus::SLDataType::Image1D,
  oglplus::SLDataType::Image2D,
  oglplus::SLDataType::Image3D,
  oglplus::SLDataType::Image2DRect,
  oglplus::SLDataType::ImageCube,
  oglplus::SLDataType::ImageBuffer,
  oglplus::SLDataType::Image1DArray,
  oglplus::SLDataType::Image2DArray,
  oglplus::SLDataType::Image2DMultisample,
  oglplus::SLDataType::Image2DMultisampleArray,
  oglplus::SLDataType::IntImage1D,
  oglplus::SLDataType::IntImage2D,
  oglplus::SLDataType::IntImage3D,
  oglplus::SLDataType::IntImage2DRect,
  oglplus::SLDataType::IntImageCube,
  oglplus::SLDataType::IntImageBuffer,
  oglplus::SLDataType::IntImage1DArray,
  oglplus::SLDataType::IntImage2DArray,
  oglplus::SLDataType::IntImage2DMultisample,
  oglplus::SLDataType::IntImage2DMultisampleArray,
  oglplus::SLDataType::UnsignedIntImage1D,
  oglplus::SLDataType::UnsignedIntImage2D,
  oglplus::SLDataType::UnsignedIntImage3D,
  oglplus::SLDataType::UnsignedIntImage2DRect,
  oglplus::SLDataType::UnsignedIntImageCube,
  oglplus::SLDataType::UnsignedIntImageBuffer,
  oglplus::SLDataType::UnsignedIntImage1DArray,
  oglplus::SLDataType::UnsignedIntImage2DArray,
  oglplus::SLDataType::UnsignedIntImage2DMultisample,
  oglplus::SLDataType::UnsignedIntImage2DMultisampleArray,
  oglplus::SLDataType::UnsignedIntAtomicCounter,
  oglplus::SLDataType::None
}
 OpenGL Shading Language data type enumeration. More...
 

Functions

template<typename T >
DataType oglplus::GetDataType (void)
 Returns the DataType for the specified type T.
 

Detailed Description

Data type-related declarations.

Author
Matus Chochlik

Copyright 2010-2014 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)


Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).