47 SO3_POLYGONMODE_POINTS = 1,
48 SO3_POLYGONMODE_WIREFRAME = 2,
49 SO3_POLYGONMODE_SOLID = 3
57 SO3_SCENE_BLEND_OPERATION_MAX
70 SO3_SCENE_BLEND_FACTOR_ONE_MINUS_SOURCE_ALPHA
81 SO3_COMPARE_FUNCTION_GREATER
101 static std::string GetTextureUnitTypedName(Ogre::TextureUnitState* unit);
113 Ogre::Pass* GetOgrePassPointer();
117 int GetNumTextureUnitStates();
121 std::string GetTextureUnitName(
const unsigned int& textureUnit);
125 int GetTextureUnitIndexByName(
const std::string& texname);
129 std::string GetTextureName(
const unsigned int& textureUnit);
133 std::string GetTextureFileName(
const unsigned int& textureUnit);
138 void SetTextureUScroll(
const unsigned int& textureUnit,
const float& value);
142 float GetTextureUScroll(
const unsigned int& textureUnit);
147 void SetTextureVScroll(
const unsigned int& textureUnit,
const float& value);
151 float GetTextureVScroll(
const unsigned int& textureUnit);
156 void SetTextureUScale(
const unsigned int& textureUnit,
const float& value);
160 float GetTextureUScale(
const unsigned int& textureUnit);
165 void SetTextureVScale(
const unsigned int& textureUnit,
const float& value);
169 float GetTextureVScale(
const unsigned int& textureUnit);
174 void SetTextureRotate(
const unsigned int& textureUnit,
const float& radianAngle);
178 const float GetTextureRotate(
const unsigned int& textureUnit);
183 void SetTextureScrollAnimation(
const unsigned int& textureUnit,
const float& uSpeed,
const float& vSpeed);
188 void SetTextureRotateAnimation(
const unsigned int& textureUnit,
const float& speed);
192 bool GetLightingEnabled();
196 void SetLightingEnabled(
const bool& state);
200 void SetAmbientColor(
const int& color);
201 void SetAmbientColor(Ogre::ColourValue color);
205 int GetAmbientColor();
209 void SetDiffuseColor(
const int& color);
210 void SetDiffuseColor(Ogre::ColourValue color);
214 int GetDiffuseColor();
218 void SetSpecularColor(
const int& color);
219 void SetSpecularColor(Ogre::ColourValue color);
223 int GetSpecularColor();
227 void SetSelfIlluminationColor(
const int& color);
228 void SetSelfIlluminationColor(Ogre::ColourValue color);
232 int GetSelfIlluminationColor();
236 void SetShininess(
const float& value);
240 float GetShininess();
244 void SetUseVertexColor(
bool state);
248 bool GetUseVertexColor();
252 void SetTexture(
const unsigned int& textureUnit,
STexture* texture, std::string name =
"");
256 STexture* GetTexture(
const unsigned int& textureUnit);
264 const Ogre::GpuNamedConstants GetVertexProgramParameters();
268 void SetVertexProgramAutoParameter(
const std::string& paramName,
const Ogre::GpuProgramParameters::AutoConstantType& paramType,
const size_t& paramExtraInfos);
272 void SetVertexProgramParameter(
const std::string& paramName,
const std::string& value);
276 const Ogre::GpuNamedConstants GetFragmentProgramParameters();
280 void SetFragmentProgramAutoParameter(
const std::string& paramName,
const Ogre::GpuProgramParameters::AutoConstantType& paramType,
const size_t& paramExtraInfos);
284 void SetFragmentProgramParameter(
const std::string& paramName,
const std::string& value);
325 void SetDepthCheckEnabled(
bool enabled);
330 bool GetDepthCheckEnabled()
const;
335 void SetDepthWriteEnabled(
bool enabled);
340 bool GetDepthWriteEnabled()
const;
355 void SetAlphaRejection(
CompareFunction func,
unsigned char value,
bool alphaToCoverageEnabled=
false);
365 unsigned char GetAlphaRejectionValue()
const;
370 bool GetAlphaToCoverage()
const;
375 void SetColourWriteEnabled(
bool state);
380 bool GetColourWriteEnabled()
const;
385 void SetCullingMode(
const bool state);
390 bool GetCullingMode()
const;
395 void SetPointSize(Ogre::Real size);
399 float GetPointSize();
418 bool IsShaderGenerated();
422 void CleanGeneratedShader();
426 void BuildShader(
bool force =
false);
430 void SetTextureUnitColorBlendModeFactor(
const unsigned int& textureUnit,
float factor);
434 float GetTextureUnitColorBlendModeFactor(
const unsigned int& textureUnit);
438 void RemoveTexture(
const unsigned int& textureUnit);
450 void UpdateGeneratedPass(
bool full =
false);
454 void OrderTexturesUnitsByType();
465 Ogre::TextureUnitState* GetTextureUnitState(
const unsigned int& textureUnit);