Lugdunum  0.1.0
Framebuffer.inl
Go to the documentation of this file.
1 inline void Framebuffer::setRenderPass(const API::RenderPass* renderPass) {
2  _renderPass = renderPass;
3 }
4 
5 inline void Framebuffer::addAttachment(const API::ImageView* attachment) {
6  _attachments.push_back(attachment);
7 }
8 
9 inline void Framebuffer::setWidth(uint32_t width) {
10  _width = width;
11 }
12 
13 inline void Framebuffer::setHeight(uint32_t height) {
14  _height = height;
15 }
16 
17 inline void Framebuffer::setLayers(uint32_t layers) {
18  _layers = layers;
19 }