*
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
#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__
|
||||
Reference in New Issue
Block a user