OpenWalnut  1.5.0dev
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
wge::GLType< int8_t > Class Reference

Class helping to adapt types specified as template parameter into the best matching OpenGL type. More...

#include <WGETypeTraits.h>

+ Collaboration diagram for wge::GLType< int8_t >:

Public Types

typedef int8_t Type
 The best matching OpenGL type for the specified template parameter. More...
 

Static Public Member Functions

static Type FullIntensity ()
 The value for full intensity. More...
 

Static Public Attributes

static const GLenum TypeEnum = GL_BYTE
 The enum type of OpenGL. More...
 

Detailed Description

Class helping to adapt types specified as template parameter into the best matching OpenGL type.

Definition at line 134 of file WGETypeTraits.h.

Member Typedef Documentation

◆ Type

typedef int8_t wge::GLType< int8_t >::Type

The best matching OpenGL type for the specified template parameter.

Definition at line 140 of file WGETypeTraits.h.

Member Function Documentation

◆ FullIntensity()

static Type wge::GLType< int8_t >::FullIntensity ( )
inlinestatic

The value for full intensity.

Returns
the full intensity value

Definition at line 152 of file WGETypeTraits.h.

Member Data Documentation

◆ TypeEnum

const GLenum wge::GLType< int8_t >::TypeEnum = GL_BYTE
static

The enum type of OpenGL.

Definition at line 145 of file WGETypeTraits.h.


The documentation for this class was generated from the following file: