15 const char* debugName =
nullptr;
16 ColorFormat format = ColorFormat::Invalid;
17 bool isSampled =
false;
18 bool isWrittenByCompute =
false;
19 bool hasMipChain =
false;
20 uint32_t width = 0, height = 0;
22 CreateInfo(ColorFormat colorFormat, uint32_t width, uint32_t height,
bool isSampled,
bool isWrittenByCompute,
const char* name,
bool hasMipChain =
false) :
27 isWrittenByCompute(isWrittenByCompute),
29 hasMipChain(hasMipChain) {}