Namespaces | Enumerations | Functions
Enums.h File Reference
#include <ionCore.h>
Include dependency graph for Enums.h:

Go to the source code of this file.

Namespaces

 ion
 
 ion::Graphics
 Contains ionGraphics module and implementations.
 

Enumerations

enum  ion::Graphics::EValueType {
  ion::Graphics::EValueType::Error = 0, ion::Graphics::Float = 1, ion::Graphics::EValueType::Float2 = 2, ion::Graphics::EValueType::Float3 = 3,
  ion::Graphics::EValueType::Float4 = 4, ion::Graphics::EValueType::Matrix4x4 = 5, ion::Graphics::Double = 6, ion::Graphics::EValueType::SignedInt8 = 7,
  ion::Graphics::EValueType::SignedInt16 = 8, ion::Graphics::EValueType::SignedInt32 = 9, ion::Graphics::EValueType::UnsignedInt8 = 10, ion::Graphics::EValueType::UnsignedInt16 = 11,
  ion::Graphics::EValueType::UnsignedInt32 = 12
}
 Standard type enum used through module. More...
 
enum  ion::Graphics::EScalarType {
  ion::Graphics::EScalarType::Error = 0, ion::Graphics::Float = 1, ion::Graphics::Double = 2, ion::Graphics::EScalarType::SignedInt8 = 3,
  ion::Graphics::EScalarType::SignedInt16 = 4, ion::Graphics::EScalarType::SignedInt32 = 5, ion::Graphics::EScalarType::UnsignedInt8 = 6, ion::Graphics::EScalarType::UnsignedInt16 = 7,
  ion::Graphics::EScalarType::UnsignedInt32 = 8
}
 Value types that exclude vector types. More...
 
enum  ion::Graphics::EAttributeType {
  ion::Graphics::Float = 0, ion::Graphics::Float = 1, ion::Graphics::Float = 1, ion::Graphics::Int = 1,
  ion::Graphics::UnsignedInt = 2, ion::Graphics::Double = 3, ion::Graphics::Double = 6, ion::Graphics::Double = 2
}
 Possible types for attributes i.e. vertex buffer contents. More...
 

Functions

size_t ion::Graphics::GetValueTypeSize (EValueType const ValueType)
 Gets the sizeof() for a given type. More...
 
string ion::Graphics::GetValueTypeString (EValueType const ValueType)
 Gets the string equivalent of the given enum. More...
 
size_t ion::Graphics::GetAttributeTypeSize (EAttributeType const AttributeType)
 Gets the sizeof() for a given attribute type. More...
 
string ion::Graphics::GetAttributeTypeString (EAttributeType const AttributeType)
 Gets the string equivalent of the given enum. More...