save code
This commit is contained in:
@@ -66,6 +66,7 @@ protected:
|
||||
VkPipeline graphicsPipeline; // 图形管线
|
||||
std::vector<VkFramebuffer> swapChainFramebuffers; // 帧缓冲区
|
||||
VkQueue presentQueue; // 呈现队列
|
||||
bool _sceondInited = true;
|
||||
|
||||
public:
|
||||
VkCommandPool commandPool;
|
||||
@@ -78,8 +79,8 @@ public:
|
||||
int currentFrame = 0;
|
||||
int MAX_FRAMES_IN_FLIGHT = 2;
|
||||
bool _applicationInited = false;
|
||||
void cleanupSecondInit();
|
||||
|
||||
bool _sceondInited = true;
|
||||
|
||||
protected:
|
||||
void loadTexture(std::string path, Texture& tex, bool srgb, VkCommandPool pool);
|
||||
|
||||
Reference in New Issue
Block a user