28 #ifndef HPL_MATERIAL_FALLBACK02_BASE_LIGHT_H 29 #define HPL_MATERIAL_FALLBACK02_BASE_LIGHT_H 31 #include "hpl1/engine/graphics/Material.h" 32 #include "hpl1/engine/scene/Light3D.h" 34 #include "hpl1/engine/graphics/Material_BaseLight.h" 46 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D);
52 bool UsesType(eMaterialRenderType aType);
54 iGpuProgram *getGpuProgram(
const eMaterialRenderType aType,
const int alPass,
iLight3D *apLight);
57 bool VertexProgramUsesLight(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
58 bool VertexProgramUsesEye(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
60 eMaterialAlphaMode GetAlphaMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
61 eMaterialBlendMode GetBlendMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
62 eMaterialChannelMode GetChannelMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
64 iTexture *GetTexture(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
65 eMaterialBlendMode GetTextureBlend(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
67 int GetNumOfPasses(eMaterialRenderType aType,
iLight3D *apLight);
75 bool NextPass(eMaterialRenderType aType) {
return false; }
77 eMaterialType
GetType(eMaterialRenderType aType) {
return eMaterialType_Diffuse; }
78 void EditVertexes(eMaterialRenderType aType,
iCamera *apCam,
iLight *pLight,
87 iGpuProgram *_gpuPrograms[eBaseLightProgram_LastEnum];
103 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D)
105 asName, apLowLevelGraphics, apImageManager, apTextureManager, apRenderer, apProgramManager,
106 aPicture, apRenderer3D) {
114 #endif // HPL_MATERIAL_FALLBACK02_BASE_LIGHT_H
Definition: Light3D.h:117
Definition: Material_Fallback02_BaseLight.h:98
Definition: GpuProgramManager.h:39
Definition: Material.h:181
Definition: Renderer2D.h:79
Definition: Renderer3D.h:139
void EndRendering(eMaterialRenderType aType)
Definition: Material_Fallback02_BaseLight.h:73
bool StartRendering(eMaterialRenderType aType, iCamera *apCam, iLight *pLight)
Definition: Material_Fallback02_BaseLight.h:72
Definition: TextureManager.h:47
Definition: Material_Fallback02_BaseLight.h:40
tVtxBatchFlag GetBatchFlags(eMaterialRenderType aType)
Definition: Material_Fallback02_BaseLight.h:74
Definition: ImageManager.h:48
eMaterialType GetType(eMaterialRenderType aType)
Definition: Material_Fallback02_BaseLight.h:77
Definition: Material.h:203
Definition: LowLevelGraphics.h:200
Definition: GPUProgram.h:62
bool HasMultiplePasses(eMaterialRenderType aType)
Definition: Material_Fallback02_BaseLight.h:76
bool NextPass(eMaterialRenderType aType)
Definition: Material_Fallback02_BaseLight.h:75