OGRE 2.1
Object-Oriented Graphics Rendering Engine
|
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. | |
ushort | getMaximumResolution2D (void) const |
Maximum resolution (width or height) | |
ushort | getMaximumResolution3D (void) const |
Maximum resolution (width or height) | |
ushort | getMaximumResolutionCubemap (void) const |
Maximum resolution (width or height) | |
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 | getTessellationDomainProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getTessellationDomainProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getTessellationDomainProgramConstantIntCount (void) const |
The number of integer constants fragment programs support. | |
ushort | getTessellationHullProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
ushort | getTessellationHullProgramConstantFloatCount (void) const |
The number of floating-point constants fragment programs support. | |
ushort | getTessellationHullProgramConstantIntCount (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 (const 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, const char *, int, const char *) |
void | operator delete (void *ptr, void *) |
void | operator delete[] (void *ptr) |
void | operator delete[] (void *ptr, const char *, int, const char *) |
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, void *ptr) |
placement operator new | |
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 | 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 | setMaximumResolutions (ushort res2d, ushort res3d, ushort resCube) |
Maximum resolution (width or height) | |
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 | setTessellationDomainProgramConstantBoolCount (ushort c) |
The number of boolean constants tessellation Domain programs support. | |
void | setTessellationDomainProgramConstantFloatCount (ushort c) |
The number of floating-point constants tessellation Domain programs support. | |
void | setTessellationDomainProgramConstantIntCount (ushort c) |
The number of integer constants tessellation Domain programs support. | |
void | setTessellationHullProgramConstantBoolCount (ushort c) |
The number of boolean constants tessellation Domain programs support. | |
void | setTessellationHullProgramConstantFloatCount (ushort c) |
The number of floating-point constants tessellation Hull programs support. | |
void | setTessellationHullProgramConstantIntCount (ushort c) |
The number of integer constants tessellation 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. | |
singleton class for storing the capabilities of the graphics card.
Ogre::RenderSystemCapabilities::RenderSystemCapabilities | ( | ) |
|
virtual |
Adds the profile to the list of supported profiles.
The number of boolean constants fragment programs support.
The number of floating-point constants fragment programs support.
The number of integer constants fragment programs support.
|
inline |
gets the device name for render system
|
inline |
The number of boolean constants fragment programs support.
The number of floating-point constants fragment programs support.
The number of integer constants fragment programs support.
The number of boolean constants geometry programs support.
The number of floating-point constants geometry programs support.
The number of integer constants geometry programs support.
Get the number of vertices a single geometry program run can emit.
Maximum resolution (width or height)
Maximum resolution (width or height)
Maximum resolution (width or height)
Maximum point screen size in pixels.
|
inline |
Get the maximum supported anisotropic filtering.
Are non-power of two textures limited in features?
The number of simultaneous render targets supported.
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.
Returns the number of matrices available to hardware vertex blending for this rendering system.
Get the number of vertex texture units supported.
Get the identifier of the rendersystem from which these capabilities were generated.
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
|
inline |
Returns a set of all supported shader profiles.
|
inline |
The number of boolean constants fragment programs support.
|
inline |
The number of floating-point constants fragment programs support.
|
inline |
The number of integer constants fragment programs support.
|
inline |
The number of boolean constants fragment programs support.
|
inline |
The number of floating-point constants fragment programs support.
|
inline |
The number of integer constants fragment programs support.
|
inline |
The number of boolean constants vertex programs support.
The number of floating-point constants vertex programs support.
The number of integer constants vertex programs support.
Get whether the vertex texture units are shared with the fragment processor.
|
inline |
Checks for a capability.
References CAPS_CATEGORY_MASK, and OGRE_CAPS_BITSHIFT.
|
inline |
Returns true if capability is render system specific.
References Ogre::CAPS_CATEGORY_D3D9, Ogre::CAPS_CATEGORY_GL, and OGRE_CAPS_BITSHIFT.
|
inline |
Return whether a category is 'relevant' or not, ie will it be reported.
|
inline |
|
inline |
Returns true if profile is in the list of supported profiles.
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
|
inlineinherited |
operator new, with debug line info
placement operator new
|
inlineinherited |
|
inlineinherited |
array operator new, with debug line info
|
inline |
References Ogre::DriverVersion::fromString().
Parse and set vendor.
Remove a given shader profile, if present.
|
inline |
Adds a capability flag.
References CAPS_CATEGORY_MASK, and OGRE_CAPS_BITSHIFT.
|
inline |
Mark a category as 'relevant' or not, ie will it be reported.
The number of boolean constants compute programs support.
The number of floating-point constants compute programs support.
The number of integer constants compute programs support.
sets the device name for Render system
|
inline |
Set the driver version.
The number of boolean constants fragment programs support.
The number of floating-point constants fragment programs support.
The number of integer constants fragment programs support.
The number of boolean constants geometry programs support.
The number of floating-point constants geometry programs support.
The number of integer constants geometry programs support.
|
inline |
Set the number of vertices a single geometry program run can emit.
|
inline |
Maximum resolution (width or height)
Maximum point screen size in pixels.
Set the maximum supported anisotropic filtering.
Non-POW2 textures limited.
The number of simultaneous render targets supported.
Set the number of vertex texture units supported.
Set the identifier of the rendersystem from which these capabilities were generated.
|
inline |
The number of boolean constants tessellation Domain programs support.
|
inline |
The number of floating-point constants tessellation Domain programs support.
|
inline |
The number of integer constants tessellation Domain programs support.
The number of boolean constants tessellation Domain programs support.
|
inline |
The number of floating-point constants tessellation Hull programs support.
The number of integer constants tessellation Domain programs support.
The number of boolean constants vertex programs support.
The number of floating-point constants vertex programs support.
The number of integer constants vertex programs support.
Set whether the vertex texture units are shared with the fragment processor.
|
inline |
Remove a capability flag.
References CAPS_CATEGORY_MASK, and OGRE_CAPS_BITSHIFT.
|
static |
Convert a vendor string to an enum.
Convert a vendor enum to a string.