GfxDriver: add getName() getVersion() and getCardName()
This commit is contained in:
parent
43354fc9b4
commit
5c5d9fe09a
3 changed files with 33 additions and 9 deletions
|
|
@ -14,8 +14,16 @@ public:
|
|||
};
|
||||
|
||||
public:
|
||||
// Get the name of the driver.
|
||||
virtual std::string getName() const = 0;
|
||||
|
||||
// Get the version of the driver
|
||||
virtual std::string getVersion() const = 0;
|
||||
|
||||
virtual std::string getVendor() const = 0;
|
||||
|
||||
virtual std::string getCardName() const = 0;
|
||||
|
||||
virtual void setViewport(int x, int y, int width, int height) = 0;
|
||||
|
||||
virtual void setClearColor(float r, float g, float b, float a) = 0;
|
||||
|
|
@ -25,10 +33,10 @@ public:
|
|||
virtual void clearColorBuffer() = 0;
|
||||
|
||||
// Resources.
|
||||
|
||||
|
||||
// CreateIndexBuffer()
|
||||
// CreateVertexBuffer()
|
||||
|
||||
|
||||
// Draw calls
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue