mirror of
https://github.com/microsoft/DirectXTex.git
synced 2026-02-12 15:46:14 +01:00
Add EXR source in Auxiliary directory
This commit is contained in:
26
Auxiliary/DirectXTexEXR.h
Normal file
26
Auxiliary/DirectXTexEXR.h
Normal file
@@ -0,0 +1,26 @@
|
||||
//--------------------------------------------------------------------------------------
|
||||
// File: DirectXTexEXR.h
|
||||
//
|
||||
// DirectXTex Auxillary 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);
|
||||
}
|
||||
Reference in New Issue
Block a user