iDefines.h File Reference
#include <ostream>
#include <iaux/data/iaString.h>

Namespaces

namespace  igor
 item data entity id
 

Macros

#define IGOR_MAX_ENTITY_COMPONENT_TYPES   64
 
#define IGOR_SUPPORTED_MODEL_EXTENSION(ext)   (std::find(IGOR_SUPPORTED_MODEL_EXTENSIONS.begin(), IGOR_SUPPORTED_MODEL_EXTENSIONS.end(), file.getExtension()) != IGOR_SUPPORTED_MODEL_EXTENSIONS.end())
 supported file extensions for prefabs and scenes More...
 

Typedefs

typedef void * igor::iUserData
 

Enumerations

enum class  igor::iSaveMode { igor::KeepExternals , igor::EmbedExternals }
 
enum class  igor::iHorizontalAlignment {
  igor::Left , igor::Center , igor::Right , igor::Absolute ,
  igor::Stretch , igor::Undefined
}
 
enum class  igor::iVerticalAlignment {
  igor::Top , igor::Center , igor::Bottom , igor::Absolute ,
  igor::Stretch , igor::Undefined
}
 
enum class  igor::iSelectionMode { igor::Cell , igor::Row , igor::Column , igor::NoSelection }
 
enum class  igor::iMaterialVisibility { igor::Private , igor::Public }
 
enum class  igor::iColorFormat { igor::Undefined , igor::RGB , igor::RGBA }
 
enum class  igor::iTextureBuildMode { igor::Normal , igor::Mipmapped }
 
enum class  igor::iTextureWrapMode { igor::Repeat , igor::Clamp , igor::MirrorRepeat }
 
enum class  igor::iTexturePattern { igor::SolidColor , igor::CheckerBoard }
 
enum class  igor::iResourceManagerLoadMode { igor::Application , igor::Synchronized }
 
enum class  igor::iResourceCacheMode { igor::DontCache , igor::Free , igor::Cache , igor::Keep }
 
enum class  igor::iLightType { igor::Directional , igor::Point , igor::Undefined }
 
enum class  igor::iKeyCode {
  igor::Undefined , igor::Backspace , igor::Tab , igor::Return ,
  igor::LShift , igor::LControl , igor::Break , igor::CapsLock ,
  igor::ESC , igor::Space , igor::PgUp , igor::PgDown ,
  igor::End , igor::Home , igor::Left , igor::Up ,
  igor::Right , igor::Down , igor::Insert , igor::Delete ,
  igor::Zero , igor::One , igor::Two , igor::Three ,
  igor::Four , igor::Five , igor::Six , igor::Seven ,
  igor::Eight , igor::Nine , igor::A , igor::B ,
  igor::C , igor::D , igor::E , igor::F ,
  igor::G , igor::H , igor::I , igor::J ,
  igor::K , igor::L , igor::M , igor::N ,
  igor::O , igor::P , igor::Q , igor::R ,
  igor::S , igor::T , igor::U , igor::V ,
  igor::W , igor::X , igor::Y , igor::Z ,
  igor::WindowsLeft , igor::WindowsRight , igor::WindowsContext , igor::NP_Zero ,
  igor::NP_One , igor::NP_Two , igor::NP_Three , igor::NP_Four ,
  igor::NP_Five , igor::NP_Six , igor::NP_Seven , igor::NP_Eight ,
  igor::NP_Nine , igor::NP_Multiply , igor::NP_Add , igor::NP_Subtract ,
  igor::NP_Decimal , igor::NP_Divide , igor::F1 , igor::F2 ,
  igor::F3 , igor::F4 , igor::F5 , igor::F6 ,
  igor::F7 , igor::F8 , igor::F9 , igor::F10 ,
  igor::F11 , igor::F12 , igor::F13 , igor::F14 ,
  igor::F15 , igor::F16 , igor::F17 , igor::F18 ,
  igor::F19 , igor::F20 , igor::F21 , igor::F22 ,
  igor::F23 , igor::F24 , igor::NumLock , igor::ScrollLock ,
  igor::OEM1 , igor::OEMPlus , igor::OEMComma , igor::OEMMinus ,
  igor::OEMPeriod , igor::OEM2 , igor::OEM3 , igor::OEM4 ,
  igor::OEM5 , igor::OEM6 , igor::OEM7 , igor::OEM102 ,
  igor::RControl , igor::AltGr , igor::Alt , igor::Print ,
  igor::RShift , igor::Enter , igor::MouseLeft , igor::MouseMiddle ,
  igor::MouseRight , igor::MouseButton4 , igor::MouseButton5 , igor::MouseWheelUp ,
  igor::MouseWheelDown , igor::KeyCodeCount
}
 

