30 lines
439 B
C++
30 lines
439 B
C++
#ifndef IInputLayout_h__
|
|
#define IInputLayout_h__
|
|
|
|
#include "render/IInputElement.h"
|
|
|
|
namespace LifeGraphics
|
|
{
|
|
class IInputLayout : public IResource
|
|
{
|
|
public:
|
|
IInputLayout():elementCount(0)
|
|
{
|
|
}
|
|
virtual ~IInputLayout()
|
|
{
|
|
}
|
|
int count()
|
|
{
|
|
return elementCount;
|
|
}
|
|
IInputElement* GetElements() const
|
|
{
|
|
return elements;
|
|
}
|
|
protected:
|
|
IInputElement* elements;
|
|
int elementCount;
|
|
};
|
|
}
|
|
#endif // IInputLayout_h__
|