RenderPass增加注释
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#ifndef HGL_GRAPH_VULKAN_RENDER_PASS_INCLUDE
|
#ifndef HGL_GRAPH_VULKAN_RENDER_PASS_INCLUDE
|
||||||
#define HGL_GRAPH_VULKAN_RENDER_PASS_INCLUDE
|
#define HGL_GRAPH_VULKAN_RENDER_PASS_INCLUDE
|
||||||
|
|
||||||
#include"VK.h"
|
#include"VK.h"
|
||||||
@@ -6,6 +6,11 @@ VK_NAMESPACE_BEGIN
|
|||||||
class Framebuffer;
|
class Framebuffer;
|
||||||
class ImageView;
|
class ImageView;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* RenderPass功能封装<br>
|
||||||
|
* RenderPass在创建时,需要指定输入的color imageview与depth imageview象素格式,
|
||||||
|
* 在随后创建Framebuffer时,需要同时指定RenderPass与ColorImageView,DepthImageView,象素格式要一致。
|
||||||
|
*/
|
||||||
class RenderPass
|
class RenderPass
|
||||||
{
|
{
|
||||||
VkDevice device;
|
VkDevice device;
|
||||||
|
Reference in New Issue
Block a user