API Documentation
Static Public Member Functions | List of all members
nkGraphics::TextureSaver Class Referencefinal

Utility class to save texture contents in files. More...

Static Public Member Functions

static bool saveTextureToHdr (Texture *tex, nkMemory::StringView path)
 

Detailed Description

Utility class to save texture contents in files.

Member Function Documentation

◆ saveTextureToHdr()

static bool nkGraphics::TextureSaver::saveTextureToHdr ( Texture tex,
nkMemory::StringView  path 
)
static

Saves the given texture as a .hdr file.

Parameters
texThe texture to save.
pathThe path to export to, relative to the working directory. See nkResources::ResourceManager for the path naming conventions.

The documentation for this class was generated from the following file: