From 15740faf9fe9fe4be08965098bbf2947e096aeeb Mon Sep 17 00:00:00 2001 From: chai Date: Wed, 14 Aug 2019 22:50:43 +0800 Subject: +Unity Runtime code --- Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h (limited to 'Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h') diff --git a/Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h b/Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h new file mode 100644 index 0000000..e36a619 --- /dev/null +++ b/Runtime/GfxDevice/d3d/ShaderPatchingD3D9.h @@ -0,0 +1,7 @@ +#pragma once + +#include +#include "Runtime/GfxDevice/GfxDeviceTypes.h" + +bool PatchVertexShaderFogD3D9 (std::string& src); +bool PatchPixelShaderFogD3D9 (std::string& src, FogMode fog, int fogColorReg, int fogParamsReg); -- cgit v1.1-26-g67d0