Last change
on this file since 39 was
39,
checked in by epyon, 12 years ago
|
- device interface updated - removed geometry shader
|
File size:
706 bytes
|
Rev | Line | |
---|
[32] | 1 | // Copyright (C) 2012-2013 ChaosForge / Kornel Kisielewicz
|
---|
| 2 | // http://chaosforge.org/
|
---|
| 3 | //
|
---|
| 4 | // This file is part of NV Libraries.
|
---|
| 5 | // For conditions of distribution and use, see copyright notice in nv.hh
|
---|
| 6 | /**
|
---|
| 7 | * @file device.hh
|
---|
| 8 | * @author Kornel Kisielewicz epyon@chaosforge.org
|
---|
| 9 | * @brief Device class
|
---|
| 10 | */
|
---|
| 11 |
|
---|
| 12 | #ifndef NV_DEVICE_HH
|
---|
| 13 | #define NV_DEVICE_HH
|
---|
| 14 |
|
---|
| 15 | #include <nv/common.hh>
|
---|
| 16 | #include <nv/string.hh>
|
---|
| 17 |
|
---|
| 18 | namespace nv
|
---|
| 19 | {
|
---|
| 20 | class window;
|
---|
| 21 | class program;
|
---|
| 22 |
|
---|
| 23 | class device
|
---|
| 24 | {
|
---|
| 25 | public:
|
---|
| 26 | virtual window* create_window( uint16 width, uint16 height ) = 0;
|
---|
[39] | 27 | virtual program* create_program( const string& vs_source, const string& fs_source ) = 0;
|
---|
[32] | 28 | };
|
---|
| 29 |
|
---|
| 30 | } // namespace nv
|
---|
| 31 |
|
---|
| 32 |
|
---|
| 33 | #endif // NV_DEVICE_HH
|
---|
Note: See
TracBrowser
for help on using the repository browser.