//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - void CapacityRegion::init(xmlNodePtr cur) { // Initiate as a region model RegionModel::init(cur); // Initiate the building schedule initBuild(cur); // Initiate the capacity data initCapacity(cur); LOG(LEV_DEBUG2, "none!") << "checking stage 1"; };
void TextureShowShader::build() { initBuild(); //TODO //assert(0&&"TextureShowShader::build(): implement me"); //build vert and frag shader generateShaderStage(VERTEX_SHADER_STAGE,mTemplateEngine,*mTemplateContextMap); generateShaderStage(FRAGMENT_SHADER_STAGE,mTemplateEngine,*mTemplateContextMap); finishBuild(); }