/*---------------------------------------------------------------------------* Project: NintendoWare File: gfx_ResUtil.h Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc. All rights reserved. These coded instructions, statements, and computer programs contain proprietary information of Nintendo of America Inc. and/or Nintendo Company Ltd., and are protected by Federal copyright law. They may not be disclosed to third parties or copied or duplicated in any form, in whole or in part, without the prior written consent of Nintendo. $Revision: 14292 $ *---------------------------------------------------------------------------*/ #ifndef NW_GFX_RESUTIL_H_ #define NW_GFX_RESUTIL_H_ namespace nw { namespace gfx { class Result; namespace res { class ResLookupTable; class ResTexture; class ResShader; class ResReferenceLookupTable; class ResReferenceTexture; class ResReferenceShader; class ResGraphicsFile; //! @brief リファレンス参照テーブルをセットアップします。 Result SetupReferenceLut(ResReferenceLookupTable resReferenceLut, ResGraphicsFile graphicsFile); //! @brief リファレンス参照テーブルのターゲットをグラフィックスファイルから名前で検索し取得します。 ::std::pair GetReferenceLutTarget(ResReferenceLookupTable referenceLut, ResGraphicsFile graphicsFile); //! @brief リファレンステクスチャのターゲットをグラフィックスファイルから名前で検索し取得します。 ::std::pair GetReferenceTextureTarget(ResReferenceTexture referenceTexture, ResGraphicsFile graphicsFile); //! @brief リファレンスシェーダーのターゲットをグラフィックスファイルから名前で検索し取得します。 ::std::pair GetReferenceShaderTarget(ResReferenceShader referenceShader, ResGraphicsFile graphicsFile); } // namespace res } // namespace gfx } // namespace nw #endif // NW_GFX_RESUTIL_H_