#include <KeosRenderSystemCapabilities.h>
Public Member Functions | |
| CRenderSystemCapabilities () | |
| Default constructor. | |
| ~CRenderSystemCapabilities () | |
| Destructor. | |
| void | SetNumTextureUnits (ushort nNum) |
| Set the number of texture units the current output hardware supports. | |
| ushort | GetNumTextureUnits (void) const |
| Return the number of texture units the current output hardware supports. | |
| void | SetCapability (const TCapability c) |
| Adds a capability flag to m_nCapabilities. | |
| bool | HasCapability (const TCapability c) const |
| Checks for a capability. | |
| const String & | GetMaxVertexProgramVersion (void) const |
| Gets the best low-level vertex program version supported. | |
| const String & | GetMaxFragmentProgramVersion (void) const |
| Gets the best fragment program that this card / rendersystem supports. | |
| void | SetMaxVertexProgramVersion (const String &strVer) |
| Sets the best low-level vertex program version supported. | |
| void | SetMaxFragmentProgramVersion (const String &strVer) |
| Sets the best fragment program that this card / rendersystem supports. | |
| void | Log () |
| Write the capabilities in the logger. | |
Definition at line 88 of file KeosRenderSystemCapabilities.h.
| Keos::CRenderSystemCapabilities::CRenderSystemCapabilities | ( | ) |
| Keos::CRenderSystemCapabilities::~CRenderSystemCapabilities | ( | ) |
| void Keos::CRenderSystemCapabilities::SetNumTextureUnits | ( | ushort | nNum | ) | [inline] |
Set the number of texture units the current output hardware supports.
Definition at line 115 of file KeosRenderSystemCapabilities.h.
| ushort Keos::CRenderSystemCapabilities::GetNumTextureUnits | ( | void | ) | const [inline] |
Return the number of texture units the current output hardware supports.
Definition at line 123 of file KeosRenderSystemCapabilities.h.
Referenced by Log().
| void Keos::CRenderSystemCapabilities::SetCapability | ( | const TCapability | c | ) | [inline] |
Adds a capability flag to m_nCapabilities.
Definition at line 130 of file KeosRenderSystemCapabilities.h.
| bool Keos::CRenderSystemCapabilities::HasCapability | ( | const TCapability | c | ) | const [inline] |
Checks for a capability.
Definition at line 137 of file KeosRenderSystemCapabilities.h.
Referenced by Keos::CD3D9RenderSystem::CreateTexture(), Keos::COGLRenderSystem::InitGL(), and Log().
| const String& Keos::CRenderSystemCapabilities::GetMaxVertexProgramVersion | ( | void | ) | const [inline] |
Gets the best low-level vertex program version supported.
Definition at line 151 of file KeosRenderSystemCapabilities.h.
Referenced by Log().
| const String& Keos::CRenderSystemCapabilities::GetMaxFragmentProgramVersion | ( | void | ) | const [inline] |
Gets the best fragment program that this card / rendersystem supports.
Definition at line 158 of file KeosRenderSystemCapabilities.h.
Referenced by Log().
| void Keos::CRenderSystemCapabilities::SetMaxVertexProgramVersion | ( | const String & | strVer | ) | [inline] |
Sets the best low-level vertex program version supported.
Definition at line 165 of file KeosRenderSystemCapabilities.h.
| void Keos::CRenderSystemCapabilities::SetMaxFragmentProgramVersion | ( | const String & | strVer | ) | [inline] |
Sets the best fragment program that this card / rendersystem supports.
Definition at line 172 of file KeosRenderSystemCapabilities.h.
| void Keos::CRenderSystemCapabilities::Log | ( | ) |
Write the capabilities in the logger.
Definition at line 43 of file KeosRenderSystemCapabilities.cpp.
References Keos::CAP_FRAGMENT_PROGRAM, Keos::CAP_HW_MIPMAPPING, Keos::CAP_NON_POWER_OF_2_TEXTURES, Keos::CAP_TEXTURE_COMPRESSION_DXT, Keos::CAP_VERTEX_PROGRAM, GetMaxFragmentProgramVersion(), GetMaxVertexProgramVersion(), GetNumTextureUnits(), HasCapability(), Keos::ILogger::Log(), and Keos::CStringConverter::ToString().
1.5.1-p1