[2236] | 1 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 2 | //
|
---|
| 3 | // ## ######
|
---|
| 4 | // ###### ###
|
---|
| 5 | // ## ############### Shark 3D Engine (www.shark3d.com)
|
---|
| 6 | // ########## # # #
|
---|
| 7 | // ######## Copyright (c) 1996-2006 Spinor GmbH.
|
---|
| 8 | // ######### # # # All rights reserved.
|
---|
| 9 | // ## ##########
|
---|
| 10 | // ##
|
---|
| 11 | //
|
---|
| 12 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 13 |
|
---|
| 14 | //@cpp
|
---|
| 15 | #ifndef S3D_DRV_D3D9_PARAM_H
|
---|
| 16 | #define S3D_DRV_D3D9_PARAM_H
|
---|
| 17 |
|
---|
| 18 | #include "drv_d3d9_public.h"
|
---|
| 19 | #include "util/base/util_msg.h"
|
---|
| 20 | #include "util/base/util_init.h"
|
---|
| 21 | #include "util/rtti/util_recog.h"
|
---|
| 22 | #include "util/snk/util_snk_data.h"
|
---|
| 23 |
|
---|
| 24 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 25 |
|
---|
| 26 | //@
|
---|
| 27 | struct S3D_DRV_D3D9_PUBLIC_DECL s3d_CDrvD3d9Param
|
---|
| 28 | : public s3d_CUtilPtrBase, public s3d_CUtilRecogBase
|
---|
| 29 | {
|
---|
| 30 | //@
|
---|
| 31 | s3d_CDrvD3d9Param();
|
---|
| 32 |
|
---|
| 33 | //@
|
---|
| 34 | void Init(
|
---|
| 35 | s3d_CUtilMsgHandler *MsgHandler, s3d_CUtilSnkChunk *Param);
|
---|
| 36 |
|
---|
| 37 | //@
|
---|
| 38 | s3d_CUtilInitBool m_LogDxCalls;
|
---|
| 39 |
|
---|
| 40 | //@
|
---|
| 41 | s3d_CUtilInitBool m_RefDriver;
|
---|
| 42 |
|
---|
| 43 | //@
|
---|
| 44 | s3d_CUtilInitBool m_FakedFullscreen;
|
---|
| 45 |
|
---|
| 46 | //@
|
---|
| 47 | s3d_CUtilInitBool m_UseTrippleBuffering;
|
---|
| 48 |
|
---|
| 49 | //@
|
---|
| 50 | s3d_CUtilInitBool m_ForceSWVertexBuf;
|
---|
| 51 |
|
---|
| 52 | //@
|
---|
| 53 | s3d_CUtilInitBool m_ForceHWVertexBuf;
|
---|
| 54 |
|
---|
| 55 | //@
|
---|
| 56 | s3d_CUtilInitBool m_PreferIndexBuf32;
|
---|
| 57 |
|
---|
| 58 | //@
|
---|
| 59 | s3d_CUtilInitBool m_PureDevice;
|
---|
| 60 |
|
---|
| 61 | //@
|
---|
| 62 | s3d_CUtilInitBool m_DisableFPUPreserve;
|
---|
| 63 |
|
---|
| 64 | //@
|
---|
| 65 | s3d_CUtilInitBool m_NoDynamicVertexBuf;
|
---|
| 66 |
|
---|
| 67 | //@
|
---|
| 68 | s3d_CUtilInitBool m_NoDummyBoneVertexBuf;
|
---|
| 69 |
|
---|
| 70 | //@
|
---|
| 71 | s3d_CUtilInitBool m_UseDIPUP;
|
---|
| 72 |
|
---|
| 73 | //@
|
---|
| 74 | s3d_CUtilInitInt m_IdxFlushCnt;
|
---|
| 75 |
|
---|
| 76 | //@
|
---|
| 77 | s3d_CUtilInitInt m_MinLbTexWidth;
|
---|
| 78 |
|
---|
| 79 | //@
|
---|
| 80 | s3d_CUtilInitInt m_MinLbTexHeight;
|
---|
| 81 |
|
---|
| 82 | //@
|
---|
| 83 | s3d_CUtilInitInt m_MinLbVolTexExt;
|
---|
| 84 |
|
---|
| 85 | //@
|
---|
| 86 | s3d_CUtilInitBool m_NoVisibTest;
|
---|
| 87 |
|
---|
| 88 | //@
|
---|
| 89 | s3d_CUtilInitInt m_MinBatchObjVertCnt;
|
---|
| 90 |
|
---|
| 91 | //@
|
---|
| 92 | s3d_CUtilStr m_ReqVertShadVer;
|
---|
| 93 |
|
---|
| 94 | //@
|
---|
| 95 | s3d_CUtilInitBool m_ShaderDebug;
|
---|
| 96 |
|
---|
| 97 | //@
|
---|
| 98 | s3d_CUtilInitBool m_ReportBatch;
|
---|
| 99 |
|
---|
| 100 | //@
|
---|
| 101 | s3d_CUtilInitBool m_ReportBuf;
|
---|
| 102 |
|
---|
| 103 | //@
|
---|
| 104 | s3d_CUtilInitBool m_ReportTex;
|
---|
| 105 |
|
---|
| 106 | //@
|
---|
| 107 | s3d_CUtilInitBool m_ReportProg;
|
---|
| 108 |
|
---|
| 109 | //@
|
---|
| 110 | s3d_CUtilInitInt m_MinTexComprWidth;
|
---|
| 111 |
|
---|
| 112 | //@
|
---|
| 113 | s3d_CUtilInitInt m_MinTexComprHeight;
|
---|
| 114 |
|
---|
| 115 | //@
|
---|
| 116 | s3d_CUtilInitInt m_MaxMipLevels;
|
---|
| 117 |
|
---|
| 118 | //@
|
---|
| 119 | s3d_CUtilInitInt m_MaxAnisoTropy;
|
---|
| 120 |
|
---|
| 121 | //@
|
---|
| 122 | s3d_CUtilInitBool m_NVDepthTexEnabled;
|
---|
| 123 |
|
---|
| 124 | //@
|
---|
| 125 | s3d_CUtilInitBool m_PreloadResources;
|
---|
| 126 |
|
---|
| 127 | //@
|
---|
| 128 | s3d_CUtilInitBool m_ValidateProgBuf;
|
---|
| 129 |
|
---|
| 130 | //@
|
---|
| 131 | s3d_CUtilInitBool m_EnableGamma2x2;
|
---|
| 132 |
|
---|
| 133 | //@
|
---|
| 134 | s3d_CUtilInitBool m_SRGBTexEnabled;
|
---|
| 135 |
|
---|
| 136 | //@
|
---|
| 137 | s3d_CUtilInitBool m_SRGBWriteEnabled;
|
---|
| 138 |
|
---|
| 139 | //@
|
---|
| 140 | s3d_CUtilInitInt m_MultiSample;
|
---|
| 141 |
|
---|
| 142 | //@
|
---|
| 143 | s3d_CUtilInitBool m_PixEnabled;
|
---|
| 144 | };
|
---|
| 145 |
|
---|
| 146 | S3D_DRV_D3D9_PUBLIC_DECL S3D_UTIL_RECOG_DECLAREINFO(s3d_CDrvD3d9Param);
|
---|
| 147 |
|
---|
| 148 | //@
|
---|
| 149 | typedef s3d_CUtilPtr<s3d_CDrvD3d9Param> s3d_CDrvD3d9ParamPtr;
|
---|
| 150 |
|
---|
| 151 | //@
|
---|
| 152 | typedef const s3d_CDrvD3d9Param &s3d_CDrvD3d9Param_cr;
|
---|
| 153 |
|
---|
| 154 | ///////////////////////////////////////////////////////////////////////////////
|
---|
| 155 |
|
---|
| 156 | #endif
|
---|