0001: //----------------------------------------------------------------------------- 0002: // File: hdr.h 0003: // 0004: // Desc: RADIANCE Picture File Format の読み込み 0005: // Copyright (c) 2003 IMAGIRE Takashi. All rights reserved. 0006: //----------------------------------------------------------------------------- 0007: #pragma once 0008: 0009: 0010: 0011: #include <d3dx9.h> 0012: 0013: namespace HDR{ 0014: //----------------------------------------------------------------------------- 0015: // HDR ファイルの読み込み 0016: //----------------------------------------------------------------------------- 0017: HRESULT CreateTextureFromFile( 0018: LPDIRECT3DDEVICE9 pDevice, 0019: LPCTSTR pSrcFile, 0020: LPCTSTR *pErr, 0021: LPDIRECT3DTEXTURE9 *pTexture); 0022: 0023: }// namespace HDR 0024: