Counter Strike : Global Offensive Source Code
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.

34 lines
765 B

  1. //========= Copyright � 1996-2005, Valve Corporation, All rights reserved. ============//
  2. //
  3. // Purpose:
  4. //
  5. // $NoKeywords: $
  6. //
  7. //=============================================================================//
  8. #ifndef IVERTEXBUFFERDX8_H
  9. #define IVERTEXBUFFERDX8_H
  10. #pragma once
  11. #include "IVertexBuffer.h"
  12. abstract_class IVertexBufferDX8 : public IVertexBuffer
  13. {
  14. public:
  15. // TEMPORARY!
  16. virtual int Begin( int flags, int numVerts ) = 0;
  17. // Sets up the renderstate
  18. virtual void SetRenderState( int stream ) = 0;
  19. // Gets FVF info
  20. virtual void ComputeFVFInfo( int flags, int& fvf, int& size ) const = 0;
  21. // Cleans up the vertex buffers
  22. virtual void CleanUp() = 0;
  23. // Flushes the vertex buffers
  24. virtual void Flush() = 0;
  25. };
  26. #endif // IVERTEXBUFFERDX8_H