Lugdunum
0.1.0
include
lug
Graphics
Vulkan
Render
BufferPool
Material.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include <
lug/Graphics/Render/Material.hpp
>
4
#include <
lug/Graphics/Vulkan/Render/BufferPool/BufferPool.hpp
>
5
6
namespace
lug
{
7
namespace
Graphics {
8
namespace
Vulkan
{
9
10
namespace
API {
11
class
CommandBuffer;
12
}
// API
13
14
namespace
Render {
15
namespace
BufferPool {
16
17
class
LUG_GRAPHICS_API
Material
:
public
BufferPool
<20, sizeof(::lug::Graphics::Render::Material::Constants) * 2> {
18
public
:
19
Material
(
Renderer
& renderer);
20
21
Material
(
const
Material
&) =
delete
;
22
Material
(
Material
&&) =
delete
;
23
24
Material
& operator=(
const
Material
&) =
delete
;
25
Material
& operator=(
Material
&&) =
delete
;
26
27
~
Material
() =
default
;
28
29
const
SubBuffer
* allocate(
const
API::CommandBuffer
& cmdBuffer, ::
lug::Graphics::Render::Material
& material);
30
};
31
32
}
// BufferPool
33
}
// Render
34
}
// Vulkan
35
}
// Graphics
36
}
// lug
LUG_GRAPHICS_API
#define LUG_GRAPHICS_API
Definition:
Export.hpp:11
Vulkan
Definition:
Vulkan.hpp:155
BufferPool.hpp
lug::Graphics::Vulkan::Render::BufferPool::Material
Definition:
Material.hpp:17
lug
Definition:
Application.hpp:11
lug::Graphics::Render::Material
Class for Material. Is a Resource.
Definition:
Material.hpp:25
lug::Graphics::Vulkan::Renderer
Definition:
Renderer.hpp:21
lug::Graphics::Vulkan::API::CommandBuffer
Definition:
CommandBuffer.hpp:24
Material.hpp
lug::Graphics::Vulkan::Render::BufferPool::SubBuffer
Definition:
SubBuffer.hpp:25
lug::Graphics::Vulkan::Render::BufferPool::BufferPool
Definition:
BufferPool.hpp:20
Generated by
1.8.13