diff options
| author | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:31:46 -0800 |
|---|---|---|
| committer | Jørgen P. Tjernø <[email protected]> | 2013-12-02 19:46:31 -0800 |
| commit | f56bb35301836e56582a575a75864392a0177875 (patch) | |
| tree | de61ddd39de3e7df52759711950b4c288592f0dc /sp/src/public/materialsystem/ishaderapi.h | |
| parent | Mark some more files as text. (diff) | |
| download | source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.tar.xz source-sdk-2013-f56bb35301836e56582a575a75864392a0177875.zip | |
Fix line endings. WHAMMY.
Diffstat (limited to 'sp/src/public/materialsystem/ishaderapi.h')
| -rw-r--r-- | sp/src/public/materialsystem/ishaderapi.h | 86 |
1 files changed, 43 insertions, 43 deletions
diff --git a/sp/src/public/materialsystem/ishaderapi.h b/sp/src/public/materialsystem/ishaderapi.h index 5db40666..e16ad8c7 100644 --- a/sp/src/public/materialsystem/ishaderapi.h +++ b/sp/src/public/materialsystem/ishaderapi.h @@ -1,43 +1,43 @@ -//========= Copyright Valve Corporation, All rights reserved. ============//
-//
-// Purpose: NOTE: This file is for backward compat!
-// We'll get rid of it soon. Most of the contents of this file were moved
-// into shaderpi/ishadershadow.h, shaderapi/ishaderdynamic.h, or
-// shaderapi/shareddefs.h
-//
-// $NoKeywords: $
-//
-//===========================================================================//
-
-#ifndef ISHADERAPI_MS_H
-#define ISHADERAPI_MS_H
-
-#ifdef _WIN32
-#pragma once
-#endif
-
-#include <shaderapi/shareddefs.h>
-#include <shaderapi/ishadershadow.h>
-#include <shaderapi/ishaderdynamic.h>
-
-
-//-----------------------------------------------------------------------------
-// forward declarations
-//-----------------------------------------------------------------------------
-class IMaterialVar;
-
-
-//-----------------------------------------------------------------------------
-// Methods that can be called from the SHADER_INIT blocks of shaders
-//-----------------------------------------------------------------------------
-abstract_class IShaderInit
-{
-public:
- // Loads up a texture
- virtual void LoadTexture( IMaterialVar *pTextureVar, const char *pTextureGroupName, int nAdditionalCreationFlags = 0 ) = 0;
- virtual void LoadBumpMap( IMaterialVar *pTextureVar, const char *pTextureGroupName ) = 0;
- virtual void LoadCubeMap( IMaterialVar **ppParams, IMaterialVar *pTextureVar, int nAdditionalCreationFlags = 0 ) = 0;
-};
-
-
-#endif // ISHADERAPI_MS_H
+//========= Copyright Valve Corporation, All rights reserved. ============// +// +// Purpose: NOTE: This file is for backward compat! +// We'll get rid of it soon. Most of the contents of this file were moved +// into shaderpi/ishadershadow.h, shaderapi/ishaderdynamic.h, or +// shaderapi/shareddefs.h +// +// $NoKeywords: $ +// +//===========================================================================// + +#ifndef ISHADERAPI_MS_H +#define ISHADERAPI_MS_H + +#ifdef _WIN32 +#pragma once +#endif + +#include <shaderapi/shareddefs.h> +#include <shaderapi/ishadershadow.h> +#include <shaderapi/ishaderdynamic.h> + + +//----------------------------------------------------------------------------- +// forward declarations +//----------------------------------------------------------------------------- +class IMaterialVar; + + +//----------------------------------------------------------------------------- +// Methods that can be called from the SHADER_INIT blocks of shaders +//----------------------------------------------------------------------------- +abstract_class IShaderInit +{ +public: + // Loads up a texture + virtual void LoadTexture( IMaterialVar *pTextureVar, const char *pTextureGroupName, int nAdditionalCreationFlags = 0 ) = 0; + virtual void LoadBumpMap( IMaterialVar *pTextureVar, const char *pTextureGroupName ) = 0; + virtual void LoadCubeMap( IMaterialVar **ppParams, IMaterialVar *pTextureVar, int nAdditionalCreationFlags = 0 ) = 0; +}; + + +#endif // ISHADERAPI_MS_H |