This commit is contained in:
saschawillems 2016-07-16 21:03:13 +02:00
parent 2c663a6c45
commit 8b785a539f

View file

@ -62,9 +62,9 @@ namespace vk
}; };
/** /**
* @brief Describes the attributes of a framebuffer to be created * @brief Describes the attributes of an attachment to be created
*/ */
struct FramebufferCreateInfo struct AttachmentCreateInfo
{ {
uint32_t width, height; uint32_t width, height;
uint32_t layerCount; uint32_t layerCount;
@ -124,7 +124,7 @@ namespace vk
* *
* @return Index of the new attachment * @return Index of the new attachment
*/ */
uint32_t addAttachment(vk::FramebufferCreateInfo createinfo, VkCommandBuffer layoutCmd) uint32_t addAttachment(vk::AttachmentCreateInfo createinfo, VkCommandBuffer layoutCmd)
{ {
vk::FramebufferAttachment attachment; vk::FramebufferAttachment attachment;