Esempio n. 1
0
//- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -    
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";
};
Esempio n. 2
0
	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();

	}