mirror of
https://github.com/microsoft/DirectXTex
synced 2024-11-21 20:10:05 +00:00
27 lines
766 B
C++
27 lines
766 B
C++
//--------------------------------------------------------------------------------------
|
|
// File: DirectXTexEXR.h
|
|
//
|
|
// DirectXTex Auxilary functions for using the OpenEXR library
|
|
//
|
|
// 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);
|
|
}
|