Skylicht Engine
Loading...
Searching...
No Matches
IMaterialRendererServices.h
1// Copyright (C) 2002-2012 Nikolaus Gebhardt
2// This file is part of the "Irrlicht Engine".
3// For conditions of distribution and use, see copyright notice in irrlicht.h
4
5#ifndef __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__
6#define __I_MATERIAL_RENDERER_SERVICES_H_INCLUDED__
7
8#include "SMaterial.h"
9#include "S3DVertex.h"
10
11namespace irr
12{
13namespace video
14{
15
16class IVideoDriver;
17
18
21{
22public:
23
26
28
37 virtual void setBasicRenderStates(const SMaterial& material,
38 const SMaterial& lastMaterial,
39 bool resetAllRenderstates) = 0;
40
42
44};
45
46} // end namespace video
47} // end namespace irr
48
49#endif
50
Interface providing some methods for changing advanced, internal states of a IVideoDriver.
Definition IMaterialRendererServices.h:21
virtual void setBasicRenderStates(const SMaterial &material, const SMaterial &lastMaterial, bool resetAllRenderstates)=0
Can be called by an IMaterialRenderer to make its work easier.
virtual ~IMaterialRendererServices()
Destructor.
Definition IMaterialRendererServices.h:25
virtual IVideoDriver * getVideoDriver()=0
Get pointer to the IVideoDriver interface.
Interface to driver which is able to perform 2d and 3d graphics functions.
Definition IVideoDriver.h:388
Struct for holding parameters for a material renderer.
Definition SMaterial.h:255
The video namespace contains classes for accessing the video driver. All 2d and 3d rendering is done ...
Definition EDriverFeatures.h:11
Everything in the Irrlicht Engine can be found in this namespace.
Definition Skylicht.h:33