Shader linking i guess
This commit is contained in:
@@ -26,7 +26,8 @@ struct netmap_t
|
||||
uint32_t m_uFieldCount;
|
||||
};
|
||||
|
||||
#define NetPropInt(name) { #name, FIELD_INT, _class_offsetof(ThisClass, name), sizeof(name)}
|
||||
#define NetPropInt(name) { #name, FIELD_INTEGER, _class_offsetof(ThisClass, name), sizeof(name)}
|
||||
#define NetPropBool(name) { #name, FIELD_BOOLEAN, _class_offsetof(ThisClass, name), sizeof(name)}
|
||||
#define NetPropString(name) { #name, FIELD_STRING, _class_offsetof(ThisClass, name), sizeof(name)}
|
||||
#define NetPropFloat(name) { #name, FIELD_FLOAT, _class_offsetof(ThisClass, name), sizeof(name)}
|
||||
#define NetPropFloat3(name) \
|
||||
@@ -37,7 +38,12 @@ struct netmap_t
|
||||
NetPropFloat(name.x), \
|
||||
NetPropFloat(name.y), \
|
||||
NetPropFloat(name.z), \
|
||||
NetPropFloat(name.w) \
|
||||
NetPropFloat(name.w)
|
||||
#define NetPropColor4(name) \
|
||||
NetPropFloat(name.r), \
|
||||
NetPropFloat(name.g), \
|
||||
NetPropFloat(name.b), \
|
||||
NetPropFloat(name.a)
|
||||
|
||||
#define __DECLARE_NETCLASS_NOBASE() \
|
||||
netmap_t *GetBaseSendMap(); \
|
||||
|
||||
Reference in New Issue
Block a user