28 #ifndef HPL_MATERIAL_MODULATIVE_H 29 #define HPL_MATERIAL_MODULATIVE_H 31 #include "hpl1/engine/graphics/GPUProgram.h" 32 #include "hpl1/engine/graphics/Material.h" 41 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D);
47 bool UsesType(eMaterialRenderType aType);
49 iGpuProgram *getGpuProgram(
const eMaterialRenderType aType,
const int alPass,
iLight3D *apLight);
52 bool VertexProgramUsesLight(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
53 bool VertexProgramUsesEye(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
55 eMaterialAlphaMode GetAlphaMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
56 eMaterialBlendMode GetBlendMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
57 eMaterialChannelMode GetChannelMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
59 iTexture *GetTexture(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
60 eMaterialBlendMode GetTextureBlend(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
62 int GetNumOfPasses(eMaterialRenderType aType,
iLight3D *apLight) {
return 1; }
70 bool NextPass(eMaterialRenderType aType) {
return false; }
72 eMaterialType
GetType(eMaterialRenderType aType) {
return eMaterialType_Diffuse; }
73 void EditVertexes(eMaterialRenderType aType,
iCamera *apCam,
iLight *pLight,
82 bool IsCorrect(
tString asName) {
89 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D) {
91 apImageManager, apTextureManager, apRenderer,
92 apProgramManager, aPicture, apRenderer3D));
98 #endif // HPL_MATERIAL_MODULATIVE_H
void EndRendering(eMaterialRenderType aType)
Definition: Material_Modulative.h:68
Definition: Material.h:390
static tString ToLowerCase(tString aString)
Definition: Light3D.h:117
Definition: GpuProgramManager.h:39
bool StartRendering(eMaterialRenderType aType, iCamera *apCam, iLight *pLight)
Definition: Material_Modulative.h:67
Definition: Material.h:181
tVtxBatchFlag GetBatchFlags(eMaterialRenderType aType)
Definition: Material_Modulative.h:69
Definition: Renderer2D.h:79
Definition: Renderer3D.h:139
Definition: TextureManager.h:47
eMaterialType GetType(eMaterialRenderType aType)
Definition: Material_Modulative.h:72
Definition: Material_Modulative.h:80
Definition: ImageManager.h:48
bool NextPass(eMaterialRenderType aType)
Definition: Material_Modulative.h:70
Definition: Material.h:203
Definition: Material_Modulative.h:36
Definition: LowLevelGraphics.h:200
Definition: GPUProgram.h:62
bool HasMultiplePasses(eMaterialRenderType aType)
Definition: Material_Modulative.h:71