void Shader::setGeometryShaderParameters(Ogre::RenderOperation::OperationType in, Ogre::RenderOperation::OperationType out, int max) { GLSLProgram* t = static_cast<GLSLProgram*> (geometry.getPointer()); t->setInputOperationType(in); t->setOutputOperationType(out); t->setMaxOutputVertices(max); }
void GLSLProgram::CmdInputOperationType::doSet(void* target, const String& val) { GLSLProgram* t = static_cast<GLSLProgram*>(target); t->setInputOperationType(parseOperationType(val)); }