Specialized Template Function gpa::ToString< api_types::TextureSubresource >

Function Documentation

template<>
inline std::string gpa::ToString<api_types::TextureSubresource>(api_types::TextureSubresource const &obj, StrFmtFlags strFmtFlags, uint32_t tabCount, uint32_t tabSize)

Gets the std::string representation of a given api_types::TextureSubresource.

Note

tabCount only has an effect if strFmtFlags has the GPA_STR_FMT_FORMATTED bit set

Note

tabSize only has an effect if strFmtFlags has the GPA_STR_FMT_FORMATTED bit set

Parameters
  • value -- [in] The api_types::TextureSubresource to get the std::string representation of

  • strFmtFlags -- [in] A bit mask of flags controlling the resulting std::string's formatting

  • tabCount -- [in] The number of tabs to indent the contents of the resulting std::string

  • tabSize -- [in] The number of spaces to use for a tab

Returns

The std::string representation of the given api_types::TextureSubresource