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.

35 lines
1.0 KiB

  1. //========= Copyright Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //===========================================================================//
  8. #ifndef INPUTLAYOUTDX10_H
  9. #define INPUTLAYOUTDX10_H
  10. #ifdef _WIN32
  11. #pragma once
  12. #endif
  13. #include "materialsystem/imaterial.h"
  14. //-----------------------------------------------------------------------------
  15. // Forward declaration
  16. //-----------------------------------------------------------------------------
  17. struct ID3D10InputLayout;
  18. struct ID3D10ShaderReflection;
  19. //-----------------------------------------------------------------------------
  20. // Gets the input layout associated with a vertex format
  21. // FIXME: Note that we'll need to change this from a VertexFormat_t
  22. //-----------------------------------------------------------------------------
  23. ID3D10InputLayout *CreateInputLayout( VertexFormat_t fmt,
  24. ID3D10ShaderReflection* pReflection, const void *pByteCode, size_t nByteCodeLen );
  25. #endif // INPUTLAYOUTDX10_H