Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
931 B

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef VERTEXDECL_H
  9. #define VERTEXDECL_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "locald3dtypes.h"
  14. #include "materialsystem/imaterial.h"
  15. //-----------------------------------------------------------------------------
  16. // Gets the declspec associated with a vertex format
  17. //-----------------------------------------------------------------------------
  18. IDirect3DVertexDeclaration9 *FindOrCreateVertexDecl( VertexFormat_t fmt, bool bStaticLit, bool bUsingFlex, bool bUsingMorph );
  19. //-----------------------------------------------------------------------------
  20. // Clears out all declspecs
  21. //-----------------------------------------------------------------------------
  22. void ReleaseAllVertexDecl( );
  23. #endif // VERTEXDECL_H