28 #ifndef HPL_MATERIAL_ENVMAP_REFLECT_H 29 #define HPL_MATERIAL_ENVMAP_REFLECT_H 31 #include "hpl1/engine/graphics/Material.h" 50 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D);
56 bool UsesType(eMaterialRenderType aType);
58 iGpuProgram *getGpuProgram(
const eMaterialRenderType aType,
const int alPass,
iLight3D *apLight);
61 bool VertexProgramUsesLight(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
62 bool VertexProgramUsesEye(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
64 eMaterialAlphaMode GetAlphaMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
65 eMaterialBlendMode GetBlendMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
66 eMaterialChannelMode GetChannelMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
68 iTexture *GetTexture(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
69 eMaterialBlendMode GetTextureBlend(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
71 int GetNumOfPasses(eMaterialRenderType aType,
iLight3D *apLight) {
return 1; }
79 bool NextPass(eMaterialRenderType aType) {
return false; }
81 eMaterialType
GetType(eMaterialRenderType aType) {
return eMaterialType_Diffuse; }
82 void EditVertexes(eMaterialRenderType aType,
iCamera *apCam,
iLight *pLight,
92 bool IsCorrect(
tString asName) {
99 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D) {
101 apImageManager, apTextureManager, apRenderer,
102 apProgramManager, aPicture, apRenderer3D));
108 #endif // HPL_MATERIAL_ENVMAP_REFLECT_H bool StartRendering(eMaterialRenderType aType, iCamera *apCam, iLight *pLight)
Definition: Material_EnvMap_Reflect.h:76
Definition: Material_EnvMap_Reflect.h:45
Definition: Material.h:390
Definition: Renderer3D.h:77
tVtxBatchFlag GetBatchFlags(eMaterialRenderType aType)
Definition: Material_EnvMap_Reflect.h:78
static tString ToLowerCase(tString aString)
eMaterialType GetType(eMaterialRenderType aType)
Definition: Material_EnvMap_Reflect.h:81
Definition: Light3D.h:117
Definition: Material_EnvMap_Reflect.h:90
Definition: GpuProgramManager.h:39
bool HasMultiplePasses(eMaterialRenderType aType)
Definition: Material_EnvMap_Reflect.h:80
Definition: Material.h:181
void EndRendering(eMaterialRenderType aType)
Definition: Material_EnvMap_Reflect.h:77
Definition: Renderer2D.h:79
Definition: Renderer3D.h:139
Definition: TextureManager.h:47
bool NextPass(eMaterialRenderType aType)
Definition: Material_EnvMap_Reflect.h:79
Definition: ImageManager.h:48
Definition: Material.h:203
Definition: Material_EnvMap_Reflect.h:37
Definition: LowLevelGraphics.h:200
Definition: GPUProgram.h:62