Lugdunum  0.1.0
Image.inl
Go to the documentation of this file.
1 inline void Image::setCreateFlags(VkImageCreateFlags createFlags) {
2  _createFlags = createFlags;
3 }
4 
5 inline void Image::setImageType(VkImageType imageType) {
6  _imageType = imageType;
7 }
8 
9 inline void Image::setPreferedFormats(const std::set<VkFormat>& preferedFormats) {
10  _preferedFormats = preferedFormats;
11 }
12 
13 inline void Image::setFeatureFlags(VkFormatFeatureFlags featureFlags) {
14  _featureFlags = featureFlags;
15 }
16 
17 inline void Image::setExtent(VkExtent3D extent) {
18  _extent = extent;
19 }
20 
21 inline void Image::setMipLevels(uint32_t mipLevels) {
22  _mipLevels = mipLevels;
23 }
24 
25 inline void Image::setArrayLayers(uint32_t arrayLayers) {
26  _arrayLayers = arrayLayers;
27 }
28 
29 inline void Image::setSampleCount(VkSampleCountFlagBits sampleCount) {
30  _sampleCount = sampleCount;
31 }
32 
33 inline void Image::setTiling(VkImageTiling tiling) {
34  _tiling = tiling;
35 }
36 
37 inline void Image::setUsage(VkImageUsageFlags usage) {
38  _usage = usage;
39 }
40 
41 inline void Image::setExclusive(bool exclusive) {
42  _exclusive = exclusive;
43 }
44 
45 inline void Image::setQueueFamilyIndices(const std::set<uint32_t>& queueFamilyIndices) {
46  _queueFamilyIndices = queueFamilyIndices;
47 }