Cogs.Core
|
Public Member Functions | |
void | initialize (bool isFullGL, bool useClipControl) |
const GraphicsDeviceCapabilities & | getDeviceCapabilities () const override |
Gets the device capabilities in a structure. | |
bool | isSupported (const StringView &extension) const |
bool | supportsInstancing () const override |
Check if the graphics device supports instancing. | |
bool | isFullGL () const |
![]() | |
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 | deviceCapabilities |
bool | isFullGL_ = false |
bool | logStrings = true |
bool | logExtensions = true |
Vendors::EVendors | vendor = Vendors::Unknown |
Series::ESeries | series = Series::Unknown |
int | model = UnknownModel |
std::unordered_set< std::string > | extensions |
Definition at line 11 of file CapabilitiesGLES30.h.
|
inlineoverridevirtual |
Gets the device capabilities in a structure.
Reimplemented from Cogs::ICapabilities.
Definition at line 15 of file CapabilitiesGLES30.h.
void Cogs::CapabilitiesGLES30::initialize | ( | bool | isFullGL, |
bool | useClipControl | ||
) |
Definition at line 28 of file CapabilitiesGLES30.cpp.
|
inline |
Definition at line 21 of file CapabilitiesGLES30.h.
bool Cogs::CapabilitiesGLES30::isSupported | ( | const StringView & | extension | ) | const |
Definition at line 255 of file CapabilitiesGLES30.cpp.
|
inlineoverridevirtual |
Check if the graphics device supports instancing.
Reimplemented from Cogs::ICapabilities.
Definition at line 19 of file CapabilitiesGLES30.h.
|
private |
Definition at line 24 of file CapabilitiesGLES30.h.
|
private |
Definition at line 35 of file CapabilitiesGLES30.h.
|
private |
Definition at line 26 of file CapabilitiesGLES30.h.
|
private |
Definition at line 28 of file CapabilitiesGLES30.h.
|
private |
Definition at line 27 of file CapabilitiesGLES30.h.
|
private |
Definition at line 33 of file CapabilitiesGLES30.h.
|
private |
Definition at line 31 of file CapabilitiesGLES30.h.
|
private |
Definition at line 30 of file CapabilitiesGLES30.h.