Logo
Asset.h
1#pragma once
2
3namespace SharpKmyGfx
4{
5 ref class Texture;
6 ref class ModelData;
7}
8
10{
11 public enum class Target
12 {
13 PC,
14 Count,
15 };
16}
17
18namespace SharpKmyBase
19{
20 public ref class Asset
21 {
22 public:
23 //tH[}bgϊs”͈̓Zbg
24 //CXbhĂяo
26
27 //tH[}bgϊs”͈͊Jn
28 //lXgΉ
29 //CXbhĂяo
31
32 //tH[}bgϊs”͈͏I
33 //lXgΉ
34 //CXbhĂяo
35 //flushPCTarget PC^[QbgϊŕKvȂ̂Γɏ
36 static void endInternalFormatUncreatableSection(bool flushPCTarget);
37
38 //tH[}bgϊ”\͈͂ǂ
39 //CXbhĂяo
40 static bool isInternalFormatCreatable();
41
42 //tH[}bgϊ
43 //callback ϊ̃t@C擾R[obN
44 //CXbhĂяo
45 static void createAllAssetsInternalFormat(System::Action<System::String^>^ callback, SharpKmyPlatform::Target target);
46
47 //tH[}bgϊKvȃAZbg̎擾
48 //CXbhĂяo
50
51 //AZbgt@CgpZNVJn
52 //CXbhĂяo
53 //ZNVł͓tH[}bg̃[h͍sȂ
55
56 //AZbgt@CgpZNVI
57 //CXbhĂяo
58 static void endForceRawAssetFileSection();
59
60 //AZbgtH[}bgt@C̍폜
62
63 //tH[}bgϊKvǂmF
66
67 //ϊ
70
71 //@ƂăoChĂeNX`̃XgԂ
72 static array<SharpKmyGfx::Texture^>^ findTexturesBoundAsNormal();
73 };
74}
Definition: Asset.h:21
static void createInternalFormatFile(SharpKmyGfx::Texture^ tex, SharpKmyPlatform::Target target)
Definition: Asset.cpp:108
static array< SharpKmyGfx::Texture^> findTexturesBoundAsNormal()
Definition: Asset.cpp:130
static void beginForceRawAssetFileSection()
Definition: Asset.cpp:65
static void removeInternalFormatAssetFiles()
Definition: Asset.cpp:79
static void endForceRawAssetFileSection()
Definition: Asset.cpp:72
static void createAllAssetsInternalFormat(System::Action< System::String^>^ callback, SharpKmyPlatform::Target target)
Definition: Asset.cpp:51
static void beginInternalFormatUncreatableSection()
Definition: Asset.cpp:14
static void resetInternalFormatUncreatableSection()
Definition: Asset.cpp:7
static void endInternalFormatUncreatableSection(bool flushPCTarget)
Definition: Asset.cpp:21
static bool isInternalFormatFileCreateRequired(SharpKmyGfx::Texture^ tex, SharpKmyPlatform::Target target)
Definition: Asset.cpp:84
static int getCountRequiredInternalFormatCreate(SharpKmyPlatform::Target target)
Definition: Asset.cpp:58
static bool isInternalFormatCreatable()
Definition: Asset.cpp:28
Definition: ModelData.h:17
Definition: Texture.h:12
Definition: Asset.cpp:6
Definition: Asset.h:4
Definition: Asset.h:10
Target
Definition: Asset.h:12