// EMERGENT GAME TECHNOLOGIES PROPRIETARY INFORMATION // // This software is supplied under the terms of a license agreement or // nondisclosure agreement with Emergent Game Technologies and may not // be copied or disclosed except in accordance with the terms of that // agreement. // // Copyright (c) 1996-2007 Emergent Game Technologies. // All Rights Reserved. // // Emergent Game Technologies, Chapel Hill, North Carolina 27517 // http://www.emergent.net #ifndef NID3D10SHADOWWRITESHADER_H #define NID3D10SHADOWWRITESHADER_H #include #include #include #include #include "NiD3D10FragmentShader.h" class NID3D10RENDERER_ENTRY NiD3D10ShadowWriteShader : public NiD3D10FragmentShader { NiDeclareRTTI; public: NiD3D10ShadowWriteShader(NiMaterialDescriptor* pkDesc); virtual ~NiD3D10ShadowWriteShader(); virtual unsigned int PreProcessPipeline(NiGeometry* pkGeometry, const NiSkinInstance* pkSkin, NiGeometryData::RendererData* pkRendererData, const NiPropertyState* pkState, const NiDynamicEffectState* pkEffects, const NiTransform& kWorld, const NiBound& kWorldBound); static void SetRenderBackfaces(bool bRenderBackfaces); protected: static bool ms_bRenderBackfaces; }; #include "NiD3D10ShadowWriteShader.inl" typedef NiPointer NiD3D10ShadowWriteShaderPtr; #endif //#ifndef NID3D10SHADOWWRITESHADER_H