|
Cogs.Rendering
|
Provides capability query functionality. More...
#include <ICapabilities.h>
Public Member Functions | |
| virtual Vendors::EVendors | getVendor () const |
| Gets the known vendor of the initialized graphics device. | |
| virtual Series::ESeries | getSeries () const |
| Gets the series of GPUs the currently initialized graphics device belongs to. | |
| virtual int | getModel () const |
| Gets the model number of the initialized graphics device. | |
| virtual bool | supportsInstancing () const |
| Check if the graphics device supports instancing. | |
| virtual int | getMaxTextureSlots () const |
| Gets maximum number of supported texture slots. | |
| virtual const GraphicsDeviceCapabilities & | getDeviceCapabilities () const |
| Gets the device capabilities in a structure. | |
Private Attributes | |
| GraphicsDeviceCapabilities | none |
Provides capability query functionality.
This can for example be used to select shader implementations or rendering paths based on GPU capabilities.
|
inlinevirtual |
Gets the device capabilities in a structure.
References none.
|
inlinevirtual |
Gets maximum number of supported texture slots.
|
inlinevirtual |
Gets the model number of the initialized graphics device.
|
inlinevirtual |
Gets the series of GPUs the currently initialized graphics device belongs to.
References Cogs::Series::Unknown.
|
inlinevirtual |
Gets the known vendor of the initialized graphics device.
References Cogs::Vendors::Unknown.
|
inlinevirtual |
Check if the graphics device supports instancing.
|
private |
Referenced by getDeviceCapabilities().