Cogs.Core
|
Public Member Functions | |
void | initialize (bool useClipControl) |
Vendors::EVendors | getVendor () const |
Gets the known vendor of the initialized graphics device. | |
Series::ESeries | getSeries () const |
Gets the series of GPUs the currently initialized graphics device belongs to. | |
int | getModel () const |
Gets the model number of the initialized graphics device. | |
bool | isNvidia () const |
bool | isAmd () const |
bool | isIntel () const |
bool | isApple () const |
bool | isQuadro () const |
int | getMaxTextureSlots () const |
Gets maximum number of supported texture slots. | |
const GraphicsDeviceCapabilities & | getDeviceCapabilities () const |
Gets the device capabilities in a structure. | |
bool | isSupported (const StringView &extension) 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. | |
Public Attributes | |
bool | ARB_instanced_arrays |
bool | ARB_sampler_objects |
bool | ARB_base_instance |
bool | ARB_shader_image_load_store |
bool | ARB_pixel_buffer_object |
bool | ARB_texture_storage |
bool | ARB_texture_storage_multisample |
bool | ARB_compute_shader |
bool | KHR_debug |
bool | ARB_debug_output |
bool | EXT_texture_filter_anisotropic |
Private Attributes | |
bool | logStrings |
bool | logExtensions |
Vendors::EVendors | vendor |
Series::ESeries | series |
int | model |
GraphicsDeviceCapabilities | deviceCapabilities |
std::unordered_set< std::string > | extensions |
Definition at line 11 of file CapabilitiesGL20.h.
Cogs::CapabilitiesGL20::CapabilitiesGL20 | ( | ) |
Definition at line 20 of file CapabilitiesGL20.cpp.
|
inlinevirtual |
Gets the device capabilities in a structure.
Reimplemented from Cogs::ICapabilities.
Definition at line 31 of file CapabilitiesGL20.h.
Referenced by Cogs::EffectsGL20::loadComputeEffect().
|
inlinevirtual |
Gets maximum number of supported texture slots.
Reimplemented from Cogs::ICapabilities.
Definition at line 29 of file CapabilitiesGL20.h.
|
inlinevirtual |
Gets the model number of the initialized graphics device.
Reimplemented from Cogs::ICapabilities.
Definition at line 20 of file CapabilitiesGL20.h.
|
inlinevirtual |
Gets the series of GPUs the currently initialized graphics device belongs to.
Reimplemented from Cogs::ICapabilities.
Definition at line 19 of file CapabilitiesGL20.h.
|
inlinevirtual |
Gets the known vendor of the initialized graphics device.
Reimplemented from Cogs::ICapabilities.
Definition at line 18 of file CapabilitiesGL20.h.
void Cogs::CapabilitiesGL20::initialize | ( | bool | useClipControl | ) |
Definition at line 29 of file CapabilitiesGL20.cpp.
|
inline |
Definition at line 23 of file CapabilitiesGL20.h.
|
inline |
Definition at line 25 of file CapabilitiesGL20.h.
|
inline |
Definition at line 24 of file CapabilitiesGL20.h.
|
inline |
Definition at line 22 of file CapabilitiesGL20.h.
|
inline |
Definition at line 27 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::isSupported | ( | const StringView & | extension | ) | const |
Definition at line 164 of file CapabilitiesGL20.cpp.
bool Cogs::CapabilitiesGL20::ARB_base_instance |
Definition at line 52 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_compute_shader |
Definition at line 57 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_debug_output |
Definition at line 59 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_instanced_arrays |
Definition at line 49 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_pixel_buffer_object |
Definition at line 54 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_sampler_objects |
Definition at line 50 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_shader_image_load_store |
Definition at line 53 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_texture_storage |
Definition at line 55 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::ARB_texture_storage_multisample |
Definition at line 56 of file CapabilitiesGL20.h.
|
private |
Definition at line 44 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::EXT_texture_filter_anisotropic |
Definition at line 60 of file CapabilitiesGL20.h.
|
private |
Definition at line 46 of file CapabilitiesGL20.h.
bool Cogs::CapabilitiesGL20::KHR_debug |
Definition at line 58 of file CapabilitiesGL20.h.
|
private |
Definition at line 37 of file CapabilitiesGL20.h.
|
private |
Definition at line 36 of file CapabilitiesGL20.h.
|
private |
Definition at line 42 of file CapabilitiesGL20.h.
|
private |
Definition at line 40 of file CapabilitiesGL20.h.
|
private |
Definition at line 39 of file CapabilitiesGL20.h.