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

Function createImage

test/Common.cpp:107–121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105 }
106
107 crg::ImageData createImage( std::string name
108 , crg::PixelFormat format
109 , uint32_t mipLevels
110 , uint32_t arrayLayers )
111 {
112 return crg::ImageData{ std::move( name )
113 , crg::ImageCreateFlags::eNone
114 , crg::ImageType::e2D
115 , format
116 , { 1024, 1024 }
117 , ( crg::ImageUsageFlags::eColorAttachment
118 | crg::ImageUsageFlags::eSampled )
119 , mipLevels
120 , arrayLayers };
121 }
122
123 crg::ImageData createImage1D( std::string name
124 , crg::PixelFormat format

Callers 13

createImageViewMethod · 0.85
createImageMethod · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
TESTFunction · 0.85
buildSsaoPassFunction · 0.85
buildDeferredFunction · 0.85
buildWeightedBlendedFunction · 0.85
TYPED_TESTFunction · 0.85
TESTFunction · 0.85

Calls

no outgoing calls

Tested by 9

TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
TESTFunction · 0.68
buildSsaoPassFunction · 0.68
buildDeferredFunction · 0.68
buildWeightedBlendedFunction · 0.68
TYPED_TESTFunction · 0.68
TESTFunction · 0.68