Menu

[327ada]: / Source / Tests / Explorer / FXVariable.h  Maximize  Restore  History

Download this file

25 lines (19 with data), 531 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef FXVARIABLE_INCLUDE
#define FXVARIABLE_INCLUDE
#include "FXHandle.h"
#include "Textures.h"
#include "RenderTarget.h"
class FXVariable : public FXHandle {
LPDIRECT3DBASETEXTURE9 current;
public:
FXVariable(const char* name);
~FXVariable();
// TODO: operators maken?
void Set(void* data);
void Set(float data);
void Set(unsigned int data);
void SetTexture(LPDIRECT3DBASETEXTURE9 texture);
void SetTexture(Texture* texture);
void SetTexture(RenderTarget* target);
};
#endif
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.