1 inline void Image::setCreateFlags(VkImageCreateFlags createFlags) {
2 _createFlags = createFlags;
5 inline void Image::setImageType(VkImageType imageType) {
6 _imageType = imageType;
9 inline void Image::setPreferedFormats(
const std::set<VkFormat>& preferedFormats) {
10 _preferedFormats = preferedFormats;
13 inline void Image::setFeatureFlags(VkFormatFeatureFlags featureFlags) {
14 _featureFlags = featureFlags;
17 inline void Image::setExtent(VkExtent3D extent) {
21 inline void Image::setMipLevels(uint32_t mipLevels) {
22 _mipLevels = mipLevels;
25 inline void Image::setArrayLayers(uint32_t arrayLayers) {
26 _arrayLayers = arrayLayers;
29 inline void Image::setSampleCount(VkSampleCountFlagBits sampleCount) {
30 _sampleCount = sampleCount;
33 inline void Image::setTiling(VkImageTiling tiling) {
37 inline void Image::setUsage(VkImageUsageFlags usage) {
41 inline void Image::setExclusive(
bool exclusive) {
42 _exclusive = exclusive;
45 inline void Image::setQueueFamilyIndices(
const std::set<uint32_t>& queueFamilyIndices) {
46 _queueFamilyIndices = queueFamilyIndices;