*
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
#ifndef IInputElement_h__
|
||||
#define IInputElement_h__
|
||||
|
||||
#include "LString.h"
|
||||
|
||||
namespace LifeGraphics
|
||||
{
|
||||
struct IInputElement
|
||||
{
|
||||
String Name;
|
||||
int SemanticIndex;
|
||||
int Offset;
|
||||
int Format;
|
||||
int Slot;
|
||||
int IsInstancingData;
|
||||
int InstancingRate;
|
||||
|
||||
IInputElement(String name, int semanticIndex, int offset, int format, int slot, int isInstData, int instancingRate)
|
||||
{
|
||||
Name = name;
|
||||
SemanticIndex = semanticIndex;
|
||||
Offset = offset;
|
||||
Format = format;
|
||||
Slot = slot;
|
||||
IsInstancingData = isInstData;
|
||||
InstancingRate = instancingRate;
|
||||
}
|
||||
|
||||
IInputElement(String name, int semanticIndex, int offset, int format, int slot)
|
||||
{
|
||||
Name = name;
|
||||
SemanticIndex = semanticIndex;
|
||||
Offset = offset;
|
||||
Format = format;
|
||||
Slot = slot;
|
||||
IsInstancingData = 0;
|
||||
InstancingRate = 0;
|
||||
}
|
||||
IInputElement()
|
||||
{
|
||||
}
|
||||
};
|
||||
}
|
||||
#endif // IInputElement_h__
|
||||
Reference in New Issue
Block a user