2022-10-23 00:35:26 +03:00
|
|
|
//--------------------------------------------------------------------------------------
|
|
|
|
// File: DirectXTexEXR.h
|
|
|
|
//
|
2024-01-08 06:26:09 +03:00
|
|
|
// DirectXTex Auxilary functions for using the OpenEXR library
|
2022-10-23 00:35:26 +03:00
|
|
|
//
|
|
|
|
// Copyright (c) Microsoft Corporation.
|
|
|
|
// Licensed under the MIT License.
|
|
|
|
//--------------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "DirectXTex.h"
|
|
|
|
|
|
|
|
|
|
|
|
namespace DirectX
|
|
|
|
{
|
|
|
|
HRESULT __cdecl GetMetadataFromEXRFile(
|
|
|
|
_In_z_ const wchar_t* szFile,
|
|
|
|
_Out_ TexMetadata& metadata);
|
|
|
|
|
|
|
|
HRESULT __cdecl LoadFromEXRFile(
|
|
|
|
_In_z_ const wchar_t* szFile,
|
|
|
|
_Out_opt_ TexMetadata* metadata, _Out_ ScratchImage& image);
|
|
|
|
|
|
|
|
HRESULT __cdecl SaveToEXRFile(_In_ const Image& image, _In_z_ const wchar_t* szFile);
|
|
|
|
}
|