完成三角形渲染的 msaa8x 抗锯齿
This commit is contained in:
@@ -17,6 +17,7 @@ public:
|
||||
void mainLoop();
|
||||
void cleanup();
|
||||
|
||||
void createImages();
|
||||
void createImageViews();
|
||||
void createFramebuffers();
|
||||
void createCommandPool();
|
||||
@@ -65,6 +66,17 @@ private:
|
||||
VkFence imagesInFlight_Left = VK_NULL_HANDLE;
|
||||
VkFence imagesInFlight_Right = VK_NULL_HANDLE;
|
||||
|
||||
const bool showDrawDebug = false;
|
||||
|
||||
int currentFrame = 0;
|
||||
bool inited = false;
|
||||
|
||||
//MSAA
|
||||
VkImage colorImage;
|
||||
VkDeviceMemory colorImageMemory;
|
||||
VkImageView colorImageView;
|
||||
void createColorResources();
|
||||
uint32_t findMemoryType(VkPhysicalDevice physicalDevice, uint32_t typeFilter,
|
||||
VkMemoryPropertyFlags properties);
|
||||
|
||||
};
|
||||
Reference in New Issue
Block a user