iRendererDefines.h File Reference
#include <igor/iDefines.h>

Namespaces

namespace  igor
 resource parameters texture unit 3
 

Typedefs

typedef uint32 igor::iRenderTargetID
 

Enumerations

enum class  igor::iRenderTargetType { igor::ToTexture , igor::ToRenderBuffer }
 
enum class  igor::iRenderPrimitive { igor::Points , igor::Lines , igor::Triangles }
 
enum class  igor::iStencilFunction {
  igor::Never , igor::Less , igor::Equal , igor::LessOrEqual ,
  igor::Greater , igor::NotEqual , igor::GreaterOrEqual , igor::Always
}
 
enum class  igor::iStencilOperation {
  igor::Keep , igor::Zero , igor::Replace , igor::Increment ,
  igor::Decrement , igor::Invert
}
 
enum class  igor::iRenderState {
  igor::DepthTest , igor::DepthMask , igor::Blend , igor::CullFace ,
  igor::Wireframe , igor::DepthFunc , igor::CullFaceFunc , igor::Instanced ,
  igor::InstancedFunc
}
 
enum class  igor::iRenderStateValue {
  igor::Off = 0 , igor::On = 1 , igor::One , igor::Zero ,
  igor::DestinationColor , igor::OneMinusDestinationColor , igor::SourceAlpha , igor::OneMinusSourceAlpha ,
  igor::DestinationAlpha , igor::OneMinusDestinationAlpha , igor::SourceColor , igor::OneMinusSourceColor ,
  igor::Never , igor::Less , igor::Equal , igor::LessOrEqual ,
  igor::Greater , igor::NotEqual , igor::GreaterOrEqual , igor::Always ,
  igor::Front , igor::Back , igor::Keep , igor::Replace ,
  igor::Increment , igor::IncrementWrap , igor::Decrement , igor::DecrementWrap ,
  igor::Invert , igor::Invalid , igor::PositionOrientationInstancing
}
 
enum class  igor::iShaderDataType {
  igor::None = 0 , igor::Float , igor::Float2 , igor::Float3 ,
  igor::Float4 , igor::Matrix3x3 , igor::Matrix4x4 , igor::Int ,
  igor::Int2 , igor::Int3 , igor::Int4 , igor::Boolean
}
 
enum class  igor::iShaderObjectType { igor::Vertex , igor::Fragment , igor::Geometry }
 

Functions

IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iRenderPrimitive &type)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iStencilFunction &type)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iStencilOperation &type)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iRenderState &state)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iRenderStateValue &value)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iShaderDataType &type)
 
IGOR_API std::wostream & igor::operator<< (std::wostream &stream, const iShaderObjectType &type)
 

Variables

static constexpr const uint32 igor::INVALID_BUFFER_ID = 0
 
static constexpr const int32 igor::MAX_TEXTURE_UNITS = 8
 
const uint32 igor::RENDER_STATE_COUNT = 9
 
static const iRenderTargetID igor::DEFAULT_RENDER_TARGET = 0