#include <OgreRenderSystemCapabilities.h>
Public Methods | |
RenderSystemCapabilities () | |
~RenderSystemCapabilities () | |
void | setNumWorldMatricies (ushort num) |
void | setNumTextureUnits (ushort num) |
void | setStencilBufferBitDepth (ushort num) |
void | setNumVertexBlendMatrices (ushort num) |
ushort | getNumWorldMatricies (void) const |
ushort | getNumTextureUnits (void) const |
Returns the number of texture units the current output hardware supports. | |
ushort | getStencilBufferBitDepth (void) const |
Determines the bit depth of the hardware accelerated stencil buffer, if supported. | |
ushort | numVertexBlendMatrices (void) const |
Returns the number of matrices available to hardware vertex blending for this rendering system. | |
void | setCapability (const Capabilities c) |
Adds a capability flag to mCapabilities. | |
bool | hasCapability (const Capabilities 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. | |
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. | |
ushort | getVertexProgramConstantBoolCount (void) const |
The number of boolean constants vertex 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 | getFragmentProgramConstantBoolCount (void) const |
The number of boolean constants fragment programs support. | |
void | setMaxVertexProgramVersion (const String &ver) |
sets the best low-level vertex program version supported | |
void | setMaxFragmentProgramVersion (const String &ver) |
sets the best fragment program that this card / rendersystem supports | |
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 | setVertexProgramConstantBoolCount (ushort c) |
The number of boolean constants vertex 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 | setFragmentProgramConstantBoolCount (ushort c) |
The number of boolean constants fragment programs support. | |
void | log (Log *pLog) |
Write the capabilities to the pass in Log. | |
Private Attributes | |
ushort | mNumWorldMatrices |
The number of world matricies available. | |
ushort | mNumTextureUnits |
The number of texture units available. | |
ushort | mStencilBufferBitDepth |
The stencil buffer bit depth. | |
ushort | mNumVertexBlendMatrices |
The number of matrices available for hardware blending. | |
int | mCapabilities |
Stores the capabilities flags. | |
String | mMaxVertexProgramVersion |
The best vertex program that this card / rendersystem supports. | |
String | mMaxFragmentProgramVersion |
The best fragment program that this card / rendersystem supports. | |
ushort | mVertexProgramConstantFloatCount |
The number of floating-point constants vertex programs support. | |
ushort | mVertexProgramConstantIntCount |
The number of integer constants vertex programs support. | |
ushort | mVertexProgramConstantBoolCount |
The number of boolean constants vertex programs support. | |
ushort | mFragmentProgramConstantFloatCount |
The number of floating-point constants fragment programs support. | |
ushort | mFragmentProgramConstantIntCount |
The number of integer constants fragment programs support. | |
ushort | mFragmentProgramConstantBoolCount |
The number of boolean constants fragment programs support. |
Definition at line 85 of file OgreRenderSystemCapabilities.h.
|
Definition at line 35 of file OgreRenderSystemCapabilities.cpp. |
|
Definition at line 41 of file OgreRenderSystemCapabilities.cpp. |
|
The number of boolean constants fragment programs support.
Definition at line 233 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
The number of floating-point constants fragment programs support.
Definition at line 223 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
The number of integer constants fragment programs support.
Definition at line 228 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
Gets the best fragment program that this card / rendersystem supports.
Definition at line 203 of file OgreRenderSystemCapabilities.h. Referenced by log(). |
|
Gets the best low-level vertex program version supported.
Definition at line 198 of file OgreRenderSystemCapabilities.h. Referenced by log(). |
|
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. Definition at line 154 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::Technique::_compile(), Ogre::RenderSystem::_disableTextureUnitsFrom(), and Ogre::GLRenderSystem::_render(). |
|
Definition at line 139 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
Determines the bit depth of the hardware accelerated stencil buffer, if supported.
Definition at line 165 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by log(). |
|
The number of boolean constants vertex programs support.
Definition at line 218 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
The number of floating-point constants vertex programs support.
Definition at line 208 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
The number of integer constants vertex programs support.
Definition at line 213 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
|
Write the capabilities to the pass in Log.
Definition at line 45 of file OgreRenderSystemCapabilities.cpp. References getMaxFragmentProgramVersion(), getMaxVertexProgramVersion(), getStencilBufferBitDepth(), hasCapability(), Ogre::Log::logMessage(), Ogre::RSC_ANISOTROPY, Ogre::RSC_AUTOMIPMAP, Ogre::RSC_BLENDING, Ogre::RSC_CUBEMAPPING, Ogre::RSC_DOT3, Ogre::RSC_FRAGMENT_PROGRAM, Ogre::RSC_HWOCCLUSION, Ogre::RSC_HWSTENCIL, Ogre::RSC_SCISSOR_TEST, Ogre::RSC_STENCIL_WRAP, Ogre::RSC_TEXTURE_COMPRESSION, Ogre::RSC_TEXTURE_COMPRESSION_DXT, Ogre::RSC_TEXTURE_COMPRESSION_VTC, Ogre::RSC_TWO_SIDED_STENCIL, Ogre::RSC_USER_CLIP_PLANES, Ogre::RSC_VBO, and Ogre::RSC_VERTEX_PROGRAM. Referenced by Ogre::D3DRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::initCapabilities(), and Ogre::GLRenderSystem::initGL(). |
|
Returns the number of matrices available to hardware vertex blending for this rendering system.
Definition at line 172 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
Adds a capability flag to mCapabilities.
Definition at line 179 of file OgreRenderSystemCapabilities.h. References Ogre::Capabilities. Referenced by Ogre::D3D9RenderSystem::convertPixelShaderCaps(), Ogre::D3D9RenderSystem::convertVertexShaderCaps(), Ogre::D3DRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::initCapabilities(), and Ogre::GLRenderSystem::initGL(). |
|
The number of boolean constants fragment programs support.
Definition at line 276 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertPixelShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
The number of floating-point constants fragment programs support.
Definition at line 266 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertPixelShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
The number of integer constants fragment programs support.
Definition at line 271 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertPixelShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
sets the best fragment program that this card / rendersystem supports
Definition at line 246 of file OgreRenderSystemCapabilities.h. Referenced by Ogre::D3D9RenderSystem::convertPixelShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
sets the best low-level vertex program version supported
Definition at line 241 of file OgreRenderSystemCapabilities.h. Referenced by Ogre::D3D9RenderSystem::convertVertexShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
Definition at line 124 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3DRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::initCapabilities(), and Ogre::GLRenderSystem::initGL(). |
|
Definition at line 134 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
Definition at line 119 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. |
|
Definition at line 129 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3DRenderSystem::createRenderWindow(), Ogre::D3D9RenderSystem::initCapabilities(), and Ogre::GLRenderSystem::initGL(). |
|
The number of boolean constants vertex programs support.
Definition at line 261 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertVertexShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
The number of floating-point constants vertex programs support.
Definition at line 251 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertVertexShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
The number of integer constants vertex programs support.
Definition at line 256 of file OgreRenderSystemCapabilities.h. References Ogre::ushort. Referenced by Ogre::D3D9RenderSystem::convertVertexShaderCaps(), and Ogre::GLRenderSystem::initGL(). |
|
Stores the capabilities flags.
Definition at line 97 of file OgreRenderSystemCapabilities.h. |
|
The number of boolean constants fragment programs support.
Definition at line 113 of file OgreRenderSystemCapabilities.h. |
|
The number of floating-point constants fragment programs support.
Definition at line 109 of file OgreRenderSystemCapabilities.h. |
|
The number of integer constants fragment programs support.
Definition at line 111 of file OgreRenderSystemCapabilities.h. |
|
The best fragment program that this card / rendersystem supports.
Definition at line 101 of file OgreRenderSystemCapabilities.h. |
|
The best vertex program that this card / rendersystem supports.
Definition at line 99 of file OgreRenderSystemCapabilities.h. |
|
The number of texture units available.
Definition at line 91 of file OgreRenderSystemCapabilities.h. |
|
The number of matrices available for hardware blending.
Definition at line 95 of file OgreRenderSystemCapabilities.h. |
|
The number of world matricies available.
Definition at line 89 of file OgreRenderSystemCapabilities.h. |
|
The stencil buffer bit depth.
Definition at line 93 of file OgreRenderSystemCapabilities.h. |
|
The number of boolean constants vertex programs support.
Definition at line 107 of file OgreRenderSystemCapabilities.h. |
|
The number of floating-point constants vertex programs support.
Definition at line 103 of file OgreRenderSystemCapabilities.h. |
|
The number of integer constants vertex programs support.
Definition at line 105 of file OgreRenderSystemCapabilities.h. |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:27:00 2004