MCPcopy Create free account
hub / github.com/DragonJoker/RenderGraph / ImageData

Method ImageData

include/RenderGraph/ImageData.hpp:20–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

18 ImageCreateInfo info;
19
20 explicit ImageData( std::string name = {}
21 , ImageCreateFlags flags = {}
22 , ImageType imageType = {}
23 , PixelFormat format = {}
24 , Extent3D extent = {}
25 , ImageUsageFlags usage = {}
26 , uint32_t mipLevels = 1u
27 , uint32_t arrayLayers = 1u
28 , SampleCount samples = SampleCount::e1
29 , ImageTiling tiling = ImageTiling::eOptimal
30 , MemoryPropertyFlags memory = MemoryPropertyFlags::eDeviceLocal )
31 : name{ std::move( name ) }
32 , info{ flags, imageType, format
33 , extent, mipLevels, arrayLayers, samples
34 , tiling, usage, memory }
35 {
36 }
37
38 private:
39 friend bool operator==( ImageData const & lhs, ImageData const & rhs ) = default;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected