diff --git a/HDR-I-O-Functions.md b/HDR-I-O-Functions.md index 344bcc5..d042d9d 100644 --- a/HDR-I-O-Functions.md +++ b/HDR-I-O-Functions.md @@ -1,6 +1,6 @@ The [Radiance RGBE](https://en.wikipedia.org/wiki/RGBE_image_format) (``.HDR``) format is commonly used as a texture source file format in game development for high-dynamic range images, but this format is not supported by any built-in WIC codec. These functions implement a simple reader and writer for this format. -#GetMetadataFromHDRMemory, GetMetadataFromHDRFile +# GetMetadataFromHDRMemory, GetMetadataFromHDRFile Returns the _TexMetadata_ from a ``.HDR`` file. HRESULT GetMetadataFromHDRMemory( const void* pSource, size_t size, @@ -9,7 +9,7 @@ Returns the _TexMetadata_ from a ``.HDR`` file. HRESULT GetMetadataFromHDRFile( const wchar_t* szFile, TexMetadata& metadata ); -#LoadFromHDRMemory, LoadFromHDRFile +# LoadFromHDRMemory, LoadFromHDRFile Loads a ``.HDR`` file. HRESULT LoadFromHDRMemory( const void* pSource, size_t size, @@ -21,7 +21,7 @@ Loads a ``.HDR`` file. * The data is always loaded as ``R32G32B32A32_FLOAT`` with the alpha channel always set to 1. * If the file contains a ``32-bit_rle_xyze`` header, no color space conversions are performed and the data is read "as is". -#SaveToHDRMemory, SaveToHDRFile +# SaveToHDRMemory, SaveToHDRFile Saves an image to a ``.HDR`` file. HRESULT SaveToHDRMemory( const Image& image, Blob& blob );