Functions

IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iMaterialVisibility &visibility)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iColorFormat &colorFormat)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iTextureBuildMode &buildMode)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iTextureWrapMode &wrapMode)
 
IAUX_API std::wostream & igor::operator<< (std::wostream &stream, iResourceManagerLoadMode mode)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, iResourceCacheMode cacheMode)
 
std::wostream & igor::operator<< (std::wostream &stream, iLightType lightType)
 

Variables

const iaString IGOR_BUILD_CONFIGURATION
 
const std::vector< iaStringIGOR_SUPPORTED_SPRITE_EXTENSIONS
 Igor build configuration short. More...
 
const std::vector< iaStringIGOR_SUPPORTED_TEXTURE_EXTENSIONS
 supported file extensions for sprites More...
 
const std::vector< iaStringIGOR_SUPPORTED_SHADER_EXTENSIONS
 supported file extensions for textures More...
 
const std::vector< iaStringIGOR_SUPPORTED_MATERIAL_EXTENSIONS
 supported file extensions for shaders More...
 
const std::vector< iaStringIGOR_SUPPORTED_ANIMATION_EXTENSIONS
 supported file extensions for materials More...
 
const std::vector< iaStringIGOR_SUPPORTED_MODEL_EXTENSIONS
 supported file extensions for animations More...
 
const std::vector< iaStringIGOR_SUPPORTED_SOUND_EXTENSIONS
 supported file extensions for models More...
 
const std::vector< iaStringIGOR_SUPPORTED_PREFAB_EXTENSIONS
 supported file extensions for sounds More...
 
const iaString IGOR_RESOURCE_SHADER
 
const iaString IGOR_RESOURCE_MATERIAL
 shader resource name More...
 
const iaString IGOR_RESOURCE_ANIMATION
 material resource name More...
 
const iaString IGOR_RESOURCE_TEXTURE
 animation resource name More...
 
const iaString IGOR_RESOURCE_SOUND
 texture resource name More...
 
const iaString IGOR_RESOURCE_SPRITE
 sound resource name More...
 
const iaString IGOR_RESOURCE_MODEL
 sprite resource name More...
 
const iaString IGOR_RESOURCE_PREFAB
 model resource name More...
 
const iaString IGOR_RESOURCE_PARAM_ID
 prefab resource name More...
 
const iaString IGOR_RESOURCE_PARAM_ALIAS
 resource parameter id More...
 
const iaString IGOR_RESOURCE_PARAM_TYPE
 resource parameter alias More...
 
const iaString IGOR_RESOURCE_PARAM_CACHE_MODE
 resource parameter type More...
 
const iaString IGOR_RESOURCE_PARAM_SOURCE
 resource parameter cache mode More...
 
const iaString IGOR_RESOURCE_PARAM_PIXMAP
 resource parameter filename More...
 
const iaString IGOR_RESOURCE_PARAM_NODE
 resource parameter pixmap More...
 
const iaString IGOR_RESOURCE_PARAM_EXPORT_MODE
 resource parameter node More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE
 resource parameter export mode More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE
 resource parameter texture build mode More...
 
const iaString IGOR_RESOURCE_PARAM_JOIN_VERTICES
 resource parameter texture build mode More...
 
const iaString IGOR_RESOURCE_PARAM_SUB_TYPE
 resource parameter join vertices More...
 
const iaString IGOR_RESOURCE_PARAM_QUIET
 resource parameter sub type More...
 
const iaString IGOR_RESOURCE_PARAM_SHADER
 resource parameter quiet More...
 
const iaString IGOR_RESOURCE_PARAM_MATERIAL
 resource parameter shader More...
 
const iaString IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL
 resource parameter material More...
 
const iaString IGOR_RESOURCE_PARAM_LOD
 resource parameter physics material More...
 
const iaString IGOR_RESOURCE_PARAM_KEEP_MESH
 resource parameter level of detail More...
 
const iaString IGOR_RESOURCE_PARAM_GENERATE
 resource parameter keep mesh More...
 
const iaString IGOR_RESOURCE_PARAM_SEED
 resource parameter generate More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE
 resource parameter seed More...
 
const iaString IGOR_RESOURCE_PARAM_EMISSIVE
 resource parameter texture More...
 
const iaString IGOR_RESOURCE_PARAM_AMBIENT
 resource parameter emissive More...
 
const iaString IGOR_RESOURCE_PARAM_DIFFUSE
 resource parameter ambient More...
 
const iaString IGOR_RESOURCE_PARAM_SPECULAR
 resource parameter diffuse More...
 
const iaString IGOR_RESOURCE_PARAM_SHININESS
 resource parameter specular More...
 
const iaString IGOR_RESOURCE_PARAM_ALPHA
 resource parameter shininess More...
 
const iaString IGOR_RESOURCE_PARAM_TILING
 resource parameter alpha More...
 
const iaString IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID
 resource parameter tiling More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_PATTERN
 resource parameter entity scene More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_WIDTH
 resource parameter texture pattern More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT
 resource parameter texture width More...
 
const iaString IGOR_RESOURCE_PARAM_PRIMARY_COLOR
 resource parameter texture height More...
 
const iaString IGOR_RESOURCE_PARAM_SECONDARY_COLOR
 resource parameter primary color More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE0
 resource parameter secondary color More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE1
 resource parameter texture unit 0 More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE2
 resource parameter texture unit 1 More...
 
const iaString IGOR_RESOURCE_PARAM_TEXTURE3
 resource parameter texture unit 2 More...
 
const iaString IGOR_ITEM_DATA_ID
 resource parameter texture unit 3 More...
 
const iaString IGOR_ITEM_DATA_NAME
 item data type ID More...
 
const iaString IGOR_ITEM_DATA_ICON
 item data type name More...
 
const iaString IGOR_ITEM_DATA_UUID
 item data type icon More...
 
const iaString IGOR_ITEM_DATA_ENABLED
 item data type UUID More...
 
const iaString IGOR_ITEM_DATA_SELECTED
 item data type enabled More...
 
const iaString IGOR_ITEM_DATA_SCENE_ID
 item data type enabled More...
 
const iaString IGOR_ITEM_DATA_ENTITY_ID
 item data scene id More...
 

Macro Definition Documentation

◆ IGOR_MAX_ENTITY_COMPONENT_TYPES

#define IGOR_MAX_ENTITY_COMPONENT_TYPES   64

◆ IGOR_SUPPORTED_MODEL_EXTENSION

#define IGOR_SUPPORTED_MODEL_EXTENSION (   ext)    (std::find(IGOR_SUPPORTED_MODEL_EXTENSIONS.begin(), IGOR_SUPPORTED_MODEL_EXTENSIONS.end(), file.getExtension()) != IGOR_SUPPORTED_MODEL_EXTENSIONS.end())

supported file extensions for prefabs and scenes

Returns
true if given extension fits supported model extensions
Parameters
extextension to test

Variable Documentation

◆ IGOR_BUILD_CONFIGURATION

const iaString IGOR_BUILD_CONFIGURATION
extern

◆ IGOR_ITEM_DATA_ENABLED

const iaString IGOR_ITEM_DATA_ENABLED
extern

item data type UUID

◆ IGOR_ITEM_DATA_ENTITY_ID

const iaString IGOR_ITEM_DATA_ENTITY_ID
extern

item data scene id

◆ IGOR_ITEM_DATA_ICON

const iaString IGOR_ITEM_DATA_ICON
extern

item data type name

◆ IGOR_ITEM_DATA_ID

const iaString IGOR_ITEM_DATA_ID
extern

resource parameter texture unit 3

◆ IGOR_ITEM_DATA_NAME

const iaString IGOR_ITEM_DATA_NAME
extern

item data type ID

◆ IGOR_ITEM_DATA_SCENE_ID

const iaString IGOR_ITEM_DATA_SCENE_ID
extern

item data type enabled

◆ IGOR_ITEM_DATA_SELECTED

const iaString IGOR_ITEM_DATA_SELECTED
extern

item data type enabled

◆ IGOR_ITEM_DATA_UUID

