Logo
Asset.h
1#pragma once
2
3namespace XXSharpKmyGfx
4{
5 ref class Texture;
6 ref class ModelData;
7}
8
9namespace XXSharpKmyPlatform
10{
11 private enum class Target
12 {
13 PC,
14 Count,
15 };
16}
17
18namespace XXSharpKmyBase
19{
20 private ref class Asset
21 {
22 public:
23 //tH[}bgϊs”͈̓Zbg
24 //CXbhĂяo
25 static void resetInternalFormatUncreatableSection();
26
27 //tH[}bgϊs”͈͊Jn
28 //lXgΉ
29 //CXbhĂяo
30 static void beginInternalFormatUncreatableSection();
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, XXSharpKmyPlatform::Target target);
46
47 //tH[}bgϊKvȃAZbg̎擾
48 //CXbhĂяo
49 static int getCountRequiredInternalFormatCreate(XXSharpKmyPlatform::Target target);
50
51 //AZbgt@CgpZNVJn
52 //CXbhĂяo
53 //ZNVł͓tH[}bg̃[h͍sȂ
54 static void beginForceRawAssetFileSection();
55
56 //AZbgt@CgpZNVI
57 //CXbhĂяo
58 static void endForceRawAssetFileSection();
59
60 //AZbgtH[}bgt@C̍폜
61 static void removeInternalFormatAssetFiles();
62
63 //tH[}bgϊKvǂmF
64 static bool isInternalFormatFileCreateRequired(XXSharpKmyGfx::Texture^ tex, XXSharpKmyPlatform::Target target);
65 static bool isInternalFormatFileCreateRequired(XXSharpKmyGfx::ModelData^ mdl, XXSharpKmyPlatform::Target target);
66
67 //ϊ
68 static void createInternalFormatFile(XXSharpKmyGfx::Texture^ tex, XXSharpKmyPlatform::Target target);
69 static void createInternalFormatFile(XXSharpKmyGfx::ModelData^ mdl, XXSharpKmyPlatform::Target target);
70
71 //@ƂăoChĂeNX`̃XgԂ
72 static array<XXSharpKmyGfx::Texture^>^ findTexturesBoundAsNormal();
73 };
74}
Target
Definition: Asset.cs:8