Download Triton - Sundog Software

Transcript
22.15 Triton::Utils Class Reference
22.15.2.6
143
static struct D3DXMACRO∗ TRITONAPI Triton::Utils::GetDX9Macros (
IDirect3DDevice9 ∗ device, bool hdr, bool breakingWaves ) [static, read]
Returns HLSL preprocessor defines for DirectX9, indicating the shader models avaialble to our shaders.
Returns
NULL if minimum system requirements for DX9 are not present, a null-terminated
D3DXMACRO array otherwise.
22.15.2.7
static TRITON STRING TRITONAPI Triton::Utils::GetGodRayShaderFileName ( const
Environment ∗ env, bool fragment ) [static]
Returns the filename for the god ray shaders, which may be overridden via config.
22.15.2.8
static TRITON STRING TRITONAPI Triton::Utils::GetParticleShaderFileName ( const
Environment ∗ env, bool fragment ) [static]
Returns the filename for the particle shaders, which may be overridden via config.
22.15.2.9
static TRITON STRING TRITONAPI Triton::Utils::GetWaterShaderFileName ( const
Environment ∗ env, bool tessendorf, bool fragment, bool patch ) [static]
Returns the filename for the main water shaders, which may be overridden via config.
22.15.2.10
static bool TRITONAPI Triton::Utils::PrintGLErrors ( const char ∗ file, int line )
[static]
Prints out (and clears) any existing GL errors using Utils::DebugMsg.
Returns
True if no error code was present.
22.15.2.11
static void TRITONAPI Triton::Utils::SetDebugMsgCB ( void(∗)(const char ∗)
debug msg cb ) [static]
Allows the client to plug in a routine which will be called to print/log DebugMsg()
calls when "enable-debug-messages" is set, instead of using the internal default logging
behavior.
The documentation for this class was generated from the following file:
• C:/triton/trunk/Public Headers/TritonCommon.h
Generated on Tue Jan 27 2015 10:10:01 for Triton by Doxygen