{
class RenderInstruction;
class Shader;
+class TextureCache;
}
namespace Render
* Process a render-instruction.
* @param[in] instruction The render-instruction to process.
* @param[in] context The GL context.
+ * @param[in] textureCache The texture cache used to get textures.
* @param[in] defaultShader The default shader.
* @param[in] buffer The current render buffer index (previous update buffer)
* @param[in] frameTime The elapsed time between the last two updates.
*/
void ProcessRenderInstruction( const SceneGraph::RenderInstruction& instruction,
Context& context,
+ SceneGraph::TextureCache& textureCache,
SceneGraph::Shader& defaultShader,
BufferIndex bufferIndex,
float frameTime );