28 #ifndef HPL_MATERIAL_FLAT_H 29 #define HPL_MATERIAL_FLAT_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 bool VertexProgramUsesLight(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
50 bool VertexProgramUsesEye(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
52 eMaterialAlphaMode GetAlphaMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
53 eMaterialBlendMode GetBlendMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
54 eMaterialChannelMode GetChannelMode(eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
56 iTexture *GetTexture(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
57 eMaterialBlendMode GetTextureBlend(
int alUnit, eMaterialRenderType aType,
int alPass,
iLight3D *apLight);
59 int GetNumOfPasses(eMaterialRenderType aType,
iLight3D *apLight);
67 bool NextPass(eMaterialRenderType aType) {
return false; }
69 eMaterialType
GetType(eMaterialRenderType aType) {
return eMaterialType_Diffuse; }
70 void EditVertexes(eMaterialRenderType aType,
iCamera *apCam,
iLight *pLight,
76 bool IsCorrect(
tString asName) {
83 eMaterialPicture aPicture,
cRenderer3D *apRenderer3D) {
85 apImageManager, apTextureManager, apRenderer,
86 apProgramManager, aPicture, apRenderer3D));
92 #endif // HPL_MATERIAL_FLAT_H
Definition: Material.h:390
void EndRendering(eMaterialRenderType aType)
Definition: Material_Flat.h:65
static tString ToLowerCase(tString aString)
bool StartRendering(eMaterialRenderType aType, iCamera *apCam, iLight *pLight)
Definition: Material_Flat.h:64
Definition: Light3D.h:117
Definition: GpuProgramManager.h:39
tVtxBatchFlag GetBatchFlags(eMaterialRenderType aType)
Definition: Material_Flat.h:66
eMaterialType GetType(eMaterialRenderType aType)
Definition: Material_Flat.h:69
bool HasMultiplePasses(eMaterialRenderType aType)
Definition: Material_Flat.h:68
Definition: Renderer2D.h:79
Definition: Renderer3D.h:139
Definition: TextureManager.h:47
Definition: Material_Flat.h:36
Definition: ImageManager.h:48
Definition: Material.h:203
bool NextPass(eMaterialRenderType aType)
Definition: Material_Flat.h:67
Definition: Material_Flat.h:74
Definition: LowLevelGraphics.h:200