123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101 |
- #pragma once
- #include "IReferenceCounted.h"
- #include "SMaterial.h"
- #include "S3DVertex.h"
- namespace irr
- {
- namespace video
- {
- class IVideoDriver;
- class IMaterialRendererServices;
- class IShaderConstantSetCallBack;
- class IMaterialRenderer : public virtual IReferenceCounted
- {
- public:
-
-
- virtual void OnSetMaterial(const SMaterial &material, const SMaterial &lastMaterial,
- bool resetAllRenderstates, IMaterialRendererServices *services) {}
-
-
- virtual bool OnRender(IMaterialRendererServices *service, E_VERTEX_TYPE vtxtype) { return true; }
-
-
- virtual void OnUnsetMaterial() {}
-
-
- virtual bool isTransparent() const { return false; }
-
-
- virtual s32 getRenderCapability() const { return 0; }
-
-
- virtual IShaderConstantSetCallBack *getShaderConstantSetCallBack() const { return 0; }
- };
- }
- }
|