1 /*---------------------------------------------------------------------------*
2   Project:  NintendoWare
3   File:     gfx_Config.h
4 
5   Copyright (C)2009-2010 Nintendo Co., Ltd./HAL Laboratory, Inc.  All rights reserved.
6 
7   These coded instructions, statements, and computer programs contain
8   proprietary information of Nintendo of America Inc. and/or Nintendo
9   Company Ltd., and are protected by Federal copyright law.  They may
10   not be disclosed to third parties or copied or duplicated in any form,
11   in whole or in part, without the prior written consent of Nintendo.
12 
13   $Revision: 28411 $
14  *---------------------------------------------------------------------------*/
15 
16 #ifndef NW_GFX_CONFIG_H_
17 #define NW_GFX_CONFIG_H_
18 
19 // TODO: このファイルに記述したマクロは必ずマクロ一覧ページへ記載してください。
20 
21 //! この定義を有効にすると Billboard の計算を有効にします。
22 #define NW_GFX_BILLBOARD_UPDATE_ENABLED
23 
24 //! この定義を有効にすると VertexLight の計算を有効にします。
25 #define NW_GFX_VERTEX_LIGHT_ENABLED
26 
27 //! この定義を有効にすると OpenGL の ProgramObject の生成を有効にします。
28 // #define NW_GFX_PROGRAM_OBJECT_ENABLED
29 
30 //! この定義を有効にするとシェーダにボーンインデクスのスケールを送ります。
31 // #define NW_GFX_USE_BONE_INDEX_SCALE
32 
33 //! この定義を有効にすると WorldMatrix の計算後のフラグ更新を有効にします。
34 // #define NW_GFX_WORLD_MATRIX_FLAG_UPDATE_ENABLED
35 
36 //! この定義を有効にするとシェーダに設定する際に、モデルの平行移動値にオフセット値を加える機能を追加します。
37 //!
38 //! @sa nw::gfx::RenderContext::ModelTranslateOffset
39 //!
40 //#define NW_GFX_MODEL_TRANSLATE_OFFSET_ENABLED
41 
42 //! この定義を有効にすると、互換性の影響があるパーティクルの変更が行われません
43 //! 1.1系との互換性を確保するための定義です。
44 #define NW_GFX_PARTICLE_COMPAT_1_1
45 
46 #endif // NW_GFX_CONFIG_H_
47