igor::iRendererData Struct Reference

Public Attributes

iRenderDataPoints _points
 
iRenderDataLines _lines
 
iRendererDataTriangles _triangles
 
iRendererDataQuads _quads
 
iRendererDataTexturedQuads _texQuads
 
iShaderMaterialPtr _flatShader
 
iShaderMaterialPtr _textureShader
 
iShaderMaterialPtr _flatShaderBlend
 
iShaderMaterialPtr _textureShaderBlend
 
iShaderMaterialPtr _currentShader
 
iShaderMaterialPtr _defaultShader
 
iShaderMaterialPtr _colorIDShader
 
iIndexBufferPtr _sharedQuadIndexBuffer
 
iRenderDataSet _lastRenderDataSetUsed
 
iaMutex _requestedBuffersMutex
 
std::deque< std::pair< iMeshPtr, iMeshBuffersPtr > > _requestedBuffers
 
iaMatrixd _modelMatrix
 
iaMatrixd _viewMatrix
 
iaMatrixd _projectionMatrix
 
iaMatrixd _modelViewMatrix
 
iaMatrixd _modelViewProjectionMatrix
 
iaMatrixd _camMatrix
 
std::map< int32, iRendererLight_lights
 
bool _keepRenderOrder = true
 
bool _wireframeEnabled = false
 
float32 _lineWidth = 1.0f
 
float32 _pointSize = 1.0
 
iTextureFontPtr _font
 
float32 _fontSize = 10.0f
 
float32 _fontLineHeight = 1.15f
 
iaRectanglei _viewport
 
iTexturePtr _fallbackTexture
 
uint32 _currentRenderTarget = DEFAULT_RENDER_TARGET
 
std::map< uint32, iRendererTarget_renderTargets
 
iaColor4f _solidColor
 
iRenderer::iRendererStats _stats
 
iaString _vendor
 
iaString _renderer
 
iaString _version
 
iaString _extensions
 

Detailed Description

all the data needed

Member Data Documentation

◆ _camMatrix

iaMatrixd igor::iRendererData::_camMatrix

◆ _colorIDShader

iShaderMaterialPtr igor::iRendererData::_colorIDShader

the colorID material

◆ _currentRenderTarget

uint32 igor::iRendererData::_currentRenderTarget = DEFAULT_RENDER_TARGET

current render target

◆ _currentShader

iShaderMaterialPtr igor::iRendererData::_currentShader

the current material in use

◆ _defaultShader

iShaderMaterialPtr igor::iRendererData::_defaultShader

the default material

◆ _extensions

iaString igor::iRendererData::_extensions

◆ _fallbackTexture

iTexturePtr igor::iRendererData::_fallbackTexture

fallback texture used when there is no texture available

◆ _flatShader

iShaderMaterialPtr igor::iRendererData::_flatShader

material for flat shaded rendering

◆ _flatShaderBlend

iShaderMaterialPtr igor::iRendererData::_flatShaderBlend

material for flat shaded rendering

◆ _font

iTextureFontPtr igor::iRendererData::_font

font used

◆ _fontLineHeight

float32 igor::iRendererData::_fontLineHeight = 1.15f

font line height

◆ _fontSize

float32 igor::iRendererData::_fontSize = 10.0f

font size

◆ _keepRenderOrder

bool igor::iRendererData::_keepRenderOrder = true

if true render order will be kept by the cost of more draw calls beeing used

◆ _lastRenderDataSetUsed

iRenderDataSet igor::iRendererData::_lastRenderDataSetUsed

stores which render dataset was used last

◆ _lights

std::map<int32, iRendererLight> igor::iRendererData::_lights

list of lights

◆ _lines

iRenderDataLines igor::iRendererData::_lines

lines render data

◆ _lineWidth

float32 igor::iRendererData::_lineWidth = 1.0f

line width

◆ _modelMatrix

iaMatrixd igor::iRendererData::_modelMatrix

◆ _modelViewMatrix

iaMatrixd igor::iRendererData::_modelViewMatrix

◆ _modelViewProjectionMatrix

iaMatrixd igor::iRendererData::_modelViewProjectionMatrix

◆ _points

iRenderDataPoints igor::iRendererData::_points

points render data

◆ _pointSize

float32 igor::iRendererData::_pointSize = 1.0

point size

◆ _projectionMatrix

iaMatrixd igor::iRendererData::_projectionMatrix

◆ _quads

iRendererDataQuads igor::iRendererData::_quads

quads render data

◆ _renderer

iaString igor::iRendererData::_renderer

◆ _renderTargets

std::map<uint32, iRendererTarget> igor::iRendererData::_renderTargets

map of render targets

◆ _requestedBuffers

std::deque<std::pair<iMeshPtr, iMeshBuffersPtr> > igor::iRendererData::_requestedBuffers

◆ _requestedBuffersMutex

iaMutex igor::iRendererData::_requestedBuffersMutex

◆ _sharedQuadIndexBuffer

iIndexBufferPtr igor::iRendererData::_sharedQuadIndexBuffer

quad index buffer

◆ _solidColor

iaColor4f igor::iRendererData::_solidColor

color id value

◆ _stats

iRenderer::iRendererStats igor::iRendererData::_stats

◆ _texQuads

iRendererDataTexturedQuads igor::iRendererData::_texQuads

textured quads render data

◆ _textureShader

iShaderMaterialPtr igor::iRendererData::_textureShader

material for textured rendering

◆ _textureShaderBlend

iShaderMaterialPtr igor::iRendererData::_textureShaderBlend

material for textured rendering

◆ _triangles

iRendererDataTriangles igor::iRendererData::_triangles

triangles render data

◆ _vendor

iaString igor::iRendererData::_vendor

◆ _version

iaString igor::iRendererData::_version

◆ _viewMatrix

iaMatrixd igor::iRendererData::_viewMatrix

◆ _viewport

iaRectanglei igor::iRendererData::_viewport

current viewport dimensions

◆ _wireframeEnabled

bool igor::iRendererData::_wireframeEnabled = false

if true everything will be rendered in wireframe mode


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