const iaString IGOR_ITEM_DATA_UUID
extern

item data type icon

◆ IGOR_RESOURCE_ANIMATION

const iaString IGOR_RESOURCE_ANIMATION
extern

material resource name

◆ IGOR_RESOURCE_MATERIAL

const iaString IGOR_RESOURCE_MATERIAL
extern

shader resource name

◆ IGOR_RESOURCE_MODEL

const iaString IGOR_RESOURCE_MODEL
extern

sprite resource name

◆ IGOR_RESOURCE_PARAM_ALIAS

const iaString IGOR_RESOURCE_PARAM_ALIAS
extern

resource parameter id

◆ IGOR_RESOURCE_PARAM_ALPHA

const iaString IGOR_RESOURCE_PARAM_ALPHA
extern

resource parameter shininess

◆ IGOR_RESOURCE_PARAM_AMBIENT

const iaString IGOR_RESOURCE_PARAM_AMBIENT
extern

resource parameter emissive

◆ IGOR_RESOURCE_PARAM_CACHE_MODE

const iaString IGOR_RESOURCE_PARAM_CACHE_MODE
extern

resource parameter type

◆ IGOR_RESOURCE_PARAM_DIFFUSE

const iaString IGOR_RESOURCE_PARAM_DIFFUSE
extern

resource parameter ambient

◆ IGOR_RESOURCE_PARAM_EMISSIVE

const iaString IGOR_RESOURCE_PARAM_EMISSIVE
extern

resource parameter texture

◆ IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID

const iaString IGOR_RESOURCE_PARAM_ENTITY_SCENE_ID
extern

resource parameter tiling

◆ IGOR_RESOURCE_PARAM_EXPORT_MODE

const iaString IGOR_RESOURCE_PARAM_EXPORT_MODE
extern

resource parameter node

◆ IGOR_RESOURCE_PARAM_GENERATE

const iaString IGOR_RESOURCE_PARAM_GENERATE
extern

resource parameter keep mesh

◆ IGOR_RESOURCE_PARAM_ID

const iaString IGOR_RESOURCE_PARAM_ID
extern

prefab resource name

◆ IGOR_RESOURCE_PARAM_JOIN_VERTICES

const iaString IGOR_RESOURCE_PARAM_JOIN_VERTICES
extern

resource parameter texture build mode

◆ IGOR_RESOURCE_PARAM_KEEP_MESH

const iaString IGOR_RESOURCE_PARAM_KEEP_MESH
extern

resource parameter level of detail

◆ IGOR_RESOURCE_PARAM_LOD

const iaString IGOR_RESOURCE_PARAM_LOD
extern

resource parameter physics material

◆ IGOR_RESOURCE_PARAM_MATERIAL

const iaString IGOR_RESOURCE_PARAM_MATERIAL
extern

resource parameter shader

◆ IGOR_RESOURCE_PARAM_NODE

const iaString IGOR_RESOURCE_PARAM_NODE
extern

resource parameter pixmap

◆ IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL

const iaString IGOR_RESOURCE_PARAM_PHYSICS_MATERIAL
extern

resource parameter material

◆ IGOR_RESOURCE_PARAM_PIXMAP

const iaString IGOR_RESOURCE_PARAM_PIXMAP
extern

resource parameter filename

◆ IGOR_RESOURCE_PARAM_PRIMARY_COLOR

const iaString IGOR_RESOURCE_PARAM_PRIMARY_COLOR
extern

resource parameter texture height

◆ IGOR_RESOURCE_PARAM_QUIET

const iaString IGOR_RESOURCE_PARAM_QUIET
extern

resource parameter sub type

◆ IGOR_RESOURCE_PARAM_SECONDARY_COLOR

const iaString IGOR_RESOURCE_PARAM_SECONDARY_COLOR
extern

resource parameter primary color

◆ IGOR_RESOURCE_PARAM_SEED

const iaString IGOR_RESOURCE_PARAM_SEED
extern

resource parameter generate

◆ IGOR_RESOURCE_PARAM_SHADER

const iaString IGOR_RESOURCE_PARAM_SHADER
extern

resource parameter quiet

◆ IGOR_RESOURCE_PARAM_SHININESS

const iaString IGOR_RESOURCE_PARAM_SHININESS
extern

resource parameter specular

◆ IGOR_RESOURCE_PARAM_SOURCE

const iaString IGOR_RESOURCE_PARAM_SOURCE
extern

resource parameter cache mode

◆ IGOR_RESOURCE_PARAM_SPECULAR

const iaString IGOR_RESOURCE_PARAM_SPECULAR
extern

resource parameter diffuse

◆ IGOR_RESOURCE_PARAM_SUB_TYPE

const iaString IGOR_RESOURCE_PARAM_SUB_TYPE
extern

resource parameter join vertices

◆ IGOR_RESOURCE_PARAM_TEXTURE

const iaString IGOR_RESOURCE_PARAM_TEXTURE
extern

resource parameter seed

◆ IGOR_RESOURCE_PARAM_TEXTURE0

const iaString IGOR_RESOURCE_PARAM_TEXTURE0
extern

resource parameter secondary color

◆ IGOR_RESOURCE_PARAM_TEXTURE1

const iaString IGOR_RESOURCE_PARAM_TEXTURE1
extern

resource parameter texture unit 0

◆ IGOR_RESOURCE_PARAM_TEXTURE2

const iaString IGOR_RESOURCE_PARAM_TEXTURE2
extern

resource parameter texture unit 1

◆ IGOR_RESOURCE_PARAM_TEXTURE3

const iaString IGOR_RESOURCE_PARAM_TEXTURE3
extern

resource parameter texture unit 2

◆ IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE

const iaString IGOR_RESOURCE_PARAM_TEXTURE_BUILD_MODE
extern

resource parameter export mode

◆ IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT

const iaString IGOR_RESOURCE_PARAM_TEXTURE_HEIGHT
extern

resource parameter texture width

◆ IGOR_RESOURCE_PARAM_TEXTURE_PATTERN

const iaString IGOR_RESOURCE_PARAM_TEXTURE_PATTERN
extern

resource parameter entity scene

◆ IGOR_RESOURCE_PARAM_TEXTURE_WIDTH

const iaString IGOR_RESOURCE_PARAM_TEXTURE_WIDTH
extern

resource parameter texture pattern

◆ IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE

const iaString IGOR_RESOURCE_PARAM_TEXTURE_WRAP_MODE
extern

resource parameter texture build mode

◆ IGOR_RESOURCE_PARAM_TILING

const iaString IGOR_RESOURCE_PARAM_TILING
extern

resource parameter alpha

◆ IGOR_RESOURCE_PARAM_TYPE

const iaString IGOR_RESOURCE_PARAM_TYPE
extern

resource parameter alias

◆ IGOR_RESOURCE_PREFAB

const iaString IGOR_RESOURCE_PREFAB
extern

model resource name

◆ IGOR_RESOURCE_SHADER

const iaString IGOR_RESOURCE_SHADER
extern

◆ IGOR_RESOURCE_SOUND

const iaString IGOR_RESOURCE_SOUND
extern

texture resource name

◆ IGOR_RESOURCE_SPRITE

const iaString IGOR_RESOURCE_SPRITE
extern

sound resource name

◆ IGOR_RESOURCE_TEXTURE

const iaString IGOR_RESOURCE_TEXTURE
extern

animation resource name

◆ IGOR_SUPPORTED_ANIMATION_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_ANIMATION_EXTENSIONS
extern

supported file extensions for materials

◆ IGOR_SUPPORTED_MATERIAL_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_MATERIAL_EXTENSIONS
extern

supported file extensions for shaders

◆ IGOR_SUPPORTED_MODEL_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_MODEL_EXTENSIONS
extern

supported file extensions for animations

◆ IGOR_SUPPORTED_PREFAB_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_PREFAB_EXTENSIONS
extern

supported file extensions for sounds

◆ IGOR_SUPPORTED_SHADER_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SHADER_EXTENSIONS
extern

supported file extensions for textures

◆ IGOR_SUPPORTED_SOUND_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SOUND_EXTENSIONS
extern

supported file extensions for models

◆ IGOR_SUPPORTED_SPRITE_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_SPRITE_EXTENSIONS
extern

Igor build configuration short.

◆ IGOR_SUPPORTED_TEXTURE_EXTENSIONS

const std::vector<iaString> IGOR_SUPPORTED_TEXTURE_EXTENSIONS
extern

supported file extensions for sprites