37 lines
759 B
C++
37 lines
759 B
C++
#pragma once
|
|
#include "c-syncoverrides.hh"
|
|
|
|
#define M_DECL_SOVUI(NAME) \
|
|
bool UI##NAME( A_SyncOverride& ovp , \
|
|
A_SyncData& data , \
|
|
uint32_t& counter , \
|
|
T_StringBuilder& sb ) noexcept
|
|
|
|
namespace sov {
|
|
|
|
class A_SyncData
|
|
{
|
|
public:
|
|
virtual ~A_SyncData( ) = 0;
|
|
|
|
virtual float operator[]( uint32_t index ) const noexcept = 0;
|
|
virtual float& operator[]( uint32_t index ) noexcept = 0;
|
|
|
|
virtual T_OwnPtr< A_SyncData > clone( ) const noexcept = 0;
|
|
};
|
|
|
|
M_DECL_SOVUI( Float );
|
|
M_DECL_SOVUI( Float2 );
|
|
M_DECL_SOVUI( Float3 );
|
|
M_DECL_SOVUI( Float4 );
|
|
|
|
M_DECL_SOVUI( Integer );
|
|
M_DECL_SOVUI( Integer2 );
|
|
M_DECL_SOVUI( Integer3 );
|
|
M_DECL_SOVUI( Integer4 );
|
|
|
|
M_DECL_SOVUI( ColorGrading );
|
|
|
|
M_DECL_SOVUI( Camera );
|
|
|
|
} // namespace sovui
|