Vookoo
Public Member Functions | List of all members
vku::PipelineLayoutMaker Class Reference

#include <vku.hpp>

Public Member Functions

vk::UniquePipelineLayout createUnique (const vk::Device &device) const
 Create a self-deleting pipeline layout object.
 
void descriptorSetLayout (vk::DescriptorSetLayout layout)
 Add a descriptor set layout to the pipeline.
 
void pushConstantRange (vk::ShaderStageFlags stageFlags_, uint32_t offset_, uint32_t size_)
 

Detailed Description

A class for building pipeline layouts. Pipeline layouts describe the descriptor sets and push constants used by the shaders.

Member Function Documentation

void vku::PipelineLayoutMaker::pushConstantRange ( vk::ShaderStageFlags  stageFlags_,
uint32_t  offset_,
uint32_t  size_ 
)
inline

Add a push constant range to the pipeline. These describe the size and location of variables in the push constant area.


The documentation for this class was generated from the following file: