Logo
ResourceServer.h
1#pragma once
2
3#include "Types.h"
4#include "base/ResourceServer.h"
5#include "io/FS.h"
6
7namespace SharpKmyBase
8{
9 public ref class StdResourceServer
10 {
11 public:
12 static void CheckData(array<unsigned char>^ buffer, bool p);
13 static void CheckData(unsigned char* buffer, u32 size);
14 static int GetDataVersion();
15 static void SetDataVersion(int version);
16
17 kmyBase::StdResourceServer *svr;
18 kmyIO::FS *fs;
20 void Release();
21 void addTexturePath(System::String ^path);
22 void addShaderPath(System::String ^path);
23 void bringToFront(System::String ^path);
24 array<System::String^>^ getShaderList();
25 array<System::String^>^ getTextureList();
26 };
27}
Definition: ResourceServer.h:10
void bringToFront(System::String ^path)
Definition: ResourceServer.cpp:71
void Release()
Definition: ResourceServer.cpp:46
static int GetDataVersion()
Definition: ResourceServer.cpp:23
static void SetDataVersion(int version)
Definition: ResourceServer.cpp:30
StdResourceServer()
Definition: ResourceServer.cpp:37
static void CheckData(array< unsigned char >^ buffer, bool p)
Definition: ResourceServer.cpp:7
kmyBase::StdResourceServer * svr
Definition: ResourceServer.h:17
void addTexturePath(System::String ^path)
Definition: ResourceServer.cpp:55
void addShaderPath(System::String ^path)
Definition: ResourceServer.cpp:63
array< System::String^> getShaderList()
Definition: ResourceServer.cpp:80
array< System::String^> getTextureList()
Definition: ResourceServer.cpp:97
kmyIO::FS * fs
Definition: ResourceServer.h:18
Definition: Asset.cpp:6