@@ -169,7 +169,7 @@ export namespace vk {
169169 * @param descriptor_layouts are the VkDescriptorSetLayout that you pass up
170170 * front to the graphics pipeline if there are any provided
171171 */
172- struct pipeline_settings {
172+ struct pipeline_params {
173173 VkRenderPass renderpass = nullptr ;
174174 std::span<const shader_handle> shader_modules{};
175175 std::span<const VkVertexInputAttributeDescription> vertex_attributes;
@@ -198,7 +198,7 @@ export namespace vk {
198198 * @param p_device is logical device to create the graphics pipeline handles
199199 * @param p_info are the parameters for creating the pipelines with
200200 */
201- pipeline (const VkDevice& p_device, const pipeline_settings & p_info) : m_device(p_device) {
201+ pipeline (const VkDevice& p_device, const pipeline_params & p_info) : m_device(p_device) {
202202 create (p_info);
203203 }
204204
@@ -210,7 +210,7 @@ export namespace vk {
210210 *
211211 * ```C++
212212 *
213- * vk::pipeline_settings pipeline_params = {
213+ * vk::pipeline_params pipeline_params = {
214214 * .renderpass = main_renderpass // pass in VkRenderPass handle
215215 * .shader_modules = shader_resource.handles() // sets the std::span<const shader_module>
216216 * .vertex_attributes = shader_resource.vertex_attributes(),
@@ -230,7 +230,7 @@ export namespace vk {
230230 * More info on vulkan's official
231231 * [docs](https://docs.vulkan.org/refpages/latest/refpages/source/vkCreateGraphicsPipelines.html)
232232 */
233- void create (const pipeline_settings & p_info) {
233+ void create (const pipeline_params & p_info) {
234234 std::vector<VkPipelineShaderStageCreateInfo> pipeline_shader_stages (p_info.shader_modules .size ());
235235
236236 uint32_t shader_src_index = 0 ;
@@ -497,7 +497,7 @@ export namespace vk {
497497 *
498498 * ```C++
499499 *
500- * vk::pipeline graphics_pipeline(logical_device, *assume pipeline_settings is specified*);
500+ * vk::pipeline graphics_pipeline(logical_device, *assume pipeline_params is specified*);
501501 *
502502 * // bound to current command buffer
503503 * // in this example we set binding point to VK_PIPELINE_BIND_POINT_GRAPHICS
@@ -539,7 +539,7 @@ export namespace vk {
539539 *
540540 * ```C++
541541 *
542- * vk::pipeline graphics_pipeline(logical_device, *assume pipeline_settings is specified*);
542+ * vk::pipeline graphics_pipeline(logical_device, *assume pipeline_params is specified*);
543543 *
544544 * m_pipeline.push_constants(current, shader_stage::vertex, 0, 1,
545545 * &global_data);
0 commit comments