Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions include/misc/buffer_create_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ namespace Anvil
VkDeviceSize in_start_offset,
VkDeviceSize in_size);

const void* const get_client_data() const
const void* get_client_data() const
{
return m_client_data_ptr;
}
Expand Down Expand Up @@ -287,4 +287,4 @@ namespace Anvil
ANVIL_DISABLE_COPY_CONSTRUCTOR(BufferCreateInfo);
};
}; /* namespace Anvil */
#endif /* MISC_BUFFER_CREATE_INFO_H */
#endif /* MISC_BUFFER_CREATE_INFO_H */
2 changes: 1 addition & 1 deletion include/misc/glsl_to_spirv.h
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ namespace Anvil
}

/** Returns the number of bytes the SPIR-V blob, accessible via get_spirv_blob(), takes. */
const uint32_t get_spirv_blob_size() const
uint32_t get_spirv_blob_size() const
{
if (m_spirv_blob.size() == 0)
{
Expand Down
6 changes: 3 additions & 3 deletions include/misc/image_view_create_info.h
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,7 @@ namespace Anvil
}

/** Returns image view's format */
const Anvil::Format get_format() const
Anvil::Format get_format() const
{
return m_format;
}
Expand Down Expand Up @@ -330,7 +330,7 @@ namespace Anvil
}

/** Returns image view type of the image view instance */
const Anvil::ImageViewType get_type() const
Anvil::ImageViewType get_type() const
{
return m_type;
}
Expand Down Expand Up @@ -443,4 +443,4 @@ namespace Anvil

}; /* namespace Anvil */

#endif/* MISC_IMAGE_VIEW_CREATE_INFO_H */
#endif/* MISC_IMAGE_VIEW_CREATE_INFO_H */
4 changes: 2 additions & 2 deletions include/misc/struct_chainer.h
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ namespace Anvil
struct_chain_ptrs.push_back(std::move(inout_struct_chain_ptr) );
}

const uint32_t get_n_structs() const
uint32_t get_n_structs() const
{
return static_cast<uint32_t>(root_structs.size() );
}
Expand Down Expand Up @@ -307,4 +307,4 @@ namespace Anvil
};
};

#endif /* MISC_STRUCT_CHAINER_H */
#endif /* MISC_STRUCT_CHAINER_H */
2 changes: 1 addition & 1 deletion include/wrappers/command_buffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ namespace Anvil
}

/** Returns a handle to the raw Vulkan command buffer instance, encapsulated by the object */
const VkCommandBuffer get_command_buffer() const
VkCommandBuffer get_command_buffer() const
{
return m_command_buffer;
}
Expand Down
4 changes: 2 additions & 2 deletions include/wrappers/framebuffer.h
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ namespace Anvil
*
* @return Raw Vulkan framebuffer handle or VK_NULL_HANDLE, if the function failed.
**/
const VkFramebuffer get_framebuffer(Anvil::RenderPass* in_render_pass_ptr);
VkFramebuffer get_framebuffer(Anvil::RenderPass* in_render_pass_ptr);

private:
/* Private type declarations */
Expand Down Expand Up @@ -111,4 +111,4 @@ namespace Anvil
};
};

#endif /* WRAPPERS_FRAMEBUFFER_H */
#endif /* WRAPPERS_FRAMEBUFFER_H */
4 changes: 2 additions & 2 deletions include/wrappers/image_view.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ namespace Anvil
}

/** Returns the encapsulated raw Vulkan image view handle. */
const VkImageView get_image_view() const
VkImageView get_image_view() const
{
return m_image_view;
}
Expand Down Expand Up @@ -100,4 +100,4 @@ namespace Anvil
};
};

#endif /* WRAPPERS_IMAGE_VIEW_H */
#endif /* WRAPPERS_IMAGE_VIEW_H */
2 changes: 1 addition & 1 deletion src/wrappers/framebuffer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ Anvil::FramebufferUniquePtr Anvil::Framebuffer::create(Anvil::FramebufferCreateI
}

/* Please see header for specification */
const VkFramebuffer Anvil::Framebuffer::get_framebuffer(Anvil::RenderPass* in_render_pass_ptr)
VkFramebuffer Anvil::Framebuffer::get_framebuffer(Anvil::RenderPass* in_render_pass_ptr)
{
auto fb_iterator = m_baked_framebuffers.find(in_render_pass_ptr);
VkFramebuffer result_fb = VK_NULL_HANDLE;
Expand Down