OGRE
1.9.0
|
singleton class for storing the capabilities of the graphics card. More...
#include <OgreRenderSystemCapabilities.h>
Public Types | |
typedef set< String >::type | ShaderProfiles |
Public Member Functions | |
RenderSystemCapabilities () | |
virtual | ~RenderSystemCapabilities () |
void | addShaderProfile (const String &profile) |
Adds the profile to the list of supported profiles. | |
virtual size_t | calculateSize () const |
ushort | getComputeProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getComputeProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getComputeProgramConstantIntCount (void) const |
The number of integer constants fragment programs support. | |
String | getDeviceName () const |
gets the device name for render system | |
DriverVersion | getDriverVersion () const |
ushort | getFragmentProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getFragmentProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getFragmentProgramConstantIntCount (void) const |
The number of integer constants fragment programs support. | |
ushort | getGeometryProgramConstantBoolCount (void) const |
The number of boolean constants geometry programs support. | |
ushort | getGeometryProgramConstantFloatCount (void) const |
The number of floating-point constants geometry programs support. | |
ushort | getGeometryProgramConstantIntCount (void) const |
The number of integer constants geometry programs support. | |
int | getGeometryProgramNumOutputVertices (void) const |
Get the number of vertices a single geometry program run can emit. | |
Real | getMaxPointSize (void) const |
Maximum point screen size in pixels. | |
Real | getMaxSupportedAnisotropy () |
Get the maximum supported anisotropic filtering. | |
bool | getNonPOW2TexturesLimited (void) const |
Are non-power of two textures limited in features? | |
ushort | getNumMultiRenderTargets (void) const |
The number of simultaneous render targets supported. | |
ushort | getNumTextureUnits (void) const |
Returns the number of texture units the current output hardware supports. | |
ushort | getNumVertexBlendMatrices (void) const |
Returns the number of matrices available to hardware vertex blending for this rendering system. | |
ushort | getNumVertexTextureUnits (void) const |
Get the number of vertex texture units supported. | |
ushort | getNumWorldMatrices (void) const |
String | getRenderSystemName (void) const |
Get the identifier of the rendersystem from which these capabilities were generated. | |
ushort | getStencilBufferBitDepth (void) const |
Determines the bit depth of the hardware accelerated stencil buffer, if supported. | |
const ShaderProfiles & | getSupportedShaderProfiles () const |
Returns a set of all supported shader profiles. | |
ushort | getTesselationDomainProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getTesselationDomainProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getTesselationDomainProgramConstantIntCount (void) const |
The number of integer constants fragment programs support. | |
ushort | getTesselationHullProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getTesselationHullProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getTesselationHullProgramConstantIntCount (void) const |
The number of integer constants fragment programs support. | |
GPUVendor | getVendor () const |
ushort | getVertexProgramConstantBoolCount (void) const |
The number of boolean constants vertex programs support. | |
ushort | getVertexProgramConstantFloatCount (void) const |
The number of floating-point constants vertex programs support. | |
ushort | getVertexProgramConstantIntCount (void) const |
The number of integer constants vertex programs support. | |
bool | getVertexTextureUnitsShared (void) const |
Get whether the vertex texture units are shared with the fragment processor. | |
bool | hasCapability (const Capabilities c) const |
Checks for a capability. | |
bool | isCapabilityRenderSystemSpecific (const Capabilities c) const |
Returns true if capability is render system specific. | |
bool | isCategoryRelevant (CapabilitiesCategory cat) |
Return whether a category is 'relevant' or not, ie will it be reported. | |
bool | isDriverOlderThanVersion (DriverVersion v) const |
bool | isShaderProfileSupported (const String &profile) const |
Returns true if profile is in the list of supported profiles. | |
void | log (Log *pLog) |
Write the capabilities to the pass in Log. | |
void | operator delete (void *ptr) |
void | operator delete (void *ptr) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz) |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, const char *file, int line, const char *func) |
operator new, with debug line info | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new (size_t sz, void *ptr) |
placement operator new | |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz) |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void * | operator new[] (size_t sz, const char *file, int line, const char *func) |
array operator new, with debug line info | |
void | parseDriverVersionFromString (const String &versionString) |
void | parseVendorFromString (const String &vendorString) |
Parse and set vendor. | |
void | removeShaderProfile (const String &profile) |
Remove a given shader profile, if present. | |
void | setCapability (const Capabilities c) |
Adds a capability flag. | |
void | setCategoryRelevant (CapabilitiesCategory cat, bool relevant) |
Mark a category as 'relevant' or not, ie will it be reported. | |
void | setComputeProgramConstantBoolCount (ushort c) |
The number of boolean constants compute programs support. | |
void | setComputeProgramConstantFloatCount (ushort c) |
The number of floating-point constants compute programs support. | |
void | setComputeProgramConstantIntCount (ushort c) |
The number of integer constants compute programs support. | |
void | setDeviceName (const String &name) |
sets the device name for Render system | |
void | setDriverVersion (const DriverVersion &version) |
Set the driver version. | |
void | setFragmentProgramConstantBoolCount (ushort c) |
The number of boolean constants fragment programs support. | |
void | setFragmentProgramConstantFloatCount (ushort c) |
The number of floating-point constants fragment programs support. | |
void | setFragmentProgramConstantIntCount (ushort c) |
The number of integer constants fragment programs support. | |
void | setGeometryProgramConstantBoolCount (ushort c) |
The number of boolean constants geometry programs support. | |
void | setGeometryProgramConstantFloatCount (ushort c) |
The number of floating-point constants geometry programs support. | |
void | setGeometryProgramConstantIntCount (ushort c) |
The number of integer constants geometry programs support. | |
void | setGeometryProgramNumOutputVertices (int numOutputVertices) |
Set the number of vertices a single geometry program run can emit. | |
void | setMaxPointSize (Real s) |
Maximum point screen size in pixels. | |
void | setMaxSupportedAnisotropy (Real s) |
Set the maximum supported anisotropic filtering. | |
void | setNonPOW2TexturesLimited (bool l) |
Non-POW2 textures limited. | |
void | setNumMultiRenderTargets (ushort num) |
The number of simultaneous render targets supported. | |
void | setNumTextureUnits (ushort num) |
void | setNumVertexBlendMatrices (ushort num) |
void | setNumVertexTextureUnits (ushort n) |
Set the number of vertex texture units supported. | |
void | setNumWorldMatrices (ushort num) |
void | setRenderSystemName (const String &rs) |
Set the identifier of the rendersystem from which these capabilities were generated. | |
void | setStencilBufferBitDepth (ushort num) |
void | setTesselationDomainProgramConstantBoolCount (ushort c) |
The number of boolean constants tesselation Domain programs support. | |
void | setTesselationDomainProgramConstantFloatCount (ushort c) |
The number of floating-point constants tesselation Domain programs support. | |
void | setTesselationDomainProgramConstantIntCount (ushort c) |
The number of integer constants tesselation Domain programs support. | |
void | setTesselationHullProgramConstantBoolCount (ushort c) |
The number of boolean constants tesselation Domain programs support. | |
void | setTesselationHullProgramConstantFloatCount (ushort c) |
The number of floating-point constants tesselation Hull programs support. | |
void | setTesselationHullProgramConstantIntCount (ushort c) |
The number of integer constants tesselation Domain programs support. | |
void | setVendor (GPUVendor v) |
void | setVertexProgramConstantBoolCount (ushort c) |
The number of boolean constants vertex programs support. | |
void | setVertexProgramConstantFloatCount (ushort c) |
The number of floating-point constants vertex programs support. | |
void | setVertexProgramConstantIntCount (ushort c) |
The number of integer constants vertex programs support. | |
void | setVertexTextureUnitsShared (bool shared) |
Set whether the vertex texture units are shared with the fragment processor. | |
void | unsetCapability (const Capabilities c) |
Remove a capability flag. | |
Static Public Member Functions | |
static GPUVendor | vendorFromString (const String &vendorString) |
Convert a vendor string to an enum. | |
static String | vendorToString (GPUVendor v) |
Convert a vendor enum to a string. | |
Static Private Member Functions | |
static void | initVendorStrings () |
Private Attributes | |
int | mCapabilities [CAPS_CATEGORY_COUNT] |
Stores the capabilities flags. | |
bool | mCategoryRelevant [CAPS_CATEGORY_COUNT] |
Which categories are relevant. | |
ushort | mComputeProgramConstantBoolCount |
The number of boolean constants compute programs support. | |
ushort | mComputeProgramConstantFloatCount |
The number of floating-point constants compute programs support. | |
ushort | mComputeProgramConstantIntCount |
The number of integer constants compute programs support. | |
String | mDeviceName |
The name of the device as reported by the render system. | |
DriverVersion | mDriverVersion |
This is used to build a database of RSC's if a RSC with same name, but newer version is introduced, the older one will be removed. | |
ushort | mFragmentProgramConstantBoolCount |
The number of boolean constants fragment programs support. | |
ushort | mFragmentProgramConstantFloatCount |
The number of floating-point constants fragment programs support. | |
ushort | mFragmentProgramConstantIntCount |
The number of integer constants fragment programs support. | |
ushort | mGeometryProgramConstantBoolCount |
The number of boolean constants vertex geometry support. | |
ushort | mGeometryProgramConstantFloatCount |
The number of floating-point constants geometry programs support. | |
ushort | mGeometryProgramConstantIntCount |
The number of integer constants vertex geometry support. | |
int | mGeometryProgramNumOutputVertices |
The number of vertices a geometry program can emit in a single run. | |
Real | mMaxPointSize |
The maximum point size. | |
Real | mMaxSupportedAnisotropy |
The maximum supported anisotropy. | |
bool | mNonPOW2TexturesLimited |
Are non-POW2 textures feature-limited? | |
ushort | mNumMultiRenderTargets |
The number of simultaneous render targets supported. | |
ushort | mNumTextureUnits |
The number of texture units available. | |
ushort | mNumVertexBlendMatrices |
The number of matrices available for hardware blending. | |
ushort | mNumVertexTextureUnits |
The number of vertex texture units supported. | |
ushort | mNumWorldMatrices |
The number of world matrices available. | |
String | mRenderSystemName |
The identifier associated with the render system for which these capabilities are valid. | |
ushort | mStencilBufferBitDepth |
The stencil buffer bit depth. | |
ShaderProfiles | mSupportedShaderProfiles |
The list of supported shader profiles. | |
ushort | mTesselationDomainProgramConstantBoolCount |
The number of boolean constants tesselation Domain programs support. | |
ushort | mTesselationDomainProgramConstantFloatCount |
The number of floating-point constants tesselation Domain programs support. | |
ushort | mTesselationDomainProgramConstantIntCount |
The number of integer constants tesselation Domain programs support. | |
ushort | mTesselationHullProgramConstantBoolCount |
The number of boolean constants tesselation Hull programs support. | |
ushort | mTesselationHullProgramConstantFloatCount |
The number of floating-point constants tesselation Hull programs support. | |
ushort | mTesselationHullProgramConstantIntCount |
The number of integer constants tesselation Hull programs support. | |
GPUVendor | mVendor |
GPU Vendor. | |
ushort | mVertexProgramConstantBoolCount |
The number of boolean constants vertex programs support. | |
ushort | mVertexProgramConstantFloatCount |
The number of floating-point constants vertex programs support. | |
ushort | mVertexProgramConstantIntCount |
The number of integer constants vertex programs support. | |
bool | mVertexTextureUnitsShared |
Are vertex texture units shared with fragment processor? | |
Static Private Attributes | |
static StringVector | msGPUVendorStrings |
singleton class for storing the capabilities of the graphics card.
Definition at line 281 of file OgreRenderSystemCapabilities.h.
typedef set<String>::type Ogre::RenderSystemCapabilities::ShaderProfiles |
Definition at line 286 of file OgreRenderSystemCapabilities.h.
Ogre::RenderSystemCapabilities::RenderSystemCapabilities | ( | ) |
|
virtual |
void Ogre::RenderSystemCapabilities::addShaderProfile | ( | const String & | profile | ) |
Adds the profile to the list of supported profiles.
Definition at line 557 of file OgreRenderSystemCapabilities.h.
References mSupportedShaderProfiles.
|
virtual |
Definition at line 378 of file OgreRenderSystemCapabilities.h.
ushort Ogre::RenderSystemCapabilities::getComputeProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants fragment programs support.
Definition at line 876 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getComputeProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants fragment programs support.
Definition at line 866 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getComputeProgramConstantIntCount | ( | void | ) | const |
The number of integer constants fragment programs support.
Definition at line 871 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantIntCount.
String Ogre::RenderSystemCapabilities::getDeviceName | ( | ) | const |
gets the device name for render system
Definition at line 639 of file OgreRenderSystemCapabilities.h.
References mDeviceName.
DriverVersion Ogre::RenderSystemCapabilities::getDriverVersion | ( | ) | const |
Definition at line 394 of file OgreRenderSystemCapabilities.h.
References mDriverVersion.
ushort Ogre::RenderSystemCapabilities::getFragmentProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants fragment programs support.
Definition at line 627 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getFragmentProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants fragment programs support.
Definition at line 617 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getFragmentProgramConstantIntCount | ( | void | ) | const |
The number of integer constants fragment programs support.
Definition at line 622 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantIntCount.
ushort Ogre::RenderSystemCapabilities::getGeometryProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants geometry programs support.
Definition at line 612 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getGeometryProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants geometry programs support.
Definition at line 602 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getGeometryProgramConstantIntCount | ( | void | ) | const |
The number of integer constants geometry programs support.
Definition at line 607 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantIntCount.
int Ogre::RenderSystemCapabilities::getGeometryProgramNumOutputVertices | ( | void | ) | const |
Get the number of vertices a single geometry program run can emit.
Definition at line 754 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramNumOutputVertices.
Real Ogre::RenderSystemCapabilities::getMaxPointSize | ( | void | ) | const |
Maximum point screen size in pixels.
Definition at line 695 of file OgreRenderSystemCapabilities.h.
References mMaxPointSize.
Real Ogre::RenderSystemCapabilities::getMaxSupportedAnisotropy | ( | ) |
Get the maximum supported anisotropic filtering.
Definition at line 722 of file OgreRenderSystemCapabilities.h.
References mMaxSupportedAnisotropy.
bool Ogre::RenderSystemCapabilities::getNonPOW2TexturesLimited | ( | void | ) | const |
Are non-power of two textures limited in features?
Definition at line 712 of file OgreRenderSystemCapabilities.h.
References mNonPOW2TexturesLimited.
ushort Ogre::RenderSystemCapabilities::getNumMultiRenderTargets | ( | void | ) | const |
The number of simultaneous render targets supported.
Definition at line 506 of file OgreRenderSystemCapabilities.h.
References mNumMultiRenderTargets.
ushort Ogre::RenderSystemCapabilities::getNumTextureUnits | ( | void | ) | const |
Returns the number of texture units the current output hardware supports.
For use in rendering, this determines how many texture units the are available for multitexturing (i.e. rendering multiple textures in a single pass). Where a Material has multiple texture layers, it will try to use multitexturing where available, and where it is not available, will perform multipass rendering to achieve the same effect. This property only applies to the fixed-function pipeline, the number available to the programmable pipeline depends on the shader model in use.
Definition at line 482 of file OgreRenderSystemCapabilities.h.
References mNumTextureUnits.
ushort Ogre::RenderSystemCapabilities::getNumVertexBlendMatrices | ( | void | ) | const |
Returns the number of matrices available to hardware vertex blending for this rendering system.
Definition at line 500 of file OgreRenderSystemCapabilities.h.
References mNumVertexBlendMatrices.
ushort Ogre::RenderSystemCapabilities::getNumVertexTextureUnits | ( | void | ) | const |
Get the number of vertex texture units supported.
Definition at line 733 of file OgreRenderSystemCapabilities.h.
References mNumVertexTextureUnits.
ushort Ogre::RenderSystemCapabilities::getNumWorldMatrices | ( | void | ) | const |
Definition at line 465 of file OgreRenderSystemCapabilities.h.
References mNumWorldMatrices.
String Ogre::RenderSystemCapabilities::getRenderSystemName | ( | void | ) | const |
Get the identifier of the rendersystem from which these capabilities were generated.
Definition at line 760 of file OgreRenderSystemCapabilities.h.
References mRenderSystemName.
ushort Ogre::RenderSystemCapabilities::getStencilBufferBitDepth | ( | void | ) | const |
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
Definition at line 493 of file OgreRenderSystemCapabilities.h.
References mStencilBufferBitDepth.
const ShaderProfiles & Ogre::RenderSystemCapabilities::getSupportedShaderProfiles | ( | ) | const |
Returns a set of all supported shader profiles.
Definition at line 580 of file OgreRenderSystemCapabilities.h.
References mSupportedShaderProfiles.
ushort Ogre::RenderSystemCapabilities::getTesselationDomainProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants fragment programs support.
Definition at line 845 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getTesselationDomainProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants fragment programs support.
Definition at line 835 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getTesselationDomainProgramConstantIntCount | ( | void | ) | const |
The number of integer constants fragment programs support.
Definition at line 840 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantIntCount.
ushort Ogre::RenderSystemCapabilities::getTesselationHullProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants fragment programs support.
Definition at line 814 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getTesselationHullProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants fragment programs support.
Definition at line 804 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getTesselationHullProgramConstantIntCount | ( | void | ) | const |
The number of integer constants fragment programs support.
Definition at line 809 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantIntCount.
GPUVendor Ogre::RenderSystemCapabilities::getVendor | ( | ) | const |
Definition at line 399 of file OgreRenderSystemCapabilities.h.
References mVendor.
ushort Ogre::RenderSystemCapabilities::getVertexProgramConstantBoolCount | ( | void | ) | const |
The number of boolean constants vertex programs support.
Definition at line 597 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantBoolCount.
ushort Ogre::RenderSystemCapabilities::getVertexProgramConstantFloatCount | ( | void | ) | const |
The number of floating-point constants vertex programs support.
Definition at line 587 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantFloatCount.
ushort Ogre::RenderSystemCapabilities::getVertexProgramConstantIntCount | ( | void | ) | const |
The number of integer constants vertex programs support.
Definition at line 592 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantIntCount.
bool Ogre::RenderSystemCapabilities::getVertexTextureUnitsShared | ( | void | ) | const |
Get whether the vertex texture units are shared with the fragment processor.
Definition at line 743 of file OgreRenderSystemCapabilities.h.
References mVertexTextureUnitsShared.
bool Ogre::RenderSystemCapabilities::hasCapability | ( | const Capabilities | c | ) | const |
Checks for a capability.
Definition at line 541 of file OgreRenderSystemCapabilities.h.
References CAPS_CATEGORY_MASK, mCapabilities, and OGRE_CAPS_BITSHIFT.
|
staticprivate |
bool Ogre::RenderSystemCapabilities::isCapabilityRenderSystemSpecific | ( | const Capabilities | c | ) | const |
Returns true if capability is render system specific.
Definition at line 513 of file OgreRenderSystemCapabilities.h.
References Ogre::CAPS_CATEGORY_D3D9, Ogre::CAPS_CATEGORY_GL, and OGRE_CAPS_BITSHIFT.
bool Ogre::RenderSystemCapabilities::isCategoryRelevant | ( | CapabilitiesCategory | cat | ) |
Return whether a category is 'relevant' or not, ie will it be reported.
Definition at line 777 of file OgreRenderSystemCapabilities.h.
References mCategoryRelevant.
bool Ogre::RenderSystemCapabilities::isDriverOlderThanVersion | ( | DriverVersion | v | ) | const |
Definition at line 420 of file OgreRenderSystemCapabilities.h.
References Ogre::DriverVersion::build, Ogre::DriverVersion::major, mDriverVersion, Ogre::DriverVersion::minor, and Ogre::DriverVersion::release.
bool Ogre::RenderSystemCapabilities::isShaderProfileSupported | ( | const String & | profile | ) | const |
Returns true if profile is in the list of supported profiles.
Definition at line 572 of file OgreRenderSystemCapabilities.h.
References mSupportedShaderProfiles.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 96 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 108 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 102 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 113 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 119 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 73 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
operator new, with debug line info
Definition at line 68 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
placement operator new
Definition at line 79 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
Definition at line 91 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
|
inherited |
array operator new, with debug line info
Definition at line 86 of file OgreMemoryAllocatedObject.h.
void Ogre::RenderSystemCapabilities::parseDriverVersionFromString | ( | const String & | versionString | ) |
Definition at line 386 of file OgreRenderSystemCapabilities.h.
References Ogre::DriverVersion::fromString(), and setDriverVersion().
void Ogre::RenderSystemCapabilities::parseVendorFromString | ( | const String & | vendorString | ) |
Parse and set vendor.
Definition at line 410 of file OgreRenderSystemCapabilities.h.
References setVendor(), and vendorFromString().
void Ogre::RenderSystemCapabilities::removeShaderProfile | ( | const String & | profile | ) |
Remove a given shader profile, if present.
Definition at line 565 of file OgreRenderSystemCapabilities.h.
References mSupportedShaderProfiles.
void Ogre::RenderSystemCapabilities::setCapability | ( | const Capabilities | c | ) |
Adds a capability flag.
Definition at line 523 of file OgreRenderSystemCapabilities.h.
References CAPS_CATEGORY_MASK, mCapabilities, and OGRE_CAPS_BITSHIFT.
void Ogre::RenderSystemCapabilities::setCategoryRelevant | ( | CapabilitiesCategory | cat, |
bool | relevant ) |
Mark a category as 'relevant' or not, ie will it be reported.
Definition at line 771 of file OgreRenderSystemCapabilities.h.
References mCategoryRelevant.
void Ogre::RenderSystemCapabilities::setComputeProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants compute programs support.
Definition at line 861 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setComputeProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants compute programs support.
Definition at line 851 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setComputeProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants compute programs support.
Definition at line 856 of file OgreRenderSystemCapabilities.h.
References mComputeProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setDeviceName | ( | const String & | name | ) |
sets the device name for Render system
Definition at line 633 of file OgreRenderSystemCapabilities.h.
References mDeviceName.
void Ogre::RenderSystemCapabilities::setDriverVersion | ( | const DriverVersion & | version | ) |
Set the driver version.
Definition at line 381 of file OgreRenderSystemCapabilities.h.
References mDriverVersion.
Referenced by parseDriverVersionFromString().
void Ogre::RenderSystemCapabilities::setFragmentProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants fragment programs support.
Definition at line 685 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setFragmentProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants fragment programs support.
Definition at line 675 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setFragmentProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants fragment programs support.
Definition at line 680 of file OgreRenderSystemCapabilities.h.
References mFragmentProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setGeometryProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants geometry programs support.
Definition at line 670 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setGeometryProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants geometry programs support.
Definition at line 660 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setGeometryProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants geometry programs support.
Definition at line 665 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setGeometryProgramNumOutputVertices | ( | int | numOutputVertices | ) |
Set the number of vertices a single geometry program run can emit.
Definition at line 749 of file OgreRenderSystemCapabilities.h.
References mGeometryProgramNumOutputVertices.
void Ogre::RenderSystemCapabilities::setMaxPointSize | ( | Real | s | ) |
Maximum point screen size in pixels.
Definition at line 690 of file OgreRenderSystemCapabilities.h.
References mMaxPointSize.
void Ogre::RenderSystemCapabilities::setMaxSupportedAnisotropy | ( | Real | s | ) |
Set the maximum supported anisotropic filtering.
Definition at line 717 of file OgreRenderSystemCapabilities.h.
References mMaxSupportedAnisotropy.
void Ogre::RenderSystemCapabilities::setNonPOW2TexturesLimited | ( | bool | l | ) |
Non-POW2 textures limited.
Definition at line 700 of file OgreRenderSystemCapabilities.h.
References mNonPOW2TexturesLimited.
void Ogre::RenderSystemCapabilities::setNumMultiRenderTargets | ( | ushort | num | ) |
The number of simultaneous render targets supported.
Definition at line 460 of file OgreRenderSystemCapabilities.h.
References mNumMultiRenderTargets.
void Ogre::RenderSystemCapabilities::setNumTextureUnits | ( | ushort | num | ) |
Definition at line 444 of file OgreRenderSystemCapabilities.h.
References mNumTextureUnits.
void Ogre::RenderSystemCapabilities::setNumVertexBlendMatrices | ( | ushort | num | ) |
Definition at line 454 of file OgreRenderSystemCapabilities.h.
References mNumVertexBlendMatrices.
void Ogre::RenderSystemCapabilities::setNumVertexTextureUnits | ( | ushort | n | ) |
Set the number of vertex texture units supported.
Definition at line 728 of file OgreRenderSystemCapabilities.h.
References mNumVertexTextureUnits.
void Ogre::RenderSystemCapabilities::setNumWorldMatrices | ( | ushort | num | ) |
Definition at line 439 of file OgreRenderSystemCapabilities.h.
References mNumWorldMatrices.
void Ogre::RenderSystemCapabilities::setRenderSystemName | ( | const String & | rs | ) |
Set the identifier of the rendersystem from which these capabilities were generated.
Definition at line 765 of file OgreRenderSystemCapabilities.h.
References mRenderSystemName.
void Ogre::RenderSystemCapabilities::setStencilBufferBitDepth | ( | ushort | num | ) |
Definition at line 449 of file OgreRenderSystemCapabilities.h.
References mStencilBufferBitDepth.
void Ogre::RenderSystemCapabilities::setTesselationDomainProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants tesselation Domain programs support.
Definition at line 830 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setTesselationDomainProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants tesselation Domain programs support.
Definition at line 820 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setTesselationDomainProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants tesselation Domain programs support.
Definition at line 825 of file OgreRenderSystemCapabilities.h.
References mTesselationDomainProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setTesselationHullProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants tesselation Domain programs support.
Definition at line 799 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setTesselationHullProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants tesselation Hull programs support.
Definition at line 789 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setTesselationHullProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants tesselation Domain programs support.
Definition at line 794 of file OgreRenderSystemCapabilities.h.
References mTesselationHullProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setVendor | ( | GPUVendor | v | ) |
Definition at line 404 of file OgreRenderSystemCapabilities.h.
References mVendor.
Referenced by parseVendorFromString().
void Ogre::RenderSystemCapabilities::setVertexProgramConstantBoolCount | ( | ushort | c | ) |
The number of boolean constants vertex programs support.
Definition at line 655 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantBoolCount.
void Ogre::RenderSystemCapabilities::setVertexProgramConstantFloatCount | ( | ushort | c | ) |
The number of floating-point constants vertex programs support.
Definition at line 645 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantFloatCount.
void Ogre::RenderSystemCapabilities::setVertexProgramConstantIntCount | ( | ushort | c | ) |
The number of integer constants vertex programs support.
Definition at line 650 of file OgreRenderSystemCapabilities.h.
References mVertexProgramConstantIntCount.
void Ogre::RenderSystemCapabilities::setVertexTextureUnitsShared | ( | bool | shared | ) |
Set whether the vertex texture units are shared with the fragment processor.
Definition at line 738 of file OgreRenderSystemCapabilities.h.
References mVertexTextureUnitsShared.
void Ogre::RenderSystemCapabilities::unsetCapability | ( | const Capabilities | c | ) |
Remove a capability flag.
Definition at line 532 of file OgreRenderSystemCapabilities.h.
References CAPS_CATEGORY_MASK, mCapabilities, and OGRE_CAPS_BITSHIFT.
|
static |
Convert a vendor string to an enum.
Referenced by parseVendorFromString().
Convert a vendor enum to a string.
|
private |
Stores the capabilities flags.
Definition at line 307 of file OgreRenderSystemCapabilities.h.
Referenced by hasCapability(), setCapability(), and unsetCapability().
|
private |
Which categories are relevant.
Definition at line 309 of file OgreRenderSystemCapabilities.h.
Referenced by isCategoryRelevant(), and setCategoryRelevant().
|
private |
The number of boolean constants compute programs support.
Definition at line 370 of file OgreRenderSystemCapabilities.h.
Referenced by getComputeProgramConstantBoolCount(), and setComputeProgramConstantBoolCount().
|
private |
The number of floating-point constants compute programs support.
Definition at line 366 of file OgreRenderSystemCapabilities.h.
Referenced by getComputeProgramConstantFloatCount(), and setComputeProgramConstantFloatCount().
|
private |
The number of integer constants compute programs support.
Definition at line 368 of file OgreRenderSystemCapabilities.h.
Referenced by getComputeProgramConstantIntCount(), and setComputeProgramConstantIntCount().
|
private |
The name of the device as reported by the render system.
Definition at line 311 of file OgreRenderSystemCapabilities.h.
Referenced by getDeviceName(), and setDeviceName().
|
private |
This is used to build a database of RSC's if a RSC with same name, but newer version is introduced, the older one will be removed.
Definition at line 291 of file OgreRenderSystemCapabilities.h.
Referenced by getDriverVersion(), isDriverOlderThanVersion(), and setDriverVersion().
|
private |
The number of boolean constants fragment programs support.
Definition at line 332 of file OgreRenderSystemCapabilities.h.
Referenced by getFragmentProgramConstantBoolCount(), and setFragmentProgramConstantBoolCount().
|
private |
The number of floating-point constants fragment programs support.
Definition at line 328 of file OgreRenderSystemCapabilities.h.
Referenced by getFragmentProgramConstantFloatCount(), and setFragmentProgramConstantFloatCount().
|
private |
The number of integer constants fragment programs support.
Definition at line 330 of file OgreRenderSystemCapabilities.h.
Referenced by getFragmentProgramConstantIntCount(), and setFragmentProgramConstantIntCount().
|
private |
The number of boolean constants vertex geometry support.
Definition at line 326 of file OgreRenderSystemCapabilities.h.
Referenced by getGeometryProgramConstantBoolCount(), and setGeometryProgramConstantBoolCount().
|
private |
The number of floating-point constants geometry programs support.
Definition at line 322 of file OgreRenderSystemCapabilities.h.
Referenced by getGeometryProgramConstantFloatCount(), and setGeometryProgramConstantFloatCount().
|
private |
The number of integer constants vertex geometry support.
Definition at line 324 of file OgreRenderSystemCapabilities.h.
Referenced by getGeometryProgramConstantIntCount(), and setGeometryProgramConstantIntCount().
|
private |
The number of vertices a geometry program can emit in a single run.
Definition at line 346 of file OgreRenderSystemCapabilities.h.
Referenced by getGeometryProgramNumOutputVertices(), and setGeometryProgramNumOutputVertices().
|
private |
The maximum point size.
Definition at line 336 of file OgreRenderSystemCapabilities.h.
Referenced by getMaxPointSize(), and setMaxPointSize().
|
private |
The maximum supported anisotropy.
Definition at line 340 of file OgreRenderSystemCapabilities.h.
Referenced by getMaxSupportedAnisotropy(), and setMaxSupportedAnisotropy().
|
private |
Are non-POW2 textures feature-limited?
Definition at line 338 of file OgreRenderSystemCapabilities.h.
Referenced by getNonPOW2TexturesLimited(), and setNonPOW2TexturesLimited().
|
private |
The number of simultaneous render targets supported.
Definition at line 334 of file OgreRenderSystemCapabilities.h.
Referenced by getNumMultiRenderTargets(), and setNumMultiRenderTargets().
|
private |
The number of texture units available.
Definition at line 301 of file OgreRenderSystemCapabilities.h.
Referenced by getNumTextureUnits(), and setNumTextureUnits().
|
private |
The number of matrices available for hardware blending.
Definition at line 305 of file OgreRenderSystemCapabilities.h.
Referenced by getNumVertexBlendMatrices(), and setNumVertexBlendMatrices().
|
private |
The number of vertex texture units supported.
Definition at line 342 of file OgreRenderSystemCapabilities.h.
Referenced by getNumVertexTextureUnits(), and setNumVertexTextureUnits().
|
private |
The number of world matrices available.
Definition at line 299 of file OgreRenderSystemCapabilities.h.
Referenced by getNumWorldMatrices(), and setNumWorldMatrices().
|
private |
The identifier associated with the render system for which these capabilities are valid.
Definition at line 313 of file OgreRenderSystemCapabilities.h.
Referenced by getRenderSystemName(), and setRenderSystemName().
|
staticprivate |
Definition at line 295 of file OgreRenderSystemCapabilities.h.
|
private |
The stencil buffer bit depth.
Definition at line 303 of file OgreRenderSystemCapabilities.h.
Referenced by getStencilBufferBitDepth(), and setStencilBufferBitDepth().
|
private |
The list of supported shader profiles.
Definition at line 350 of file OgreRenderSystemCapabilities.h.
Referenced by addShaderProfile(), getSupportedShaderProfiles(), isShaderProfileSupported(), and removeShaderProfile().
|
private |
The number of boolean constants tesselation Domain programs support.
Definition at line 364 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationDomainProgramConstantBoolCount(), and setTesselationDomainProgramConstantBoolCount().
|
private |
The number of floating-point constants tesselation Domain programs support.
Definition at line 360 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationDomainProgramConstantFloatCount(), and setTesselationDomainProgramConstantFloatCount().
|
private |
The number of integer constants tesselation Domain programs support.
Definition at line 362 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationDomainProgramConstantIntCount(), and setTesselationDomainProgramConstantIntCount().
|
private |
The number of boolean constants tesselation Hull programs support.
Definition at line 358 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationHullProgramConstantBoolCount(), and setTesselationHullProgramConstantBoolCount().
|
private |
The number of floating-point constants tesselation Hull programs support.
Definition at line 354 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationHullProgramConstantFloatCount(), and setTesselationHullProgramConstantFloatCount().
|
private |
The number of integer constants tesselation Hull programs support.
Definition at line 356 of file OgreRenderSystemCapabilities.h.
Referenced by getTesselationHullProgramConstantIntCount(), and setTesselationHullProgramConstantIntCount().
|
private |
GPU Vendor.
Definition at line 293 of file OgreRenderSystemCapabilities.h.
Referenced by getVendor(), and setVendor().
|
private |
The number of boolean constants vertex programs support.
Definition at line 320 of file OgreRenderSystemCapabilities.h.
Referenced by getVertexProgramConstantBoolCount(), and setVertexProgramConstantBoolCount().
|
private |
The number of floating-point constants vertex programs support.
Definition at line 316 of file OgreRenderSystemCapabilities.h.
Referenced by getVertexProgramConstantFloatCount(), and setVertexProgramConstantFloatCount().
|
private |
The number of integer constants vertex programs support.
Definition at line 318 of file OgreRenderSystemCapabilities.h.
Referenced by getVertexProgramConstantIntCount(), and setVertexProgramConstantIntCount().
|
private |
Are vertex texture units shared with fragment processor?
Definition at line 344 of file OgreRenderSystemCapabilities.h.
Referenced by getVertexTextureUnitsShared(), and setVertexTextureUnitsShared().