ruby-ogre 0.0.5-x86-linux → 0.1.0-x86-linux
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +27 -17
- data/Rakefile +80 -248
- data/lib/{version.rb → ruby-ogre/version.rb} +1 -1
- data/ruby-ogre-push.gemspec +30 -0
- metadata +23 -1623
- data/INSTALL.md +0 -24
- data/bindings/ogre/interface/AnyVALUE.h +0 -21
- data/bindings/ogre/interface/GLX/OgreConfigDialogImp.i +0 -8
- data/bindings/ogre/interface/GLX/OgreErrorDialogImp.i +0 -8
- data/bindings/ogre/interface/GLX/OgreTimerImp.i +0 -8
- data/bindings/ogre/interface/Ogre.i +0 -8
- data/bindings/ogre/interface/OgreAlignedAllocator.i +0 -10
- data/bindings/ogre/interface/OgreAnimable.i +0 -6
- data/bindings/ogre/interface/OgreAnimation.i +0 -8
- data/bindings/ogre/interface/OgreAnimationBlender.i +0 -8
- data/bindings/ogre/interface/OgreAnimationState.i +0 -31
- data/bindings/ogre/interface/OgreAnimationTrack.i +0 -6
- data/bindings/ogre/interface/OgreAny.i +0 -381
- data/bindings/ogre/interface/OgreArchive.i +0 -6
- data/bindings/ogre/interface/OgreArchiveFactory.i +0 -10
- data/bindings/ogre/interface/OgreArchiveManager.i +0 -8
- data/bindings/ogre/interface/OgreAtomicWrappers.i +0 -8
- data/bindings/ogre/interface/OgreAutoParamDataSource.i +0 -8
- data/bindings/ogre/interface/OgreAxisAlignedBox.i +0 -6
- data/bindings/ogre/interface/OgreBillboard.i +0 -8
- data/bindings/ogre/interface/OgreBillboardChain.i +0 -8
- data/bindings/ogre/interface/OgreBillboardParticleRenderer.i +0 -8
- data/bindings/ogre/interface/OgreBillboardSet.i +0 -8
- data/bindings/ogre/interface/OgreBitwise.i +0 -10
- data/bindings/ogre/interface/OgreBlendMode.i +0 -6
- data/bindings/ogre/interface/OgreBone.i +0 -8
- data/bindings/ogre/interface/OgreBorderPanelOverlayElement.i +0 -14
- data/bindings/ogre/interface/OgreBuildSettings.i +0 -8
- data/bindings/ogre/interface/OgreCamera.i +0 -6
- data/bindings/ogre/interface/OgreCodec.i +0 -8
- data/bindings/ogre/interface/OgreColourValue.i +0 -6
- data/bindings/ogre/interface/OgreCommon.i +0 -12
- data/bindings/ogre/interface/OgreCompositionPass.i +0 -8
- data/bindings/ogre/interface/OgreCompositionTargetPass.i +0 -8
- data/bindings/ogre/interface/OgreCompositionTechnique.i +0 -13
- data/bindings/ogre/interface/OgreCompositor.i +0 -8
- data/bindings/ogre/interface/OgreCompositorChain.i +0 -8
- data/bindings/ogre/interface/OgreCompositorInstance.i +0 -8
- data/bindings/ogre/interface/OgreCompositorLogic.i +0 -8
- data/bindings/ogre/interface/OgreCompositorManager.i +0 -8
- data/bindings/ogre/interface/OgreConfig.i +0 -8
- data/bindings/ogre/interface/OgreConfigDialog.i +0 -8
- data/bindings/ogre/interface/OgreConfigFile.i +0 -88
- data/bindings/ogre/interface/OgreConfigOptionMap.i +0 -6
- data/bindings/ogre/interface/OgreController.i +0 -8
- data/bindings/ogre/interface/OgreControllerManager.i +0 -8
- data/bindings/ogre/interface/OgreConvexBody.i +0 -8
- data/bindings/ogre/interface/OgreCustomCompositionPass.i +0 -8
- data/bindings/ogre/interface/OgreDDSCodec.i +0 -8
- data/bindings/ogre/interface/OgreDataStream.i +0 -6
- data/bindings/ogre/interface/OgreDefaultHardwareBufferManager.i +0 -8
- data/bindings/ogre/interface/OgreDeflate.i +0 -8
- data/bindings/ogre/interface/OgreDepthBuffer.i +0 -8
- data/bindings/ogre/interface/OgreDistanceLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgreDualQuaternion.i +0 -8
- data/bindings/ogre/interface/OgreDynLib.i +0 -8
- data/bindings/ogre/interface/OgreDynLibManager.i +0 -8
- data/bindings/ogre/interface/OgreEdgeListBuilder.i +0 -8
- data/bindings/ogre/interface/OgreEntity.i +0 -6
- data/bindings/ogre/interface/OgreErrorDialog.i +0 -8
- data/bindings/ogre/interface/OgreException.i +0 -8
- data/bindings/ogre/interface/OgreExternalTextureSource.i +0 -8
- data/bindings/ogre/interface/OgreExternalTextureSourceManager.i +0 -8
- data/bindings/ogre/interface/OgreFactoryObj.i +0 -8
- data/bindings/ogre/interface/OgreFileSystem.i +0 -8
- data/bindings/ogre/interface/OgreFont.i +0 -8
- data/bindings/ogre/interface/OgreFontManager.i +0 -8
- data/bindings/ogre/interface/OgreFrameListener.i +0 -9
- data/bindings/ogre/interface/OgreFreeImageCodec.i +0 -8
- data/bindings/ogre/interface/OgreFrustum.i +0 -6
- data/bindings/ogre/interface/OgreGpuProgram.i +0 -6
- data/bindings/ogre/interface/OgreGpuProgramManager.i +0 -8
- data/bindings/ogre/interface/OgreGpuProgramParams.i +0 -13
- data/bindings/ogre/interface/OgreGpuProgramUsage.i +0 -8
- data/bindings/ogre/interface/OgreHardwareBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareBufferManager.i +0 -8
- data/bindings/ogre/interface/OgreHardwareIndexBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareOcclusionQuery.i +0 -8
- data/bindings/ogre/interface/OgreHardwarePixelBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHardwareVertexBuffer.i +0 -6
- data/bindings/ogre/interface/OgreHeaderPrefix.i +0 -8
- data/bindings/ogre/interface/OgreHeaderSuffix.i +0 -8
- data/bindings/ogre/interface/OgreHighLevelGpuProgram.i +0 -8
- data/bindings/ogre/interface/OgreHighLevelGpuProgramManager.i +0 -8
- data/bindings/ogre/interface/OgreImage.i +0 -6
- data/bindings/ogre/interface/OgreImageCodec.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatch.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchHW.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchHW_VTF.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchShader.i +0 -8
- data/bindings/ogre/interface/OgreInstanceBatchVTF.i +0 -8
- data/bindings/ogre/interface/OgreInstanceManager.i +0 -8
- data/bindings/ogre/interface/OgreInstancedEntity.i +0 -8
- data/bindings/ogre/interface/OgreInstancedGeometry.i +0 -9
- data/bindings/ogre/interface/OgreIteratorRange.i +0 -8
- data/bindings/ogre/interface/OgreIteratorWrapper.i +0 -6
- data/bindings/ogre/interface/OgreIteratorWrappers.i +0 -8
- data/bindings/ogre/interface/OgreKeyFrame.i +0 -13
- data/bindings/ogre/interface/OgreLight.i +0 -6
- data/bindings/ogre/interface/OgreLodListener.i +0 -8
- data/bindings/ogre/interface/OgreLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgreLodStrategyManager.i +0 -10
- data/bindings/ogre/interface/OgreLog.i +0 -11
- data/bindings/ogre/interface/OgreLogManager.i +0 -8
- data/bindings/ogre/interface/OgreManualObject.i +0 -8
- data/bindings/ogre/interface/OgreMaterial.i +0 -17
- data/bindings/ogre/interface/OgreMaterialManager.i +0 -6
- data/bindings/ogre/interface/OgreMaterialSerializer.i +0 -8
- data/bindings/ogre/interface/OgreMath.i +0 -5
- data/bindings/ogre/interface/OgreMatrix3.i +0 -8
- data/bindings/ogre/interface/OgreMatrix4.i +0 -6
- data/bindings/ogre/interface/OgreMemoryAllocatedObject.i +0 -8
- data/bindings/ogre/interface/OgreMemoryAllocatorConfig.i +0 -7
- data/bindings/ogre/interface/OgreMemoryNedAlloc.i +0 -8
- data/bindings/ogre/interface/OgreMemoryNedPooling.i +0 -6
- data/bindings/ogre/interface/OgreMemorySTLAllocator.i +0 -5
- data/bindings/ogre/interface/OgreMemoryStdAlloc.i +0 -8
- data/bindings/ogre/interface/OgreMemoryTracker.i +0 -8
- data/bindings/ogre/interface/OgreMesh.i +0 -11
- data/bindings/ogre/interface/OgreMeshFileFormat.i +0 -8
- data/bindings/ogre/interface/OgreMeshManager.i +0 -6
- data/bindings/ogre/interface/OgreMeshSerializer.i +0 -8
- data/bindings/ogre/interface/OgreMeshSerializerImpl.i +0 -8
- data/bindings/ogre/interface/OgreMovableObject.i +0 -12
- data/bindings/ogre/interface/OgreMovablePlane.i +0 -8
- data/bindings/ogre/interface/OgreNode.i +0 -8
- data/bindings/ogre/interface/OgreNumerics.i +0 -8
- data/bindings/ogre/interface/OgreOptimisedUtil.i +0 -8
- data/bindings/ogre/interface/OgreOverlay.i +0 -6
- data/bindings/ogre/interface/OgreOverlayContainer.i +0 -37
- data/bindings/ogre/interface/OgreOverlayElement.i +0 -6
- data/bindings/ogre/interface/OgreOverlayElementCommands.i +0 -8
- data/bindings/ogre/interface/OgreOverlayElementFactory.i +0 -8
- data/bindings/ogre/interface/OgreOverlayManager.i +0 -20
- data/bindings/ogre/interface/OgrePanelOverlayElement.i +0 -14
- data/bindings/ogre/interface/OgreParticle.i +0 -8
- data/bindings/ogre/interface/OgreParticleAffector.i +0 -8
- data/bindings/ogre/interface/OgreParticleAffectorFactory.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitter.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitterCommands.i +0 -8
- data/bindings/ogre/interface/OgreParticleEmitterFactory.i +0 -8
- data/bindings/ogre/interface/OgreParticleIterator.i +0 -8
- data/bindings/ogre/interface/OgreParticleScriptCompiler.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystem.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystemManager.i +0 -8
- data/bindings/ogre/interface/OgreParticleSystemRenderer.i +0 -10
- data/bindings/ogre/interface/OgrePass.i +0 -6
- data/bindings/ogre/interface/OgrePatchMesh.i +0 -6
- data/bindings/ogre/interface/OgrePatchSurface.i +0 -6
- data/bindings/ogre/interface/OgrePixelCountLodStrategy.i +0 -8
- data/bindings/ogre/interface/OgrePixelFormat.i +0 -6
- data/bindings/ogre/interface/OgrePlane.i +0 -6
- data/bindings/ogre/interface/OgrePlaneBoundedVolume.i +0 -6
- data/bindings/ogre/interface/OgrePlatform.i +0 -6
- data/bindings/ogre/interface/OgrePlatformInformation.i +0 -8
- data/bindings/ogre/interface/OgrePlugin.i +0 -8
- data/bindings/ogre/interface/OgrePolygon.i +0 -8
- data/bindings/ogre/interface/OgrePose.i +0 -6
- data/bindings/ogre/interface/OgrePredefinedControllers.i +0 -8
- data/bindings/ogre/interface/OgrePrefabFactory.i +0 -8
- data/bindings/ogre/interface/OgrePrerequisites.i +0 -11
- data/bindings/ogre/interface/OgreProfiler.i +0 -8
- data/bindings/ogre/interface/OgreProgressiveMesh.i +0 -8
- data/bindings/ogre/interface/OgreQuaternion.i +0 -6
- data/bindings/ogre/interface/OgreRadixSort.i +0 -8
- data/bindings/ogre/interface/OgreRay.i +0 -8
- data/bindings/ogre/interface/OgreRectangle.i +0 -6
- data/bindings/ogre/interface/OgreRectangle2D.i +0 -6
- data/bindings/ogre/interface/OgreRenderObjectListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderOperation.i +0 -8
- data/bindings/ogre/interface/OgreRenderQueue.i +0 -6
- data/bindings/ogre/interface/OgreRenderQueueInvocation.i +0 -8
- data/bindings/ogre/interface/OgreRenderQueueListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderQueueSortingGrouping.i +0 -11
- data/bindings/ogre/interface/OgreRenderSystem.i +0 -23
- data/bindings/ogre/interface/OgreRenderSystemCapabilities.i +0 -6
- data/bindings/ogre/interface/OgreRenderSystemCapabilitiesManager.i +0 -8
- data/bindings/ogre/interface/OgreRenderSystemCapabilitiesSerializer.i +0 -8
- data/bindings/ogre/interface/OgreRenderTarget.i +0 -6
- data/bindings/ogre/interface/OgreRenderTargetListener.i +0 -10
- data/bindings/ogre/interface/OgreRenderTexture.i +0 -8
- data/bindings/ogre/interface/OgreRenderToVertexBuffer.i +0 -8
- data/bindings/ogre/interface/OgreRenderWindow.i +0 -6
- data/bindings/ogre/interface/OgreRenderable.i +0 -6
- data/bindings/ogre/interface/OgreResource.i +0 -9
- data/bindings/ogre/interface/OgreResourceBackgroundQueue.i +0 -8
- data/bindings/ogre/interface/OgreResourceGroupManager.i +0 -20
- data/bindings/ogre/interface/OgreResourceManager.i +0 -30
- data/bindings/ogre/interface/OgreRibbonTrail.i +0 -17
- data/bindings/ogre/interface/OgreRoot.i +0 -44
- data/bindings/ogre/interface/OgreRotationalSpline.i +0 -8
- data/bindings/ogre/interface/OgreSceneManager.i +0 -59
- data/bindings/ogre/interface/OgreSceneManagerEnumerator.i +0 -11
- data/bindings/ogre/interface/OgreSceneNode.i +0 -9
- data/bindings/ogre/interface/OgreSceneQuery.i +0 -6
- data/bindings/ogre/interface/OgreScriptCompiler.i +0 -11
- data/bindings/ogre/interface/OgreScriptLexer.i +0 -8
- data/bindings/ogre/interface/OgreScriptLoader.i +0 -8
- data/bindings/ogre/interface/OgreScriptParser.i +0 -8
- data/bindings/ogre/interface/OgreScriptTranslator.i +0 -8
- data/bindings/ogre/interface/OgreSearchOps.i +0 -8
- data/bindings/ogre/interface/OgreSerializer.i +0 -6
- data/bindings/ogre/interface/OgreShadowCameraSetup.i +0 -6
- data/bindings/ogre/interface/OgreShadowCameraSetupFocused.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupLiSPSM.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupPSSM.i +0 -8
- data/bindings/ogre/interface/OgreShadowCameraSetupPlaneOptimal.i +0 -8
- data/bindings/ogre/interface/OgreShadowCaster.i +0 -8
- data/bindings/ogre/interface/OgreShadowTextureManager.i +0 -6
- data/bindings/ogre/interface/OgreShadowVolumeExtrudeProgram.i +0 -8
- data/bindings/ogre/interface/OgreSharedPtr.i +0 -6
- data/bindings/ogre/interface/OgreSimpleRenderable.i +0 -6
- data/bindings/ogre/interface/OgreSimpleSpline.i +0 -8
- data/bindings/ogre/interface/OgreSingleton.i +0 -8
- data/bindings/ogre/interface/OgreSkeleton.i +0 -6
- data/bindings/ogre/interface/OgreSkeletonFileFormat.i +0 -8
- data/bindings/ogre/interface/OgreSkeletonInstance.i +0 -6
- data/bindings/ogre/interface/OgreSkeletonManager.i +0 -8
- data/bindings/ogre/interface/OgreSkeletonSerializer.i +0 -8
- data/bindings/ogre/interface/OgreSmallVector.i +0 -8
- data/bindings/ogre/interface/OgreSphere.i +0 -8
- data/bindings/ogre/interface/OgreSpotShadowFadePng.i +0 -8
- data/bindings/ogre/interface/OgreStableHeaders.i +0 -8
- data/bindings/ogre/interface/OgreStaticFaceGroup.i +0 -8
- data/bindings/ogre/interface/OgreStaticGeometry.i +0 -13
- data/bindings/ogre/interface/OgreStaticPluginLoader.i +0 -8
- data/bindings/ogre/interface/OgreStdHeaders.i +0 -8
- data/bindings/ogre/interface/OgreStreamSerialiser.i +0 -8
- data/bindings/ogre/interface/OgreString.i +0 -6
- data/bindings/ogre/interface/OgreStringConverter.i +0 -8
- data/bindings/ogre/interface/OgreStringInterface.i +0 -8
- data/bindings/ogre/interface/OgreStringVector.i +0 -22
- data/bindings/ogre/interface/OgreSubEntity.i +0 -8
- data/bindings/ogre/interface/OgreSubMesh.i +0 -8
- data/bindings/ogre/interface/OgreTagPoint.i +0 -8
- data/bindings/ogre/interface/OgreTangentSpaceCalc.i +0 -8
- data/bindings/ogre/interface/OgreTechnique.i +0 -18
- data/bindings/ogre/interface/OgreTextAreaOverlayElement.i +0 -8
- data/bindings/ogre/interface/OgreTexture.i +0 -6
- data/bindings/ogre/interface/OgreTextureManager.i +0 -6
- data/bindings/ogre/interface/OgreTextureUnitState.i +0 -6
- data/bindings/ogre/interface/OgreTimer.i +0 -8
- data/bindings/ogre/interface/OgreUTFString.i +0 -26
- data/bindings/ogre/interface/OgreUnifiedHighLevelGpuProgram.i +0 -10
- data/bindings/ogre/interface/OgreUserObjectBindings.i +0 -8
- data/bindings/ogre/interface/OgreVector2.i +0 -8
- data/bindings/ogre/interface/OgreVector3.i +0 -9
- data/bindings/ogre/interface/OgreVector4.i +0 -8
- data/bindings/ogre/interface/OgreVertexBoneAssignment.i +0 -6
- data/bindings/ogre/interface/OgreVertexIndexData.i +0 -8
- data/bindings/ogre/interface/OgreViewport.i +0 -6
- data/bindings/ogre/interface/OgreWindowEventUtilities.i +0 -6
- data/bindings/ogre/interface/OgreWireBoundingBox.i +0 -8
- data/bindings/ogre/interface/OgreWorkQueue.i +0 -8
- data/bindings/ogre/interface/OgreZip.i +0 -12
- data/bindings/ogre/interface/Paging/OgreGrid2DPageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgreGrid3DPageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePage.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageConnection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContent.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentCollection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentCollectionFactory.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageContentFactory.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageFileFormats.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageManager.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePageStrategy.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagedWorld.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagedWorldSection.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePaging.i +0 -8
- data/bindings/ogre/interface/Paging/OgrePagingPrerequisites.i +0 -8
- data/bindings/ogre/interface/Paging/OgreSimplePageContentCollection.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreRTShaderSystem.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderCGProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExDualQuaternionSkinning.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinning.i +0 -10
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExIntegratedPSSM3.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLayeredBlending.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExLinearSkinning.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExNormalMapLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExPerPixelLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderExTextureAtlasSampler.i +0 -10
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPColour.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPFog.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPLighting.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderState.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPRenderStateBuilder.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTexturing.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFFPTransform.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunction.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderFunctionAtom.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLESProgramWriter.i +0 -11
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGLSLProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderGenerator.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderHLSLProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderMaterialSerializerListener.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderParameter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderPrerequisites.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgram.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramManager.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramProcessor.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramSet.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriter.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderProgramWriterManager.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderRenderState.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderScriptTranslator.i +0 -8
- data/bindings/ogre/interface/RTShaderSystem/OgreShaderSubRenderState.i +0 -8
- data/bindings/ogre/interface/Rakefile +0 -22
- data/bindings/ogre/interface/Terrain/OgreTerrain.i +0 -14
- data/bindings/ogre/interface/Terrain/OgreTerrainGroup.i +0 -79
- data/bindings/ogre/interface/Terrain/OgreTerrainLayerBlendMap.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGenerator.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainMaterialGeneratorA.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPagedWorldSection.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPaging.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainPrerequisites.i +0 -8
- data/bindings/ogre/interface/Terrain/OgreTerrainQuadTreeNode.i +0 -8
- data/bindings/ogre/interface/Threading/OgreDefaultWorkQueue.i +0 -8
- data/bindings/ogre/interface/Threading/OgreDefaultWorkQueueStandard.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadDefines.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadDefinesNone.i +0 -8
- data/bindings/ogre/interface/Threading/OgreThreadHeaders.i +0 -8
- data/bindings/ogre/interface/changeFileName +0 -6
- data/bindings/ogre/interface/ogre.i +0 -6
- data/bindings/ogre/interface/ogre_all.i +0 -363
- data/bindings/ogre/interface/ogre_wrap.cpp +0 -552973
- data/bindings/ogre/interface/ogre_wrap.h +0 -79
- data/bindings/ogre/interface/ogre_wrap.o +0 -0
- data/bindings/ogrebites/interface/Rakefile +0 -22
- data/bindings/ogrebites/interface/SdkCameraMan.i +0 -6
- data/bindings/ogrebites/interface/SdkTrays.i +0 -60
- data/bindings/ogrebites/interface/ogrebites.i +0 -26
- data/bindings/ogrebites/interface/ogrebites_wrap.cpp +0 -21112
- data/bindings/ogrebites/interface/ogrebites_wrap.h +0 -34
- data/bindings/ogrebites/interface/ogrebites_wrap.o +0 -0
- data/bindings/ois/interface/OIS_Effect.i +0 -8
- data/bindings/ois/interface/OIS_Event.i +0 -8
- data/bindings/ois/interface/OIS_Exception.i +0 -8
- data/bindings/ois/interface/OIS_FactoryCreator.i +0 -8
- data/bindings/ois/interface/OIS_ForceFeedback.i +0 -8
- data/bindings/ois/interface/OIS_InputManager.i +0 -20
- data/bindings/ois/interface/OIS_Interface.i +0 -8
- data/bindings/ois/interface/OIS_JoyStick.i +0 -8
- data/bindings/ois/interface/OIS_Keyboard.i +0 -15
- data/bindings/ois/interface/OIS_Mouse.i +0 -10
- data/bindings/ois/interface/OIS_Object.i +0 -22
- data/bindings/ois/interface/OIS_Prereqs.i +0 -20
- data/bindings/ois/interface/Rakefile +0 -22
- data/bindings/ois/interface/ois.i +0 -3
- data/bindings/ois/interface/ois_all.i +0 -23
- data/bindings/ois/interface/ois_wrap.cpp +0 -19311
- data/bindings/ois/interface/ois_wrap.h +0 -40
- data/bindings/ois/interface/ois_wrap.o +0 -0
- data/bindings/procedural/interface/ProceduralBoxGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralCapsuleGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralConeGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralCylinderGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralExtruder.i +0 -8
- data/bindings/procedural/interface/ProceduralGeometryHelpers.i +0 -15
- data/bindings/procedural/interface/ProceduralHeader.i +0 -8
- data/bindings/procedural/interface/ProceduralIcoSphereGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralLathe.i +0 -8
- data/bindings/procedural/interface/ProceduralMeshGenerator.i +0 -9
- data/bindings/procedural/interface/ProceduralMultiShape.i +0 -8
- data/bindings/procedural/interface/ProceduralPath.i +0 -8
- data/bindings/procedural/interface/ProceduralPathGenerators.i +0 -10
- data/bindings/procedural/interface/ProceduralPlaneGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralPlatform.i +0 -8
- data/bindings/procedural/interface/ProceduralRoot.i +0 -23
- data/bindings/procedural/interface/ProceduralRoundedBoxGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralShape.i +0 -8
- data/bindings/procedural/interface/ProceduralShapeGenerators.i +0 -10
- data/bindings/procedural/interface/ProceduralSphereGenerator.i +0 -11
- data/bindings/procedural/interface/ProceduralSplines.i +0 -8
- data/bindings/procedural/interface/ProceduralStableHeaders.i +0 -8
- data/bindings/procedural/interface/ProceduralTorusGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralTorusKnotGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralTrack.i +0 -8
- data/bindings/procedural/interface/ProceduralTriangleBuffer.i +0 -13
- data/bindings/procedural/interface/ProceduralTriangulator.i +0 -8
- data/bindings/procedural/interface/ProceduralTubeGenerator.i +0 -12
- data/bindings/procedural/interface/ProceduralUtils.i +0 -8
- data/bindings/procedural/interface/Rakefile +0 -22
- data/bindings/procedural/interface/procedural.i +0 -41
- data/bindings/procedural/interface/procedural_wrap.cpp +0 -36079
- data/bindings/procedural/interface/procedural_wrap.h +0 -19
- data/bindings/procedural/interface/procedural_wrap.o +0 -0
- data/deps/include/OGRE/ExampleApplication.h +0 -431
- data/deps/include/OGRE/ExampleFrameListener.h +0 -516
- data/deps/include/OGRE/ExampleLoadingBar.h +0 -192
- data/deps/include/OGRE/FileSystemLayer.h +0 -75
- data/deps/include/OGRE/GLX/OgreConfigDialogImp.h +0 -75
- data/deps/include/OGRE/GLX/OgreErrorDialogImp.h +0 -52
- data/deps/include/OGRE/GLX/OgreTimerImp.h +0 -79
- data/deps/include/OGRE/Ogre.h +0 -133
- data/deps/include/OGRE/OgreAlignedAllocator.h +0 -107
- data/deps/include/OGRE/OgreAnimable.h +0 -335
- data/deps/include/OGRE/OgreAnimation.h +0 -544
- data/deps/include/OGRE/OgreAnimationState.h +0 -295
- data/deps/include/OGRE/OgreAnimationTrack.h +0 -580
- data/deps/include/OGRE/OgreAny.h +0 -440
- data/deps/include/OGRE/OgreArchive.h +0 -240
- data/deps/include/OGRE/OgreArchiveFactory.h +0 -70
- data/deps/include/OGRE/OgreArchiveManager.h +0 -139
- data/deps/include/OGRE/OgreAtomicWrappers.h +0 -441
- data/deps/include/OGRE/OgreAutoParamDataSource.h +0 -265
- data/deps/include/OGRE/OgreAxisAlignedBox.h +0 -841
- data/deps/include/OGRE/OgreBillboard.h +0 -225
- data/deps/include/OGRE/OgreBillboardChain.h +0 -387
- data/deps/include/OGRE/OgreBillboardParticleRenderer.h +0 -263
- data/deps/include/OGRE/OgreBillboardSet.h +0 -878
- data/deps/include/OGRE/OgreBitwise.h +0 -331
- data/deps/include/OGRE/OgreBlendMode.h +0 -266
- data/deps/include/OGRE/OgreBone.h +0 -154
- data/deps/include/OGRE/OgreBorderPanelOverlayElement.h +0 -352
- data/deps/include/OGRE/OgreBuildSettings.h +0 -62
- data/deps/include/OGRE/OgreCamera.h +0 -680
- data/deps/include/OGRE/OgreCodec.h +0 -178
- data/deps/include/OGRE/OgreColourValue.h +0 -334
- data/deps/include/OGRE/OgreCommon.h +0 -870
- data/deps/include/OGRE/OgreCompositionPass.h +0 -356
- data/deps/include/OGRE/OgreCompositionTargetPass.h +0 -174
- data/deps/include/OGRE/OgreCompositionTechnique.h +0 -188
- data/deps/include/OGRE/OgreCompositor.h +0 -235
- data/deps/include/OGRE/OgreCompositorChain.h +0 -241
- data/deps/include/OGRE/OgreCompositorInstance.h +0 -373
- data/deps/include/OGRE/OgreCompositorLogic.h +0 -68
- data/deps/include/OGRE/OgreCompositorManager.h +0 -291
- data/deps/include/OGRE/OgreConfig.h +0 -189
- data/deps/include/OGRE/OgreConfigDialog.h +0 -55
- data/deps/include/OGRE/OgreConfigFile.h +0 -110
- data/deps/include/OGRE/OgreConfigOptionMap.h +0 -63
- data/deps/include/OGRE/OgreController.h +0 -233
- data/deps/include/OGRE/OgreControllerManager.h +0 -294
- data/deps/include/OGRE/OgreConvexBody.h +0 -260
- data/deps/include/OGRE/OgreCustomCompositionPass.h +0 -65
- data/deps/include/OGRE/OgreDDSCodec.h +0 -98
- data/deps/include/OGRE/OgreDataStream.h +0 -664
- data/deps/include/OGRE/OgreDefaultHardwareBufferManager.h +0 -140
- data/deps/include/OGRE/OgreDeflate.h +0 -133
- data/deps/include/OGRE/OgreDepthBuffer.h +0 -155
- data/deps/include/OGRE/OgreDistanceLodStrategy.h +0 -137
- data/deps/include/OGRE/OgreDualQuaternion.h +0 -184
- data/deps/include/OGRE/OgreDynLib.h +0 -124
- data/deps/include/OGRE/OgreDynLibManager.h +0 -117
- data/deps/include/OGRE/OgreEdgeListBuilder.h +0 -269
- data/deps/include/OGRE/OgreEntity.h +0 -866
- data/deps/include/OGRE/OgreErrorDialog.h +0 -55
- data/deps/include/OGRE/OgreException.h +0 -351
- data/deps/include/OGRE/OgreExternalTextureSource.h +0 -191
- data/deps/include/OGRE/OgreExternalTextureSourceManager.h +0 -124
- data/deps/include/OGRE/OgreFactoryObj.h +0 -72
- data/deps/include/OGRE/OgreFileSystem.h +0 -144
- data/deps/include/OGRE/OgreFont.h +0 -478
- data/deps/include/OGRE/OgreFontManager.h +0 -102
- data/deps/include/OGRE/OgreFrameListener.h +0 -140
- data/deps/include/OGRE/OgreFreeImageCodec.h +0 -87
- data/deps/include/OGRE/OgreFrustum.h +0 -673
- data/deps/include/OGRE/OgreGpuProgram.h +0 -487
- data/deps/include/OGRE/OgreGpuProgramManager.h +0 -262
- data/deps/include/OGRE/OgreGpuProgramParams.h +0 -1840
- data/deps/include/OGRE/OgreGpuProgramUsage.h +0 -149
- data/deps/include/OGRE/OgreHardwareBuffer.h +0 -356
- data/deps/include/OGRE/OgreHardwareBufferManager.h +0 -539
- data/deps/include/OGRE/OgreHardwareIndexBuffer.h +0 -89
- data/deps/include/OGRE/OgreHardwareOcclusionQuery.h +0 -132
- data/deps/include/OGRE/OgreHardwarePixelBuffer.h +0 -208
- data/deps/include/OGRE/OgreHardwareVertexBuffer.h +0 -581
- data/deps/include/OGRE/OgreHeaderPrefix.h +0 -82
- data/deps/include/OGRE/OgreHeaderSuffix.h +0 -44
- data/deps/include/OGRE/OgreHighLevelGpuProgram.h +0 -194
- data/deps/include/OGRE/OgreHighLevelGpuProgramManager.h +0 -158
- data/deps/include/OGRE/OgreImage.h +0 -510
- data/deps/include/OGRE/OgreImageCodec.h +0 -89
- data/deps/include/OGRE/OgreInstanceBatch.h +0 -348
- data/deps/include/OGRE/OgreInstanceBatchHW.h +0 -110
- data/deps/include/OGRE/OgreInstanceBatchHW_VTF.h +0 -113
- data/deps/include/OGRE/OgreInstanceBatchShader.h +0 -99
- data/deps/include/OGRE/OgreInstanceBatchVTF.h +0 -226
- data/deps/include/OGRE/OgreInstanceManager.h +0 -285
- data/deps/include/OGRE/OgreInstancedEntity.h +0 -277
- data/deps/include/OGRE/OgreInstancedGeometry.h +0 -890
- data/deps/include/OGRE/OgreIteratorRange.h +0 -332
- data/deps/include/OGRE/OgreIteratorWrapper.h +0 -383
- data/deps/include/OGRE/OgreIteratorWrappers.h +0 -35
- data/deps/include/OGRE/OgreKeyFrame.h +0 -257
- data/deps/include/OGRE/OgreLight.h +0 -597
- data/deps/include/OGRE/OgreLodListener.h +0 -207
- data/deps/include/OGRE/OgreLodStrategy.h +0 -132
- data/deps/include/OGRE/OgreLodStrategyManager.h +0 -133
- data/deps/include/OGRE/OgreLog.h +0 -263
- data/deps/include/OGRE/OgreLogManager.h +0 -175
- data/deps/include/OGRE/OgreManualObject.h +0 -572
- data/deps/include/OGRE/OgreMaterial.h +0 -741
- data/deps/include/OGRE/OgreMaterialManager.h +0 -304
- data/deps/include/OGRE/OgreMaterialSerializer.h +0 -447
- data/deps/include/OGRE/OgreMath.h +0 -743
- data/deps/include/OGRE/OgreMatrix3.h +0 -286
- data/deps/include/OGRE/OgreMatrix4.h +0 -660
- data/deps/include/OGRE/OgreMemoryAllocatedObject.h +0 -129
- data/deps/include/OGRE/OgreMemoryAllocatorConfig.h +0 -493
- data/deps/include/OGRE/OgreMemoryNedAlloc.h +0 -140
- data/deps/include/OGRE/OgreMemoryNedPooling.h +0 -143
- data/deps/include/OGRE/OgreMemorySTLAllocator.h +0 -225
- data/deps/include/OGRE/OgreMemoryStdAlloc.h +0 -155
- data/deps/include/OGRE/OgreMemoryTracker.h +0 -197
- data/deps/include/OGRE/OgreMesh.h +0 -922
- data/deps/include/OGRE/OgreMeshFileFormat.h +0 -295
- data/deps/include/OGRE/OgreMeshManager.h +0 -497
- data/deps/include/OGRE/OgreMeshSerializer.h +0 -206
- data/deps/include/OGRE/OgreMeshSerializerImpl.h +0 -274
- data/deps/include/OGRE/OgreMovableObject.h +0 -641
- data/deps/include/OGRE/OgreMovablePlane.h +0 -97
- data/deps/include/OGRE/OgreNode.h +0 -774
- data/deps/include/OGRE/OgreNumerics.h +0 -66
- data/deps/include/OGRE/OgreOptimisedUtil.h +0 -232
- data/deps/include/OGRE/OgreOverlay.h +0 -280
- data/deps/include/OGRE/OgreOverlayContainer.h +0 -152
- data/deps/include/OGRE/OgreOverlayElement.h +0 -501
- data/deps/include/OGRE/OgreOverlayElementCommands.h +0 -122
- data/deps/include/OGRE/OgreOverlayElementFactory.h +0 -116
- data/deps/include/OGRE/OgreOverlayManager.h +0 -256
- data/deps/include/OGRE/OgrePanelOverlayElement.h +0 -161
- data/deps/include/OGRE/OgreParticle.h +0 -154
- data/deps/include/OGRE/OgreParticleAffector.h +0 -127
- data/deps/include/OGRE/OgreParticleAffectorFactory.h +0 -81
- data/deps/include/OGRE/OgreParticleEmitter.h +0 -524
- data/deps/include/OGRE/OgreParticleEmitterCommands.h +0 -215
- data/deps/include/OGRE/OgreParticleEmitterFactory.h +0 -84
- data/deps/include/OGRE/OgreParticleIterator.h +0 -68
- data/deps/include/OGRE/OgreParticleScriptCompiler.h +0 -92
- data/deps/include/OGRE/OgreParticleSystem.h +0 -913
- data/deps/include/OGRE/OgreParticleSystemManager.h +0 -406
- data/deps/include/OGRE/OgreParticleSystemRenderer.h +0 -143
- data/deps/include/OGRE/OgrePass.h +0 -1775
- data/deps/include/OGRE/OgrePatchMesh.h +0 -164
- data/deps/include/OGRE/OgrePatchSurface.h +0 -240
- data/deps/include/OGRE/OgrePixelCountLodStrategy.h +0 -113
- data/deps/include/OGRE/OgrePixelFormat.h +0 -513
- data/deps/include/OGRE/OgrePlane.h +0 -166
- data/deps/include/OGRE/OgrePlaneBoundedVolume.h +0 -135
- data/deps/include/OGRE/OgrePlatform.h +0 -288
- data/deps/include/OGRE/OgrePlatformInformation.h +0 -202
- data/deps/include/OGRE/OgrePlugin.h +0 -139
- data/deps/include/OGRE/OgrePolygon.h +0 -145
- data/deps/include/OGRE/OgrePose.h +0 -141
- data/deps/include/OGRE/OgrePredefinedControllers.h +0 -292
- data/deps/include/OGRE/OgrePrefabFactory.h +0 -73
- data/deps/include/OGRE/OgrePrerequisites.h +0 -563
- data/deps/include/OGRE/OgreProfiler.h +0 -549
- data/deps/include/OGRE/OgreProgressiveMesh.h +0 -416
- data/deps/include/OGRE/OgreQuaternion.h +0 -330
- data/deps/include/OGRE/OgreRadixSort.h +0 -330
- data/deps/include/OGRE/OgreRay.h +0 -122
- data/deps/include/OGRE/OgreRectangle.h +0 -77
- data/deps/include/OGRE/OgreRectangle2D.h +0 -101
- data/deps/include/OGRE/OgreRenderObjectListener.h +0 -64
- data/deps/include/OGRE/OgreRenderOperation.h +0 -100
- data/deps/include/OGRE/OgreRenderQueue.h +0 -516
- data/deps/include/OGRE/OgreRenderQueueInvocation.h +0 -225
- data/deps/include/OGRE/OgreRenderQueueListener.h +0 -106
- data/deps/include/OGRE/OgreRenderQueueSortingGrouping.h +0 -733
- data/deps/include/OGRE/OgreRenderSystem.h +0 -1589
- data/deps/include/OGRE/OgreRenderSystemCapabilities.h +0 -727
- data/deps/include/OGRE/OgreRenderSystemCapabilitiesManager.h +0 -129
- data/deps/include/OGRE/OgreRenderSystemCapabilitiesSerializer.h +0 -248
- data/deps/include/OGRE/OgreRenderTarget.h +0 -534
- data/deps/include/OGRE/OgreRenderTargetListener.h +0 -146
- data/deps/include/OGRE/OgreRenderTexture.h +0 -140
- data/deps/include/OGRE/OgreRenderToVertexBuffer.h +0 -151
- data/deps/include/OGRE/OgreRenderWindow.h +0 -225
- data/deps/include/OGRE/OgreRenderable.h +0 -428
- data/deps/include/OGRE/OgreResource.h +0 -536
- data/deps/include/OGRE/OgreResourceBackgroundQueue.h +0 -359
- data/deps/include/OGRE/OgreResourceGroupManager.h +0 -1092
- data/deps/include/OGRE/OgreResourceManager.h +0 -538
- data/deps/include/OGRE/OgreRibbonTrail.h +0 -245
- data/deps/include/OGRE/OgreRoot.h +0 -1075
- data/deps/include/OGRE/OgreRotationalSpline.h +0 -136
- data/deps/include/OGRE/OgreSceneManager.h +0 -3670
- data/deps/include/OGRE/OgreSceneManagerEnumerator.h +0 -233
- data/deps/include/OGRE/OgreSceneNode.h +0 -472
- data/deps/include/OGRE/OgreSceneQuery.h +0 -564
- data/deps/include/OGRE/OgreScriptCompiler.h +0 -851
- data/deps/include/OGRE/OgreScriptLexer.h +0 -96
- data/deps/include/OGRE/OgreScriptLoader.h +0 -96
- data/deps/include/OGRE/OgreScriptParser.h +0 -63
- data/deps/include/OGRE/OgreScriptTranslator.h +0 -286
- data/deps/include/OGRE/OgreSearchOps.h +0 -69
- data/deps/include/OGRE/OgreSerializer.h +0 -120
- data/deps/include/OGRE/OgreShadowCameraSetup.h +0 -107
- data/deps/include/OGRE/OgreShadowCameraSetupFocused.h +0 -289
- data/deps/include/OGRE/OgreShadowCameraSetupLiSPSM.h +0 -254
- data/deps/include/OGRE/OgreShadowCameraSetupPSSM.h +0 -126
- data/deps/include/OGRE/OgreShadowCameraSetupPlaneOptimal.h +0 -88
- data/deps/include/OGRE/OgreShadowCaster.h +0 -225
- data/deps/include/OGRE/OgreShadowTextureManager.h +0 -156
- data/deps/include/OGRE/OgreShadowVolumeExtrudeProgram.h +0 -286
- data/deps/include/OGRE/OgreSharedPtr.h +0 -278
- data/deps/include/OGRE/OgreSimpleRenderable.h +0 -111
- data/deps/include/OGRE/OgreSimpleSpline.h +0 -137
- data/deps/include/OGRE/OgreSingleton.h +0 -104
- data/deps/include/OGRE/OgreSkeleton.h +0 -539
- data/deps/include/OGRE/OgreSkeletonFileFormat.h +0 -117
- data/deps/include/OGRE/OgreSkeletonInstance.h +0 -163
- data/deps/include/OGRE/OgreSkeletonManager.h +0 -105
- data/deps/include/OGRE/OgreSkeletonSerializer.h +0 -151
- data/deps/include/OGRE/OgreSmallVector.h +0 -814
- data/deps/include/OGRE/OgreSphere.h +0 -145
- data/deps/include/OGRE/OgreSpotShadowFadePng.h +0 -647
- data/deps/include/OGRE/OgreStableHeaders.h +0 -82
- data/deps/include/OGRE/OgreStaticFaceGroup.h +0 -141
- data/deps/include/OGRE/OgreStaticGeometry.h +0 -781
- data/deps/include/OGRE/OgreStaticPluginLoader.h +0 -205
- data/deps/include/OGRE/OgreStdHeaders.h +0 -128
- data/deps/include/OGRE/OgreStreamSerialiser.h +0 -386
- data/deps/include/OGRE/OgreString.h +0 -223
- data/deps/include/OGRE/OgreStringConverter.h +0 -275
- data/deps/include/OGRE/OgreStringInterface.h +0 -335
- data/deps/include/OGRE/OgreStringVector.h +0 -53
- data/deps/include/OGRE/OgreSubEntity.h +0 -288
- data/deps/include/OGRE/OgreSubMesh.h +0 -294
- data/deps/include/OGRE/OgreTagPoint.h +0 -123
- data/deps/include/OGRE/OgreTangentSpaceCalc.h +0 -269
- data/deps/include/OGRE/OgreTechnique.h +0 -714
- data/deps/include/OGRE/OgreTextAreaOverlayElement.h +0 -258
- data/deps/include/OGRE/OgreTexture.h +0 -496
- data/deps/include/OGRE/OgreTextureManager.h +0 -508
- data/deps/include/OGRE/OgreTextureUnitState.h +0 -1265
- data/deps/include/OGRE/OgreTimer.h +0 -49
- data/deps/include/OGRE/OgreUTFString.h +0 -1113
- data/deps/include/OGRE/OgreUnifiedHighLevelGpuProgram.h +0 -177
- data/deps/include/OGRE/OgreUserObjectBindings.h +0 -140
- data/deps/include/OGRE/OgreVector2.h +0 -609
- data/deps/include/OGRE/OgreVector3.h +0 -818
- data/deps/include/OGRE/OgreVector4.h +0 -414
- data/deps/include/OGRE/OgreVertexBoneAssignment.h +0 -63
- data/deps/include/OGRE/OgreVertexIndexData.h +0 -323
- data/deps/include/OGRE/OgreViewport.h +0 -433
- data/deps/include/OGRE/OgreWindowEventUtilities.h +0 -188
- data/deps/include/OGRE/OgreWireBoundingBox.h +0 -87
- data/deps/include/OGRE/OgreWorkQueue.h +0 -556
- data/deps/include/OGRE/OgreZip.h +0 -196
- data/deps/include/OGRE/Paging/OgreGrid2DPageStrategy.h +0 -250
- data/deps/include/OGRE/Paging/OgreGrid3DPageStrategy.h +0 -222
- data/deps/include/OGRE/Paging/OgrePage.h +0 -205
- data/deps/include/OGRE/Paging/OgrePageConnection.h +0 -50
- data/deps/include/OGRE/Paging/OgrePageContent.h +0 -90
- data/deps/include/OGRE/Paging/OgrePageContentCollection.h +0 -103
- data/deps/include/OGRE/Paging/OgrePageContentCollectionFactory.h +0 -62
- data/deps/include/OGRE/Paging/OgrePageContentFactory.h +0 -67
- data/deps/include/OGRE/Paging/OgrePageFileFormats.h +0 -223
- data/deps/include/OGRE/Paging/OgrePageManager.h +0 -481
- data/deps/include/OGRE/Paging/OgrePageStrategy.h +0 -138
- data/deps/include/OGRE/Paging/OgrePagedWorld.h +0 -252
- data/deps/include/OGRE/Paging/OgrePagedWorldSection.h +0 -316
- data/deps/include/OGRE/Paging/OgrePaging.h +0 -45
- data/deps/include/OGRE/Paging/OgrePagingPrerequisites.h +0 -84
- data/deps/include/OGRE/Paging/OgreSimplePageContentCollection.h +0 -137
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspLevel.h +0 -278
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspNode.h +0 -212
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspPrerequisites.h +0 -65
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspResourceManager.h +0 -110
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManager.h +0 -280
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneManagerPlugin.h +0 -67
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreBspSceneNode.h +0 -79
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Level.h +0 -167
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Shader.h +0 -119
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3ShaderManager.h +0 -125
- data/deps/include/OGRE/Plugins/BSPSceneManager/OgreQuake3Types.h +0 -250
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgFxScriptLoader.h +0 -1544
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPlugin.h +0 -65
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgPrerequisites.h +0 -62
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgram.h +0 -149
- data/deps/include/OGRE/Plugins/CgProgramManager/OgreCgProgramFactory.h +0 -55
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctree.h +0 -164
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeCamera.h +0 -89
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeNode.h +0 -148
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePlugin.h +0 -64
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreePrerequisites.h +0 -59
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneManager.h +0 -253
- data/deps/include/OGRE/Plugins/OctreeSceneManager/OgreOctreeSceneQuery.h +0 -102
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZone.h +0 -264
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZoneOctree.h +0 -203
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePlugin.h +0 -72
- data/deps/include/OGRE/Plugins/OctreeZone/OgreOctreeZonePrerequisites.h +0 -67
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreAntiPortal.h +0 -75
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreCapsule.h +0 -68
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreDefaultZone.h +0 -154
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCPlane.h +0 -94
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZCamera.h +0 -113
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZFrustum.h +0 -136
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZLight.h +0 -137
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPlugin.h +0 -77
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZPrerequisites.h +0 -63
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneManager.h +0 -410
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneNode.h +0 -135
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZSceneQuery.h +0 -134
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZone.h +0 -316
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePCZoneFactory.h +0 -126
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortal.h +0 -106
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgrePortalBase.h +0 -303
- data/deps/include/OGRE/Plugins/PCZSceneManager/OgreSegment.h +0 -81
- data/deps/include/OGRE/Plugins/ParticleFX/OgreAreaEmitter.h +0 -139
- data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitter.h +0 -60
- data/deps/include/OGRE/Plugins/ParticleFX/OgreBoxEmitterFactory.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector.h +0 -167
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffector2.h +0 -226
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourFaderAffectorFactory2.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffector.h +0 -80
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourImageAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffector.h +0 -97
- data/deps/include/OGRE/Plugins/ParticleFX/OgreColourInterpolatorAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitter.h +0 -68
- data/deps/include/OGRE/Plugins/ParticleFX/OgreCylinderEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffector.h +0 -114
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDeflectorPlaneAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffector.h +0 -109
- data/deps/include/OGRE/Plugins/ParticleFX/OgreDirectionRandomiserAffectorFactory.h +0 -54
- data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitter.h +0 -64
- data/deps/include/OGRE/Plugins/ParticleFX/OgreEllipsoidEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitter.h +0 -126
- data/deps/include/OGRE/Plugins/ParticleFX/OgreHollowEllipsoidEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffector.h +0 -120
- data/deps/include/OGRE/Plugins/ParticleFX/OgreLinearForceAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPlugin.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreParticleFXPrerequisites.h +0 -68
- data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitter.h +0 -62
- data/deps/include/OGRE/Plugins/ParticleFX/OgrePointEmitterFactory.h +0 -66
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitter.h +0 -111
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRingEmitterFactory.h +0 -67
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffector.h +0 -131
- data/deps/include/OGRE/Plugins/ParticleFX/OgreRotationAffectorFactory.h +0 -56
- data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffector.h +0 -84
- data/deps/include/OGRE/Plugins/ParticleFX/OgreScaleAffectorFactory.h +0 -56
- data/deps/include/OGRE/RTShaderSystem/OgreRTShaderSystem.h +0 -76
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramProcessor.h +0 -85
- data/deps/include/OGRE/RTShaderSystem/OgreShaderCGProgramWriter.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExDualQuaternionSkinning.h +0 -127
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinning.h +0 -358
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExHardwareSkinningTechnique.h +0 -156
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExIntegratedPSSM3.h +0 -231
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLayeredBlending.h +0 -261
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExLinearSkinning.h +0 -97
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExNormalMapLighting.h +0 -445
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExPerPixelLighting.h +0 -308
- data/deps/include/OGRE/RTShaderSystem/OgreShaderExTextureAtlasSampler.h +0 -372
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPColour.h +0 -189
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPFog.h +0 -214
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPLighting.h +0 -266
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderState.h +0 -134
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPRenderStateBuilder.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTexturing.h +0 -281
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFFPTransform.h +0 -121
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunction.h +0 -234
- data/deps/include/OGRE/RTShaderSystem/OgreShaderFunctionAtom.h +0 -256
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramProcessor.h +0 -93
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLESProgramWriter.h +0 -202
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramProcessor.h +0 -98
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGLSLProgramWriter.h +0 -152
- data/deps/include/OGRE/RTShaderSystem/OgreShaderGenerator.h +0 -987
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramProcessor.h +0 -84
- data/deps/include/OGRE/RTShaderSystem/OgreShaderHLSLProgramWriter.h +0 -147
- data/deps/include/OGRE/RTShaderSystem/OgreShaderMaterialSerializerListener.h +0 -111
- data/deps/include/OGRE/RTShaderSystem/OgreShaderParameter.h +0 -665
- data/deps/include/OGRE/RTShaderSystem/OgreShaderPrerequisites.h +0 -120
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgram.h +0 -224
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramManager.h +0 -243
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramProcessor.h +0 -277
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramSet.h +0 -102
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriter.h +0 -110
- data/deps/include/OGRE/RTShaderSystem/OgreShaderProgramWriterManager.h +0 -130
- data/deps/include/OGRE/RTShaderSystem/OgreShaderRenderState.h +0 -224
- data/deps/include/OGRE/RTShaderSystem/OgreShaderScriptTranslator.h +0 -145
- data/deps/include/OGRE/RTShaderSystem/OgreShaderSubRenderState.h +0 -324
- data/deps/include/OGRE/RenderSystems/GL/GL/gl.h +0 -1918
- data/deps/include/OGRE/RenderSystems/GL/GL/glew.h +0 -16131
- data/deps/include/OGRE/RenderSystems/GL/GL/glext.h +0 -6030
- data/deps/include/OGRE/RenderSystems/GL/GL/glxew.h +0 -1587
- data/deps/include/OGRE/RenderSystems/GL/GL/glxext.h +0 -681
- data/deps/include/OGRE/RenderSystems/GL/GL/glxtokens.h +0 -231
- data/deps/include/OGRE/RenderSystems/GL/GL/wglew.h +0 -1363
- data/deps/include/OGRE/RenderSystems/GL/GL/wglext.h +0 -608
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLUtil.h +0 -43
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXContext.h +0 -62
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXGLSupport.h +0 -201
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXRenderTexture.h +0 -52
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXUtils.h +0 -102
- data/deps/include/OGRE/RenderSystems/GL/GLX/OgreGLXWindow.h +0 -126
- data/deps/include/OGRE/RenderSystems/GL/OgreGLATIFSInit.h +0 -41
- data/deps/include/OGRE/RenderSystems/GL/OgreGLContext.h +0 -75
- data/deps/include/OGRE/RenderSystems/GL/OgreGLDefaultHardwareBufferManager.h +0 -135
- data/deps/include/OGRE/RenderSystems/GL/OgreGLDepthBuffer.h +0 -71
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFBOMultiRenderTarget.h +0 -59
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFBORenderTexture.h +0 -200
- data/deps/include/OGRE/RenderSystems/GL/OgreGLFrameBufferObject.h +0 -105
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuNvparseProgram.h +0 -69
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgram.h +0 -120
- data/deps/include/OGRE/RenderSystems/GL/OgreGLGpuProgramManager.h +0 -68
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareBufferManager.h +0 -141
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareIndexBuffer.h +0 -70
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareOcclusionQuery.h +0 -108
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwarePixelBuffer.h +0 -138
- data/deps/include/OGRE/RenderSystems/GL/OgreGLHardwareVertexBuffer.h +0 -69
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPBRenderTexture.h +0 -106
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPBuffer.h +0 -62
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPixelFormat.h +0 -100
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPlugin.h +0 -63
- data/deps/include/OGRE/RenderSystems/GL/OgreGLPrerequisites.h +0 -105
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderSystem.h +0 -530
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderTexture.h +0 -141
- data/deps/include/OGRE/RenderSystems/GL/OgreGLRenderToVertexBuffer.h +0 -72
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLExtSupport.h +0 -66
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLGpuProgram.h +0 -104
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgram.h +0 -149
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLLinkProgramManager.h +0 -144
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLPreprocessor.h +0 -524
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgram.h +0 -200
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSLProgramFactory.h +0 -60
- data/deps/include/OGRE/RenderSystems/GL/OgreGLSupport.h +0 -137
- data/deps/include/OGRE/RenderSystems/GL/OgreGLTexture.h +0 -191
- data/deps/include/OGRE/RenderSystems/GL/OgreGLTextureManager.h +0 -69
- data/deps/include/OGRE/Sample.h +0 -330
- data/deps/include/OGRE/SampleContext.h +0 -874
- data/deps/include/OGRE/SamplePlugin.h +0 -99
- data/deps/include/OGRE/SdkCameraMan.h +0 -367
- data/deps/include/OGRE/SdkSample.h +0 -552
- data/deps/include/OGRE/SdkTrays.h +0 -3168
- data/deps/include/OGRE/Terrain/OgreTerrain.h +0 -2076
- data/deps/include/OGRE/Terrain/OgreTerrainGroup.h +0 -545
- data/deps/include/OGRE/Terrain/OgreTerrainLayerBlendMap.h +0 -199
- data/deps/include/OGRE/Terrain/OgreTerrainMaterialGenerator.h +0 -404
- data/deps/include/OGRE/Terrain/OgreTerrainMaterialGeneratorA.h +0 -279
- data/deps/include/OGRE/Terrain/OgreTerrainPagedWorldSection.h +0 -165
- data/deps/include/OGRE/Terrain/OgreTerrainPaging.h +0 -135
- data/deps/include/OGRE/Terrain/OgreTerrainPrerequisites.h +0 -68
- data/deps/include/OGRE/Terrain/OgreTerrainQuadTreeNode.h +0 -413
- data/deps/include/OGRE/Threading/OgreDefaultWorkQueue.h +0 -42
- data/deps/include/OGRE/Threading/OgreDefaultWorkQueueStandard.h +0 -82
- data/deps/include/OGRE/Threading/OgreThreadDefines.h +0 -41
- data/deps/include/OGRE/Threading/OgreThreadDefinesNone.h +0 -59
- data/deps/include/OGRE/Threading/OgreThreadHeaders.h +0 -39
- data/deps/include/OGRE/asm_math.h +0 -376
- data/deps/include/OIS/OIS.h +0 -41
- data/deps/include/OIS/OISConfig.h +0 -75
- data/deps/include/OIS/OISEffect.h +0 -278
- data/deps/include/OIS/OISEvents.h +0 -43
- data/deps/include/OIS/OISException.h +0 -78
- data/deps/include/OIS/OISFactoryCreator.h +0 -81
- data/deps/include/OIS/OISForceFeedback.h +0 -120
- data/deps/include/OIS/OISInputManager.h +0 -205
- data/deps/include/OIS/OISInterface.h +0 -47
- data/deps/include/OIS/OISJoyStick.h +0 -228
- data/deps/include/OIS/OISKeyboard.h +0 -312
- data/deps/include/OIS/OISMouse.h +0 -138
- data/deps/include/OIS/OISMultiTouch.h +0 -169
- data/deps/include/OIS/OISObject.h +0 -95
- data/deps/include/OIS/OISPrereqs.h +0 -226
- data/deps/include/OgreProcedural/Procedural.h +0 -54
- data/deps/include/OgreProcedural/ProceduralBoxGenerator.h +0 -110
- data/deps/include/OgreProcedural/ProceduralCapsuleGenerator.h +0 -103
- data/deps/include/OgreProcedural/ProceduralConeGenerator.h +0 -90
- data/deps/include/OgreProcedural/ProceduralCylinderGenerator.h +0 -99
- data/deps/include/OgreProcedural/ProceduralExtruder.h +0 -131
- data/deps/include/OgreProcedural/ProceduralGeometryHelpers.h +0 -171
- data/deps/include/OgreProcedural/ProceduralIcoSphereGenerator.h +0 -76
- data/deps/include/OgreProcedural/ProceduralLathe.h +0 -129
- data/deps/include/OgreProcedural/ProceduralMeshGenerator.h +0 -286
- data/deps/include/OgreProcedural/ProceduralMultiShape.h +0 -126
- data/deps/include/OgreProcedural/ProceduralPath.h +0 -322
- data/deps/include/OgreProcedural/ProceduralPathGenerators.h +0 -281
- data/deps/include/OgreProcedural/ProceduralPlaneGenerator.h +0 -93
- data/deps/include/OgreProcedural/ProceduralPlatform.h +0 -54
- data/deps/include/OgreProcedural/ProceduralRoot.h +0 -65
- data/deps/include/OgreProcedural/ProceduralRoundedBoxGenerator.h +0 -118
- data/deps/include/OgreProcedural/ProceduralShape.h +0 -532
- data/deps/include/OgreProcedural/ProceduralShapeGenerators.h +0 -362
- data/deps/include/OgreProcedural/ProceduralSphereGenerator.h +0 -80
- data/deps/include/OgreProcedural/ProceduralSplines.h +0 -168
- data/deps/include/OgreProcedural/ProceduralStableHeaders.h +0 -28
- data/deps/include/OgreProcedural/ProceduralTorusGenerator.h +0 -88
- data/deps/include/OgreProcedural/ProceduralTorusKnotGenerator.h +0 -106
- data/deps/include/OgreProcedural/ProceduralTrack.h +0 -122
- data/deps/include/OgreProcedural/ProceduralTriangleBuffer.h +0 -328
- data/deps/include/OgreProcedural/ProceduralTriangulator.h +0 -173
- data/deps/include/OgreProcedural/ProceduralTubeGenerator.h +0 -96
- data/deps/include/OgreProcedural/ProceduralUtils.h +0 -185
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_BSPSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_CgProgramManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_OctreeZone.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_PCZSceneManager.so.1.8.1 +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.0 +0 -0
- data/deps/lib/OGRE/Plugin_ParticleFX.so.1.8.1 +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so.1.8.0 +0 -0
- data/deps/lib/OGRE/RenderSystem_GL.so.1.8.1 +0 -0
- data/deps/lib/libOIS-1.3.0.so +0 -0
- data/deps/lib/libOIS.so +0 -0
- data/deps/lib/libOgreMain.so +0 -0
- data/deps/lib/libOgreMain.so.1.8.0 +0 -0
- data/deps/lib/libOgreMain.so.1.8.1 +0 -0
- data/deps/lib/libOgrePaging.so +0 -0
- data/deps/lib/libOgrePaging.so.1.8.0 +0 -0
- data/deps/lib/libOgrePaging.so.1.8.1 +0 -0
- data/deps/lib/libOgreProcedural.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so +0 -0
- data/deps/lib/libOgreRTShaderSystem.so.1.8.0 +0 -0
- data/deps/lib/libOgreRTShaderSystem.so.1.8.1 +0 -0
- data/deps/lib/libOgreTerrain.so +0 -0
- data/deps/lib/libOgreTerrain.so.1.8.0 +0 -0
- data/deps/lib/libOgreTerrain.so.1.8.1 +0 -0
- data/deps/share/OGRE/media/DeferredShadingMedia/COPYING +0 -18
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/Ambient_ps.cg +0 -68
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_ps.cg +0 -187
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/LightMaterial_vs.cg +0 -53
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowColour_ps.cg +0 -41
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowDS_ps.cg +0 -40
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/ShowNormal_ps.cg +0 -39
- data/deps/share/OGRE/media/DeferredShadingMedia/DeferredShading/post/vs.cg +0 -54
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.cg +0 -25
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.material +0 -15
- data/deps/share/OGRE/media/DeferredShadingMedia/ShadowCaster.program +0 -24
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred.compositor +0 -147
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.material +0 -148
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post.program +0 -85
- data/deps/share/OGRE/media/DeferredShadingMedia/deferred_post_minilight.material +0 -71
- data/deps/share/OGRE/media/DeferredShadingMedia/deferreddemo.material +0 -73
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.cg +0 -178
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.compositor +0 -93
- data/deps/share/OGRE/media/DeferredShadingMedia/ssao.material +0 -148
- data/deps/share/OGRE/media/PCZAppMedia/Carpet_Diamond_Olive.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Brass_Ceiling.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Embossed.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Rusted1.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Metal_Steel_Textured_White.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM.material +0 -149
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NX.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NY.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_NZ.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PX.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PY.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/ROOM_PZ.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Roofing_Tile_Spanish.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Translucent_Glass_Tinted1.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/Wood_Floor.jpg +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/building_exterior.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxnynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpx.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnypynzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxnzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nypy.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nypy_4y.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_nzpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxnynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxpynz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/room_pxpz.mesh +0 -0
- data/deps/share/OGRE/media/PCZAppMedia/terrain2.cfg +0 -71
- data/deps/share/OGRE/media/PCZAppMedia/terrain2.png +0 -0
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.cg +0 -248
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsl +0 -248
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.glsles +0 -231
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Common.hlsl +0 -219
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.cg +0 -138
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsl +0 -139
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.glsles +0 -141
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Fog.hlsl +0 -138
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.cg +0 -225
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsl +0 -226
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.glsles +0 -227
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Lighting.hlsl +0 -225
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.cg +0 -319
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsl +0 -334
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.glsles +0 -355
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Texturing.hlsl +0 -319
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.cg +0 -78
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsl +0 -71
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.glsles +0 -65
- data/deps/share/OGRE/media/RTShaderLib/FFPLib_Transform.hlsl +0 -71
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.cg +0 -130
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_DualQuaternion.glsl +0 -132
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.cg +0 -81
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsl +0 -107
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.glsles +0 -112
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_IntegratedPSSM.hlsl +0 -81
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.cg +0 -728
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsl +0 -825
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.glsles +0 -889
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_LayeredBlending.hlsl +0 -730
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.cg +0 -257
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsl +0 -269
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.glsles +0 -264
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_NormalMapLighting.hlsl +0 -257
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.cg +0 -226
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsl +0 -228
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.glsles +0 -223
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_PerPixelLighting.hlsl +0 -226
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.cg +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsl +0 -124
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.glsles +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SGXLib_TextureAtlas.hlsl +0 -122
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.cg +0 -76
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.glsl +0 -93
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_InstancedViewports.hlsl +0 -76
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.cg +0 -62
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsl +0 -65
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.glsles +0 -67
- data/deps/share/OGRE/media/RTShaderLib/SampleLib_ReflectionMap.hlsl +0 -62
- data/deps/share/OGRE/media/RTShaderLib/cache/dummy.txt +0 -1
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.cg +0 -292
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_Shadow.material +0 -384
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowFourWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowOneWeight.glsl +0 -28
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_ps.glsl +0 -9
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowPassThrough_vs.glsl +0 -15
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowThreeWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/DualQuaternionSkinning_ShadowTwoWeights.glsl +0 -29
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.cg +0 -111
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow.material +0 -265
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_Fragment.glsl +0 -6
- data/deps/share/OGRE/media/RTShaderLib/materials/HardwareSkinningShadow_TwoWeights.glsl +0 -18
- data/deps/share/OGRE/media/RTShaderLib/materials/RTShaderSystem.material +0 -221
- data/deps/share/OGRE/media/fonts/bluebold.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluecond.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluehigh.ttf +0 -0
- data/deps/share/OGRE/media/fonts/bluehighway-10.font +0 -2
- data/deps/share/OGRE/media/fonts/bluehighway-12.font +0 -2
- data/deps/share/OGRE/media/fonts/bluehighway-8.font +0 -2
- data/deps/share/OGRE/media/fonts/read_me.html +0 -2
- data/deps/share/OGRE/media/fonts/sample.fontdef +0 -11
- data/deps/share/OGRE/media/fonts/solo5.ttf +0 -0
- data/deps/share/OGRE/media/materials/programs/ASCIIFP.cg +0 -32
- data/deps/share/OGRE/media/materials/programs/ASCIIFP.glsles +0 -31
- data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsl +0 -13
- data/deps/share/OGRE/media/materials/programs/AmbientOneTexture.glsles +0 -20
- data/deps/share/OGRE/media/materials/programs/AmbientOneTextureWithUV.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsl +0 -27
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.glsles +0 -30
- data/deps/share/OGRE/media/materials/programs/Bloom2_ps20.hlsl +0 -58
- data/deps/share/OGRE/media/materials/programs/Bloom_ps20.hlsl +0 -52
- data/deps/share/OGRE/media/materials/programs/Bloom_vs11.hlsl +0 -21
- data/deps/share/OGRE/media/materials/programs/Blur0_ps20.hlsl +0 -31
- data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsl +0 -15
- data/deps/share/OGRE/media/materials/programs/Blur0_vs.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur0_vs11.hlsl +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur1_ps20.hlsl +0 -28
- data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsl +0 -15
- data/deps/share/OGRE/media/materials/programs/Blur1_vs.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Blur1_vs11.hlsl +0 -19
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsl +0 -56
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.glsles +0 -58
- data/deps/share/OGRE/media/materials/programs/BlurH_ps20.hlsl +0 -51
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsl +0 -60
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/BlurV_ps20.hlsl +0 -51
- data/deps/share/OGRE/media/materials/programs/Blur_ps.glsl +0 -14
- data/deps/share/OGRE/media/materials/programs/Blur_ps.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Blur_vs.glsl +0 -14
- data/deps/share/OGRE/media/materials/programs/Blur_vs.glsles +0 -24
- data/deps/share/OGRE/media/materials/programs/Blur_vs11.hlsl +0 -19
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.glsles +0 -32
- data/deps/share/OGRE/media/materials/programs/BrightBloom2_ps20.hlsl +0 -20
- data/deps/share/OGRE/media/materials/programs/ColdCasterFp.glsles +0 -11
- data/deps/share/OGRE/media/materials/programs/ColdCasterVp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Combine_fp.cg +0 -15
- data/deps/share/OGRE/media/materials/programs/Combine_fp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/Common.cg +0 -81
- data/deps/share/OGRE/media/materials/programs/DOF_ps.cg +0 -47
- data/deps/share/OGRE/media/materials/programs/DOF_ps.glsles +0 -94
- data/deps/share/OGRE/media/materials/programs/DepthShadowmap.hlsl +0 -309
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsl +0 -16
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterFp.glsles +0 -19
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsl +0 -24
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapCasterVp.glsles +0 -27
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsl +0 -84
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverFp.glsles +0 -86
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapNormalMapReceiverVp.glsles +0 -51
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsl +0 -66
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverFp.glsles +0 -67
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsl +0 -32
- data/deps/share/OGRE/media/materials/programs/DepthShadowmapReceiverVp.glsles +0 -42
- data/deps/share/OGRE/media/materials/programs/DiffuseOneTexture.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/DitherFP.cg +0 -18
- data/deps/share/OGRE/media/materials/programs/DitherFP.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/DualQuaternion.cg +0 -159
- data/deps/share/OGRE/media/materials/programs/DualQuaternion.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.cg +0 -85
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_Common.glsl +0 -70
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_ShadowCaster.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhase.glsl +0 -77
- data/deps/share/OGRE/media/materials/programs/DualQuaternion_TwoPhaseShadowCaster.glsl +0 -41
- data/deps/share/OGRE/media/materials/programs/EmbossedFp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/Example_Basic.cg +0 -400
- data/deps/share/OGRE/media/materials/programs/Example_Basic.hlsl +0 -273
- data/deps/share/OGRE/media/materials/programs/Example_BasicFp.glsles +0 -620
- data/deps/share/OGRE/media/materials/programs/Example_BasicVp.glsles +0 -620
- data/deps/share/OGRE/media/materials/programs/Example_BumpMapping.cg +0 -235
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingFp.glsles +0 -29
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvFp.glsles +0 -34
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingShadowRcvVp.glsles +0 -55
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularFp.glsles +0 -41
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingSpecularVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_BumpMappingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_CelShading.cg +0 -64
- data/deps/share/OGRE/media/materials/programs/Example_CelShadingFp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/Example_CelShadingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/Example_Fresnel.cg +0 -116
- data/deps/share/OGRE/media/materials/programs/Example_FresnelFp.glsles +0 -40
- data/deps/share/OGRE/media/materials/programs/Example_FresnelPS.asm +0 -72
- data/deps/share/OGRE/media/materials/programs/Example_FresnelVp.glsles +0 -39
- data/deps/share/OGRE/media/materials/programs/Example_Projection.cg +0 -28
- data/deps/share/OGRE/media/materials/programs/Example_ProjectionFp.glsles +0 -56
- data/deps/share/OGRE/media/materials/programs/Example_ProjectionVp.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.asm +0 -10
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.glsl +0 -17
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayPS.hlsl4 +0 -33
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/Example_TextureArrayVS.glsl +0 -11
- data/deps/share/OGRE/media/materials/programs/GlassFP.cg +0 -9
- data/deps/share/OGRE/media/materials/programs/GlassFP.glsles +0 -15
- data/deps/share/OGRE/media/materials/programs/Grass.cg +0 -283
- data/deps/share/OGRE/media/materials/programs/GrassAmbientFp.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/GrassAmbientVp.glsles +0 -41
- data/deps/share/OGRE/media/materials/programs/GrassCasterFp.glsles +0 -33
- data/deps/share/OGRE/media/materials/programs/GrassCasterVp.glsles +0 -32
- data/deps/share/OGRE/media/materials/programs/GrassFp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/GrassReceiverFp.glsles +0 -47
- data/deps/share/OGRE/media/materials/programs/GrassReceiverVp.glsles +0 -57
- data/deps/share/OGRE/media/materials/programs/GrassTexVp.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/GrassVp.glsles +0 -38
- data/deps/share/OGRE/media/materials/programs/GrayScale.cg +0 -20
- data/deps/share/OGRE/media/materials/programs/GrayScale.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.cg +0 -69
- data/deps/share/OGRE/media/materials/programs/HWBasicInstancing.vert +0 -69
- data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.cg +0 -124
- data/deps/share/OGRE/media/materials/programs/HW_VTFInstancing.vert +0 -131
- data/deps/share/OGRE/media/materials/programs/HalftoneFP.cg +0 -19
- data/deps/share/OGRE/media/materials/programs/HalftoneFP.glsles +0 -24
- data/deps/share/OGRE/media/materials/programs/HeatBlurFp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/HeatBlurVp.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/HeatCasterFp.glsles +0 -11
- data/deps/share/OGRE/media/materials/programs/HeatCasterVp.glsles +0 -18
- data/deps/share/OGRE/media/materials/programs/HeatVision.cg +0 -230
- data/deps/share/OGRE/media/materials/programs/Instancing.frag +0 -66
- data/deps/share/OGRE/media/materials/programs/Instancing.program +0 -84
- data/deps/share/OGRE/media/materials/programs/InstancingMisc.cg +0 -63
- data/deps/share/OGRE/media/materials/programs/InstancingMisc.vert +0 -62
- data/deps/share/OGRE/media/materials/programs/InstancingVertexInterpolators.cg +0 -34
- data/deps/share/OGRE/media/materials/programs/Instancing_ps.cg +0 -57
- data/deps/share/OGRE/media/materials/programs/InvertFP.cg +0 -6
- data/deps/share/OGRE/media/materials/programs/InvertFP.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/LaplaceFP.cg +0 -37
- data/deps/share/OGRE/media/materials/programs/LaplaceFP.glsles +0 -40
- data/deps/share/OGRE/media/materials/programs/LightToHeatFp.glsles +0 -39
- data/deps/share/OGRE/media/materials/programs/LightToHeatVp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/NightVisionFP.cg +0 -27
- data/deps/share/OGRE/media/materials/programs/NightVisionFP.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.frag +0 -71
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSL.vert +0 -91
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.frag +0 -76
- data/deps/share/OGRE/media/materials/programs/Ocean2GLSLES.vert +0 -101
- data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.frag +0 -85
- data/deps/share/OGRE/media/materials/programs/Ocean2HLSL_Cg.vert +0 -108
- data/deps/share/OGRE/media/materials/programs/OffsetMapping.cg +0 -84
- data/deps/share/OGRE/media/materials/programs/OffsetMapping.hlsl +0 -135
- data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsl +0 -69
- data/deps/share/OGRE/media/materials/programs/OffsetMappingFp.glsles +0 -43
- data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsFp.glsles +0 -70
- data/deps/share/OGRE/media/materials/programs/OffsetMappingShadowsVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsl +0 -54
- data/deps/share/OGRE/media/materials/programs/OffsetMappingVp.glsles +0 -50
- data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.asm +0 -44
- data/deps/share/OGRE/media/materials/programs/OffsetMapping_specular.glsles +0 -49
- data/deps/share/OGRE/media/materials/programs/OldMovieFP.cg +0 -55
- data/deps/share/OGRE/media/materials/programs/OldMovieFP.glsles +0 -58
- data/deps/share/OGRE/media/materials/programs/OldTV.cg +0 -42
- data/deps/share/OGRE/media/materials/programs/ParticleGS.cg +0 -324
- data/deps/share/OGRE/media/materials/programs/ParticleGS.hlsl +0 -316
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsl +0 -9
- data/deps/share/OGRE/media/materials/programs/PassthroughFP.glsles +0 -14
- data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsl +0 -5
- data/deps/share/OGRE/media/materials/programs/PassthroughVP.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/PosterizeFP.cg +0 -17
- data/deps/share/OGRE/media/materials/programs/PosterizeFP.glsles +0 -22
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.cg +0 -58
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.glsles +0 -62
- data/deps/share/OGRE/media/materials/programs/Radial_Blur_FP.hlsl +0 -58
- data/deps/share/OGRE/media/materials/programs/ShaderInstancing.cg +0 -101
- data/deps/share/OGRE/media/materials/programs/ShaderInstancing.vert +0 -117
- data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.cg +0 -23
- data/deps/share/OGRE/media/materials/programs/SharpenEdgesFP.glsles +0 -31
- data/deps/share/OGRE/media/materials/programs/ShowNormals.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/ShowTangents.glsles +0 -16
- data/deps/share/OGRE/media/materials/programs/ShowUV.glsles +0 -12
- data/deps/share/OGRE/media/materials/programs/ShowUVdir3D.glsles +0 -14
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2_vp.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex2a_vp.glsles +0 -23
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex3_vp.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/StdQuad_Tex4_vp.glsles +0 -27
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.cg +0 -113
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsl +0 -11
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.glsles +0 -17
- data/deps/share/OGRE/media/materials/programs/StdQuad_vp.hlsl +0 -20
- data/deps/share/OGRE/media/materials/programs/Swizzle.gp +0 -39
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.cg +0 -14
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsl +0 -40
- data/deps/share/OGRE/media/materials/programs/SwizzleGP.glsles +0 -80
- data/deps/share/OGRE/media/materials/programs/TilingFP.cg +0 -33
- data/deps/share/OGRE/media/materials/programs/TilingFP.glsles +0 -36
- data/deps/share/OGRE/media/materials/programs/VTFInstancing.cg +0 -107
- data/deps/share/OGRE/media/materials/programs/VTFInstancing.vert +0 -113
- data/deps/share/OGRE/media/materials/programs/crowdVp.glsl +0 -62
- data/deps/share/OGRE/media/materials/programs/crowdVp.glsles +0 -68
- data/deps/share/OGRE/media/materials/programs/depthshadowobject.cg +0 -185
- data/deps/share/OGRE/media/materials/programs/depthshadowobjectFp.glsles +0 -183
- data/deps/share/OGRE/media/materials/programs/depthshadowobjectVp.glsles +0 -183
- data/deps/share/OGRE/media/materials/programs/hdr.cg +0 -25
- data/deps/share/OGRE/media/materials/programs/hdr.hlsl +0 -165
- data/deps/share/OGRE/media/materials/programs/hdrFp.glsles +0 -15
- data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsl +0 -22
- data/deps/share/OGRE/media/materials/programs/hdr_bloom.glsles +0 -25
- data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsl +0 -24
- data/deps/share/OGRE/media/materials/programs/hdr_downscale2x2luminence.glsles +0 -26
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsl +0 -26
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3.glsles +0 -30
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsl +0 -37
- data/deps/share/OGRE/media/materials/programs/hdr_downscale3x3brightpass.glsles +0 -64
- data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsl +0 -28
- data/deps/share/OGRE/media/materials/programs/hdr_finalToneMapping.glsles +0 -54
- data/deps/share/OGRE/media/materials/programs/hdr_tonemap_util.glsl +0 -29
- data/deps/share/OGRE/media/materials/programs/hdrutils.hlsl +0 -65
- data/deps/share/OGRE/media/materials/programs/instancing.cg +0 -125
- data/deps/share/OGRE/media/materials/programs/instancingVp.glsl +0 -39
- data/deps/share/OGRE/media/materials/programs/instancingVp.glsles +0 -51
- data/deps/share/OGRE/media/materials/programs/isosurf.cg +0 -155
- data/deps/share/OGRE/media/materials/programs/isosurf.hlsl +0 -145
- data/deps/share/OGRE/media/materials/programs/mrttestfp.hlsl +0 -48
- data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsl +0 -17
- data/deps/share/OGRE/media/materials/programs/mrttestfp_quad.glsles +0 -20
- data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsl +0 -20
- data/deps/share/OGRE/media/materials/programs/mrttestfp_scene.glsles +0 -21
- data/deps/share/OGRE/media/materials/programs/oceanGLSL.frag +0 -45
- data/deps/share/OGRE/media/materials/programs/oceanGLSL.vert +0 -32
- data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.frag +0 -45
- data/deps/share/OGRE/media/materials/programs/oceanHLSL_Cg.vert +0 -41
- data/deps/share/OGRE/media/materials/programs/particlesgs.fx +0 -367
- data/deps/share/OGRE/media/materials/programs/pssm.cg +0 -164
- data/deps/share/OGRE/media/materials/programs/pssm.hlsl +0 -167
- data/deps/share/OGRE/media/materials/programs/pssmCasterFp.glsles +0 -13
- data/deps/share/OGRE/media/materials/programs/pssmCasterVp.glsles +0 -21
- data/deps/share/OGRE/media/materials/programs/pssmFp.glsles +0 -0
- data/deps/share/OGRE/media/materials/programs/pssmReceiverFp.glsles +0 -92
- data/deps/share/OGRE/media/materials/programs/pssmReceiverVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/pssmVp.glsles +0 -0
- data/deps/share/OGRE/media/materials/programs/shadows.cg +0 -144
- data/deps/share/OGRE/media/materials/programs/shadows.glsl +0 -146
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsl +0 -42
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsShadowCasterVp.glsles +0 -46
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsl +0 -61
- data/deps/share/OGRE/media/materials/programs/skinningTwoWeightsVp.glsles +0 -63
- data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.cg +0 -65
- data/deps/share/OGRE/media/materials/programs/varianceshadowcasterfp.glsles +0 -132
- data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.cg +0 -44
- data/deps/share/OGRE/media/materials/programs/varianceshadowcastervp.glsles +0 -88
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.cg +0 -107
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceiverfp.glsles +0 -214
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.cg +0 -47
- data/deps/share/OGRE/media/materials/programs/varianceshadowreceivervp.glsles +0 -94
- data/deps/share/OGRE/media/materials/scripts/ASCII.material +0 -55
- data/deps/share/OGRE/media/materials/scripts/ASMSwizzle.material +0 -19
- data/deps/share/OGRE/media/materials/scripts/BlackAndWhite.material +0 -45
- data/deps/share/OGRE/media/materials/scripts/Bloom.material +0 -217
- data/deps/share/OGRE/media/materials/scripts/Bloom2.material +0 -360
- data/deps/share/OGRE/media/materials/scripts/CGSwizzle.material +0 -20
- data/deps/share/OGRE/media/materials/scripts/CompositorDemo.material +0 -18
- data/deps/share/OGRE/media/materials/scripts/DOF.material +0 -94
- data/deps/share/OGRE/media/materials/scripts/DepthShadowmap.material +0 -747
- data/deps/share/OGRE/media/materials/scripts/Dither.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/DualQuaternion.material +0 -112
- data/deps/share/OGRE/media/materials/scripts/DualQuaternion.program +0 -154
- data/deps/share/OGRE/media/materials/scripts/Embossed.material +0 -44
- data/deps/share/OGRE/media/materials/scripts/Example-Water.material +0 -183
- data/deps/share/OGRE/media/materials/scripts/Examples-Advanced.material +0 -842
- data/deps/share/OGRE/media/materials/scripts/Examples-DynTex.material +0 -38
- data/deps/share/OGRE/media/materials/scripts/Examples-Water.material +0 -183
- data/deps/share/OGRE/media/materials/scripts/Examples.compositor +0 -788
- data/deps/share/OGRE/media/materials/scripts/Examples.material +0 -2035
- data/deps/share/OGRE/media/materials/scripts/Examples.program +0 -340
- data/deps/share/OGRE/media/materials/scripts/GLSLSwizzle.material +0 -37
- data/deps/share/OGRE/media/materials/scripts/Glass.material +0 -56
- data/deps/share/OGRE/media/materials/scripts/HWInstancing.material +0 -131
- data/deps/share/OGRE/media/materials/scripts/HW_VTFInstancing.material +0 -445
- data/deps/share/OGRE/media/materials/scripts/HW_VTF_LUTInstancing.material +0 -438
- data/deps/share/OGRE/media/materials/scripts/Halftone.material +0 -56
- data/deps/share/OGRE/media/materials/scripts/HeatVision.material +0 -317
- data/deps/share/OGRE/media/materials/scripts/Hurt.material +0 -18
- data/deps/share/OGRE/media/materials/scripts/InstancingMisc.material +0 -81
- data/deps/share/OGRE/media/materials/scripts/Invert.material +0 -47
- data/deps/share/OGRE/media/materials/scripts/IsoSurf.material +0 -127
- data/deps/share/OGRE/media/materials/scripts/Laplace.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/MRTtest.material +0 -133
- data/deps/share/OGRE/media/materials/scripts/MotionBlur.material +0 -101
- data/deps/share/OGRE/media/materials/scripts/NightVision.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/Ocean.controls +0 -90
- data/deps/share/OGRE/media/materials/scripts/Ocean.material +0 -618
- data/deps/share/OGRE/media/materials/scripts/OffsetMapping.material +0 -447
- data/deps/share/OGRE/media/materials/scripts/Ogre.material +0 -66
- data/deps/share/OGRE/media/materials/scripts/OldMovie.material +0 -85
- data/deps/share/OGRE/media/materials/scripts/OldTV.material +0 -59
- data/deps/share/OGRE/media/materials/scripts/ParticleGS.material +0 -200
- data/deps/share/OGRE/media/materials/scripts/Penguin.material +0 -13
- data/deps/share/OGRE/media/materials/scripts/Posterize.material +0 -46
- data/deps/share/OGRE/media/materials/scripts/RZR-002.material +0 -15
- data/deps/share/OGRE/media/materials/scripts/RadialBlur.material +0 -49
- data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.cg +0 -65
- data/deps/share/OGRE/media/materials/scripts/SSAO/CreaseShading.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.cg +0 -88
- data/deps/share/OGRE/media/materials/scripts/SSAO/Crytek.material +0 -57
- data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.cg +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/GBuffer.material +0 -61
- data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.cg +0 -86
- data/deps/share/OGRE/media/materials/scripts/SSAO/HemisphereMC.material +0 -60
- data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.cg +0 -95
- data/deps/share/OGRE/media/materials/scripts/SSAO/HorizonBased.material +0 -58
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAO.compositor +0 -224
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.cg +0 -153
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.compositor +0 -77
- data/deps/share/OGRE/media/materials/scripts/SSAO/SSAOPost.material +0 -239
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.cg +0 -13
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowDepth.material +0 -47
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.cg +0 -11
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowNormals.material +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.cg +0 -11
- data/deps/share/OGRE/media/materials/scripts/SSAO/ShowViewPos.material +0 -40
- data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.cg +0 -79
- data/deps/share/OGRE/media/materials/scripts/SSAO/UnsharpMask.material +0 -141
- data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.cg +0 -82
- data/deps/share/OGRE/media/materials/scripts/SSAO/Volumetric.material +0 -59
- data/deps/share/OGRE/media/materials/scripts/ShaderInstancing.material +0 -380
- data/deps/share/OGRE/media/materials/scripts/ShaderSystem.material +0 -20
- data/deps/share/OGRE/media/materials/scripts/SharpenEdges.material +0 -66
- data/deps/share/OGRE/media/materials/scripts/StdQuad_vp.program +0 -162
- data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleOrg.tai +0 -36
- data/deps/share/OGRE/media/materials/scripts/TextureAtlasSampleWrap.tai +0 -36
- data/deps/share/OGRE/media/materials/scripts/Tiling.material +0 -50
- data/deps/share/OGRE/media/materials/scripts/VTFInstancing.material +0 -438
- data/deps/share/OGRE/media/materials/scripts/VarianceShadowmap.material +0 -103
- data/deps/share/OGRE/media/materials/scripts/facial.material +0 -98
- data/deps/share/OGRE/media/materials/scripts/hdr.material +0 -332
- data/deps/share/OGRE/media/materials/scripts/instancing.material +0 -185
- data/deps/share/OGRE/media/materials/scripts/pssm.material +0 -226
- data/deps/share/OGRE/media/materials/scripts/shadows.material +0 -130
- data/deps/share/OGRE/media/materials/scripts/sibenik.material +0 -305
- data/deps/share/OGRE/media/materials/scripts/smoke.material +0 -19
- data/deps/share/OGRE/media/materials/textures/10points.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1D_Noise.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1D_Noise2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1d_SPIRAL.png +0 -0
- data/deps/share/OGRE/media/materials/textures/1d_debug.png +0 -0
- data/deps/share/OGRE/media/materials/textures/8x8PagesSplotches2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ASCII.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/BeachStones.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/BumpyMetal.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Chrome.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Dirt.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Dr_Bunsen_Head.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/GLX_icon.png +0 -0
- data/deps/share/OGRE/media/materials/textures/GreenSkin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/HeatLookup.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/HeatNoise.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN-stup.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN320x240-bump.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/KAMEN320x240.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/LowRes.png +0 -0
- data/deps/share/OGRE/media/materials/textures/MRAMOR-bump.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/MRAMOR6X6.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/MtlPlat2.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/NMBalls.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMBumpsOut.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMHollyBumps.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NMStripes.png +0 -0
- data/deps/share/OGRE/media/materials/textures/NPRMetallic.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/NoiseVolume.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Diffuse.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Normal_Obj.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_Normal_Tangent.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_reflection.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Panels_refmask.png +0 -0
- data/deps/share/OGRE/media/materials/textures/RZR-002.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Random3D.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/RustedMetal.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/RustyBarrel.png +0 -0
- data/deps/share/OGRE/media/materials/textures/RustySteel.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/4InterleavedKMeansDisk8x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/gray256.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/importance4InterleavedSphereHemisphere8x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/rand1x32.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/randCosSinJitter4x4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/SSAO/regularSphereJittered4.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Sepia1D.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/SmallLeaf_BP.png +0 -0
- data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleOrg0.png +0 -0
- data/deps/share/OGRE/media/materials/textures/TextureAtlasSampleWrap0.png +0 -0
- data/deps/share/OGRE/media/materials/textures/Water01.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/Water02.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/WaterNormal1.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/WaterNormal2.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/WoodPallet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/atheneNormalMap.png +0 -0
- data/deps/share/OGRE/media/materials/textures/aureola.png +0 -0
- data/deps/share/OGRE/media/materials/textures/basic_droplet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/blue_jaiqua.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_diffuse.png +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_edge.png +0 -0
- data/deps/share/OGRE/media/materials/textures/cel_shading_specular.png +0 -0
- data/deps/share/OGRE/media/materials/textures/checker.png +0 -0
- data/deps/share/OGRE/media/materials/textures/circuit.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/clouds.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/cursor.png +0 -0
- data/deps/share/OGRE/media/materials/textures/dark_grid.png +0 -0
- data/deps/share/OGRE/media/materials/textures/dirt01.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/dkyellow.png +0 -0
- data/deps/share/OGRE/media/materials/textures/droplet.png +0 -0
- data/deps/share/OGRE/media/materials/textures/egyptrockyfull.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/flare.png +0 -0
- data/deps/share/OGRE/media/materials/textures/flare_alpha.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/flaretrail.png +0 -0
- data/deps/share/OGRE/media/materials/textures/frost.png +0 -0
- data/deps/share/OGRE/media/materials/textures/fw12b.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/gras_02.png +0 -0
- data/deps/share/OGRE/media/materials/textures/grassWalpha.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/grass_1024.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/img1.png +0 -0
- data/deps/share/OGRE/media/materials/textures/img2.png +0 -0
- data/deps/share/OGRE/media/materials/textures/leaf.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_bk.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_dn.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_fr.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_lf.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_rt.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nm_up.png +0 -0
- data/deps/share/OGRE/media/materials/textures/normalNoiseColor.png +0 -0
- data/deps/share/OGRE/media/materials/textures/nskingr.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/TextureUsageAgreement.txt +0 -26
- data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/dirt_grayrocky_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/grass_green-01_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_diffusespecular.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/nvidia/growth_weirdfungus-03_normalheight.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/ogreborder.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogreborderUp.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrebordercenter.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ogregui.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrelogo-small.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/ogrelogo.png +0 -0
- data/deps/share/OGRE/media/materials/textures/particle.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/penguin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/perlinvolume.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/r2skin.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/radial.png +0 -0
- data/deps/share/OGRE/media/materials/textures/random.png +0 -0
- data/deps/share/OGRE/media/materials/textures/ribbonband.png +0 -0
- data/deps/share/OGRE/media/materials/textures/rockwall.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/rockwall_NH.tga +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-back.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-down-p.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-down.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-thumb.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-up-p.png +0 -0
- data/deps/share/OGRE/media/materials/textures/scr-up.png +0 -0
- data/deps/share/OGRE/media/materials/textures/smoke.png +0 -0
- data/deps/share/OGRE/media/materials/textures/smokecolors.png +0 -0
- data/deps/share/OGRE/media/materials/textures/snow_1024.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/spacesky.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/spheremap.png +0 -0
- data/deps/share/OGRE/media/materials/textures/spine_strips.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/spotlight_image.png +0 -0
- data/deps/share/OGRE/media/materials/textures/steelhead.png +0 -0
- data/deps/share/OGRE/media/materials/textures/strugotine.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_dirt-grass.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_rock-dirt.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terr_rock6.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain.png +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain_detail.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/terrain_texture.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/texmap2.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/tusk.jpg +0 -0
- data/deps/share/OGRE/media/materials/textures/waveNM.png +0 -0
- data/deps/share/OGRE/media/materials/textures/waves2.dds +0 -0
- data/deps/share/OGRE/media/materials/textures/white.bmp +0 -0
- data/deps/share/OGRE/media/models/Barrel.mesh +0 -0
- data/deps/share/OGRE/media/models/RZR-002.mesh +0 -0
- data/deps/share/OGRE/media/models/ShaderSystem.mesh +0 -0
- data/deps/share/OGRE/media/models/WoodPallet.mesh +0 -0
- data/deps/share/OGRE/media/models/athene.mesh +0 -0
- data/deps/share/OGRE/media/models/column.mesh +0 -0
- data/deps/share/OGRE/media/models/cornell.mesh +0 -0
- data/deps/share/OGRE/media/models/cube.mesh +0 -0
- data/deps/share/OGRE/media/models/facial.mesh +0 -0
- data/deps/share/OGRE/media/models/fish.mesh +0 -0
- data/deps/share/OGRE/media/models/fish.skeleton +0 -0
- data/deps/share/OGRE/media/models/geosphere4500.mesh +0 -0
- data/deps/share/OGRE/media/models/geosphere8000.mesh +0 -0
- data/deps/share/OGRE/media/models/jaiqua.mesh +0 -0
- data/deps/share/OGRE/media/models/jaiqua.skeleton +0 -0
- data/deps/share/OGRE/media/models/knot.mesh +0 -0
- data/deps/share/OGRE/media/models/ninja.mesh +0 -0
- data/deps/share/OGRE/media/models/ninja.skeleton +0 -0
- data/deps/share/OGRE/media/models/ogrehead.mesh +0 -0
- data/deps/share/OGRE/media/models/penguin.mesh +0 -0
- data/deps/share/OGRE/media/models/penguin.skeleton +0 -0
- data/deps/share/OGRE/media/models/razor.mesh +0 -0
- data/deps/share/OGRE/media/models/robot.mesh +0 -0
- data/deps/share/OGRE/media/models/robot.skeleton +0 -0
- data/deps/share/OGRE/media/models/sibenik.mesh +0 -0
- data/deps/share/OGRE/media/models/sphere.mesh +0 -0
- data/deps/share/OGRE/media/models/spine.mesh +0 -0
- data/deps/share/OGRE/media/models/spine.mesh.skeleton +0 -0
- data/deps/share/OGRE/media/models/tudorhouse.mesh +0 -0
- data/deps/share/OGRE/media/packs/SdkTrays.zip +0 -0
- data/deps/share/OGRE/media/packs/Sinbad.zip +0 -0
- data/deps/share/OGRE/media/packs/chiropteraDM.pk3 +0 -0
- data/deps/share/OGRE/media/packs/chiropteraDM.txt +0 -99
- data/deps/share/OGRE/media/packs/cubemap.zip +0 -0
- data/deps/share/OGRE/media/packs/cubemapsJS.zip +0 -0
- data/deps/share/OGRE/media/packs/dragon.zip +0 -0
- data/deps/share/OGRE/media/packs/fresneldemo.zip +0 -0
- data/deps/share/OGRE/media/packs/ogredance.zip +0 -0
- data/deps/share/OGRE/media/packs/ogretestmap.zip +0 -0
- data/deps/share/OGRE/media/packs/profiler.zip +0 -0
- data/deps/share/OGRE/media/packs/skybox.zip +0 -0
- data/deps/share/OGRE/media/particle/Examples-Water.particle +0 -35
- data/deps/share/OGRE/media/particle/Examples.particle +0 -381
- data/deps/share/OGRE/media/particle/emitted_emitter.particle +0 -56
- data/deps/share/OGRE/media/particle/smoke.particle +0 -44
- data/deps/share/OGRE/media/terrain.cfg +0 -71
- data/deps/share/OGRE/media/thumbnails/thumb_bezier.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_bsp.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_bump.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_camtrack.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_cel.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_char.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_comp.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_cubemap.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_deferred.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_dualquaternionskinning.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_dyntex.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_error.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_facial.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_fresnel.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_grass.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_instancing.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_isosurf.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_lighting.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_newinstancing.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_ocean.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_particlegs.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_particles.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_playpen.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_shadersystem.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_shadows.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skelanim.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skybox.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skydome.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_skyplane.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_smoke.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_spheremap.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_ssao.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_terrain.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_texarray.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_texfx.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_trans.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_visual_tests.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_voltex.png +0 -0
- data/deps/share/OGRE/media/thumbnails/thumb_water.png +0 -0
- data/lib/ogre.so +0 -0
- data/lib/ogre_config.rb +0 -37
- data/lib/ogrebites.so +0 -0
- data/lib/ois.so +0 -0
- data/lib/procedural.so +0 -0
- data/sample/charactor/camera_mover.rb +0 -184
- data/sample/charactor/plugins.cfg +0 -17
- data/sample/charactor/resources.cfg +0 -22
- data/sample/charactor/sinbad +0 -5
- data/sample/charactor/sinbad.rb +0 -250
- data/sample/charactor/sinbad.win +0 -5
- data/sample/charactor/sinbad_character.rb +0 -379
- data/sample/charactor/ui_listener.rb +0 -65
@@ -1,262 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
-----------------------------------------------------------------------------
|
3
|
-
This source file is part of OGRE
|
4
|
-
(Object-oriented Graphics Rendering Engine)
|
5
|
-
For the latest info, see http://www.ogre3d.org/
|
6
|
-
|
7
|
-
Copyright (c) 2000-2012 Torus Knot Software Ltd
|
8
|
-
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
11
|
-
in the Software without restriction, including without limitation the rights
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
14
|
-
furnished to do so, subject to the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
17
|
-
all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
25
|
-
THE SOFTWARE.
|
26
|
-
-----------------------------------------------------------------------------
|
27
|
-
*/
|
28
|
-
#ifndef __GpuProgramManager_H_
|
29
|
-
#define __GpuProgramManager_H_
|
30
|
-
|
31
|
-
// Precompiler options
|
32
|
-
#include "OgrePrerequisites.h"
|
33
|
-
#include "OgreResourceManager.h"
|
34
|
-
#include "OgreException.h"
|
35
|
-
#include "OgreGpuProgram.h"
|
36
|
-
#include "OgreSingleton.h"
|
37
|
-
|
38
|
-
namespace Ogre {
|
39
|
-
|
40
|
-
/** \addtogroup Core
|
41
|
-
* @{
|
42
|
-
*/
|
43
|
-
/** \addtogroup Resources
|
44
|
-
* @{
|
45
|
-
*/
|
46
|
-
class _OgreExport GpuProgramManager : public ResourceManager, public Singleton<GpuProgramManager>
|
47
|
-
{
|
48
|
-
public:
|
49
|
-
|
50
|
-
typedef set<String>::type SyntaxCodes;
|
51
|
-
typedef map<String, GpuSharedParametersPtr>::type SharedParametersMap;
|
52
|
-
|
53
|
-
typedef MemoryDataStreamPtr Microcode;
|
54
|
-
typedef map<String, Microcode>::type MicrocodeMap;
|
55
|
-
|
56
|
-
protected:
|
57
|
-
|
58
|
-
SharedParametersMap mSharedParametersMap;
|
59
|
-
MicrocodeMap mMicrocodeCache;
|
60
|
-
bool mSaveMicrocodesToCache;
|
61
|
-
|
62
|
-
static String addRenderSystemToName( const String & name );
|
63
|
-
|
64
|
-
/// Specialised create method with specific parameters
|
65
|
-
virtual Resource* createImpl(const String& name, ResourceHandle handle,
|
66
|
-
const String& group, bool isManual, ManualResourceLoader* loader,
|
67
|
-
GpuProgramType gptype, const String& syntaxCode) = 0;
|
68
|
-
public:
|
69
|
-
GpuProgramManager();
|
70
|
-
virtual ~GpuProgramManager();
|
71
|
-
|
72
|
-
/** Loads a GPU program from a file of assembly.
|
73
|
-
@remarks
|
74
|
-
This method creates a new program of the type specified as the second parameter.
|
75
|
-
As with all types of ResourceManager, this class will search for the file in
|
76
|
-
all resource locations it has been configured to look in.
|
77
|
-
@param name The name of the GpuProgram
|
78
|
-
@param groupName The name of the resource group
|
79
|
-
@param filename The file to load
|
80
|
-
@param gptype The type of program to create
|
81
|
-
@param syntaxCode The name of the syntax to be used for this program e.g. arbvp1, vs_1_1
|
82
|
-
*/
|
83
|
-
virtual GpuProgramPtr load(const String& name, const String& groupName,
|
84
|
-
const String& filename, GpuProgramType gptype,
|
85
|
-
const String& syntaxCode);
|
86
|
-
|
87
|
-
/** Loads a GPU program from a string of assembly code.
|
88
|
-
@remarks
|
89
|
-
The assembly code must be compatible with this manager - call the
|
90
|
-
getSupportedSyntax method for details of the supported syntaxes
|
91
|
-
@param name The identifying name to give this program, which can be used to
|
92
|
-
retrieve this program later with getByName.
|
93
|
-
@param groupName The name of the resource group
|
94
|
-
@param code A string of assembly code which will form the program to run
|
95
|
-
@param gptype The type of program to create.
|
96
|
-
@param syntaxCode The name of the syntax to be used for this program e.g. arbvp1, vs_1_1
|
97
|
-
*/
|
98
|
-
virtual GpuProgramPtr loadFromString(const String& name, const String& groupName,
|
99
|
-
const String& code, GpuProgramType gptype,
|
100
|
-
const String& syntaxCode);
|
101
|
-
|
102
|
-
/** Returns the syntaxes that this manager supports. */
|
103
|
-
virtual const SyntaxCodes& getSupportedSyntax(void) const;
|
104
|
-
|
105
|
-
|
106
|
-
/** Returns whether a given syntax code (e.g. "ps_1_3", "fp20", "arbvp1") is supported. */
|
107
|
-
virtual bool isSyntaxSupported(const String& syntaxCode) const;
|
108
|
-
|
109
|
-
/** Creates a new GpuProgramParameters instance which can be used to bind
|
110
|
-
parameters to your programs.
|
111
|
-
@remarks
|
112
|
-
Program parameters can be shared between multiple programs if you wish.
|
113
|
-
*/
|
114
|
-
virtual GpuProgramParametersSharedPtr createParameters(void);
|
115
|
-
|
116
|
-
/** Create a new, unloaded GpuProgram from a file of assembly.
|
117
|
-
@remarks
|
118
|
-
Use this method in preference to the 'load' methods if you wish to define
|
119
|
-
a GpuProgram, but not load it yet; useful for saving memory.
|
120
|
-
@par
|
121
|
-
This method creates a new program of the type specified as the second parameter.
|
122
|
-
As with all types of ResourceManager, this class will search for the file in
|
123
|
-
all resource locations it has been configured to look in.
|
124
|
-
@param name The name of the program
|
125
|
-
@param groupName The name of the resource group
|
126
|
-
@param filename The file to load
|
127
|
-
@param syntaxCode The name of the syntax to be used for this program e.g. arbvp1, vs_1_1
|
128
|
-
@param gptype The type of program to create
|
129
|
-
*/
|
130
|
-
virtual GpuProgramPtr createProgram(const String& name,
|
131
|
-
const String& groupName, const String& filename,
|
132
|
-
GpuProgramType gptype, const String& syntaxCode);
|
133
|
-
|
134
|
-
/** Create a GPU program from a string of assembly code.
|
135
|
-
@remarks
|
136
|
-
Use this method in preference to the 'load' methods if you wish to define
|
137
|
-
a GpuProgram, but not load it yet; useful for saving memory.
|
138
|
-
@par
|
139
|
-
The assembly code must be compatible with this manager - call the
|
140
|
-
getSupportedSyntax method for details of the supported syntaxes
|
141
|
-
@param name The identifying name to give this program, which can be used to
|
142
|
-
retrieve this program later with getByName.
|
143
|
-
@param groupName The name of the resource group
|
144
|
-
@param code A string of assembly code which will form the program to run
|
145
|
-
@param gptype The type of program to create.
|
146
|
-
@param syntaxCode The name of the syntax to be used for this program e.g. arbvp1, vs_1_1
|
147
|
-
*/
|
148
|
-
virtual GpuProgramPtr createProgramFromString(const String& name,
|
149
|
-
const String& groupName, const String& code,
|
150
|
-
GpuProgramType gptype, const String& syntaxCode);
|
151
|
-
|
152
|
-
/** General create method, using specific create parameters
|
153
|
-
instead of name / value pairs.
|
154
|
-
*/
|
155
|
-
virtual ResourcePtr create(const String& name, const String& group,
|
156
|
-
GpuProgramType gptype, const String& syntaxCode, bool isManual = false,
|
157
|
-
ManualResourceLoader* loader = 0);
|
158
|
-
|
159
|
-
/** Overrides the standard ResourceManager getByName method.
|
160
|
-
@param name The name of the program to retrieve
|
161
|
-
@param preferHighLevelPrograms If set to true (the default), high level programs will be
|
162
|
-
returned in preference to low-level programs.
|
163
|
-
*/
|
164
|
-
ResourcePtr getByName(const String& name, bool preferHighLevelPrograms = true);
|
165
|
-
|
166
|
-
|
167
|
-
/** Create a new set of shared parameters, which can be used across many
|
168
|
-
GpuProgramParameters objects of different structures.
|
169
|
-
@param name The name to give the shared parameters so you can refer to them
|
170
|
-
later.
|
171
|
-
*/
|
172
|
-
virtual GpuSharedParametersPtr createSharedParameters(const String& name);
|
173
|
-
|
174
|
-
/** Retrieve a set of shared parameters, which can be used across many
|
175
|
-
GpuProgramParameters objects of different structures.
|
176
|
-
*/
|
177
|
-
virtual GpuSharedParametersPtr getSharedParameters(const String& name) const;
|
178
|
-
|
179
|
-
/** Get (const) access to the available shared parameter sets.
|
180
|
-
*/
|
181
|
-
virtual const SharedParametersMap& getAvailableSharedParameters() const;
|
182
|
-
|
183
|
-
/** Get if the microcode of a shader should be saved to a cache
|
184
|
-
*/
|
185
|
-
bool getSaveMicrocodesToCache();
|
186
|
-
/** Set if the microcode of a shader should be saved to a cache
|
187
|
-
*/
|
188
|
-
void setSaveMicrocodesToCache( const bool val );
|
189
|
-
|
190
|
-
bool canGetCompiledShaderBuffer();
|
191
|
-
/** Check if a microcode is available for a program in the microcode cache.
|
192
|
-
@param name The name of the program.
|
193
|
-
*/
|
194
|
-
virtual bool isMicrocodeAvailableInCache( const String & name ) const;
|
195
|
-
/** Returns a microcode for a program from the microcode cache.
|
196
|
-
@param name The name of the program.
|
197
|
-
*/
|
198
|
-
virtual const Microcode & getMicrocodeFromCache( const String & name ) const;
|
199
|
-
|
200
|
-
/** Creates a microcode to be later added to the cache.
|
201
|
-
@param size The size of the microcode in bytes
|
202
|
-
*/
|
203
|
-
virtual Microcode createMicrocode( const size_t size ) const;
|
204
|
-
|
205
|
-
/** Adds a microcode for a program to the microcode cache.
|
206
|
-
@param name The name of the program.
|
207
|
-
*/
|
208
|
-
virtual void addMicrocodeToCache( const String & name, const Microcode & microcode );
|
209
|
-
|
210
|
-
/** Saves the microcode cache to disk.
|
211
|
-
@param stream The destination stream
|
212
|
-
*/
|
213
|
-
virtual void saveMicrocodeCache( DataStreamPtr stream ) const;
|
214
|
-
/** Loads the microcode cache from disk.
|
215
|
-
@param stream The source stream
|
216
|
-
*/
|
217
|
-
virtual void loadMicrocodeCache( DataStreamPtr stream );
|
218
|
-
|
219
|
-
|
220
|
-
|
221
|
-
/** Override standard Singleton retrieval.
|
222
|
-
@remarks
|
223
|
-
Why do we do this? Well, it's because the Singleton
|
224
|
-
implementation is in a .h file, which means it gets compiled
|
225
|
-
into anybody who includes it. This is needed for the
|
226
|
-
Singleton template to work, but we actually only want it
|
227
|
-
compiled into the implementation of the class based on the
|
228
|
-
Singleton, not all of them. If we don't change this, we get
|
229
|
-
link errors when trying to use the Singleton-based class from
|
230
|
-
an outside dll.
|
231
|
-
@par
|
232
|
-
This method just delegates to the template version anyway,
|
233
|
-
but the implementation stays in this single compilation unit,
|
234
|
-
preventing link errors.
|
235
|
-
*/
|
236
|
-
static GpuProgramManager& getSingleton(void);
|
237
|
-
/** Override standard Singleton retrieval.
|
238
|
-
@remarks
|
239
|
-
Why do we do this? Well, it's because the Singleton
|
240
|
-
implementation is in a .h file, which means it gets compiled
|
241
|
-
into anybody who includes it. This is needed for the
|
242
|
-
Singleton template to work, but we actually only want it
|
243
|
-
compiled into the implementation of the class based on the
|
244
|
-
Singleton, not all of them. If we don't change this, we get
|
245
|
-
link errors when trying to use the Singleton-based class from
|
246
|
-
an outside dll.
|
247
|
-
@par
|
248
|
-
This method just delegates to the template version anyway,
|
249
|
-
but the implementation stays in this single compilation unit,
|
250
|
-
preventing link errors.
|
251
|
-
*/
|
252
|
-
static GpuProgramManager* getSingletonPtr(void);
|
253
|
-
|
254
|
-
|
255
|
-
|
256
|
-
};
|
257
|
-
|
258
|
-
/** @} */
|
259
|
-
/** @} */
|
260
|
-
}
|
261
|
-
|
262
|
-
#endif
|
@@ -1,1840 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
-----------------------------------------------------------------------------
|
3
|
-
This source file is part of OGRE
|
4
|
-
(Object-oriented Graphics Rendering Engine)
|
5
|
-
For the latest info, see http://www.ogre3d.org
|
6
|
-
|
7
|
-
Copyright (c) 2000-2012 Torus Knot Software Ltd
|
8
|
-
|
9
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
10
|
-
of this software and associated documentation files (the "Software"), to deal
|
11
|
-
in the Software without restriction, including without limitation the rights
|
12
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
13
|
-
copies of the Software, and to permit persons to whom the Software is
|
14
|
-
furnished to do so, subject to the following conditions:
|
15
|
-
|
16
|
-
The above copyright notice and this permission notice shall be included in
|
17
|
-
all copies or substantial portions of the Software.
|
18
|
-
|
19
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
20
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
21
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
22
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
23
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
24
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
25
|
-
THE SOFTWARE.
|
26
|
-
-----------------------------------------------------------------------------
|
27
|
-
*/
|
28
|
-
#ifndef __GpuProgramParams_H_
|
29
|
-
#define __GpuProgramParams_H_
|
30
|
-
|
31
|
-
// Precompiler options
|
32
|
-
#include "OgrePrerequisites.h"
|
33
|
-
#include "OgreSharedPtr.h"
|
34
|
-
#include "OgreIteratorWrappers.h"
|
35
|
-
#include "OgreSerializer.h"
|
36
|
-
#include "OgreRenderOperation.h"
|
37
|
-
#include "OgreAny.h"
|
38
|
-
|
39
|
-
namespace Ogre {
|
40
|
-
|
41
|
-
/** \addtogroup Core
|
42
|
-
* @{
|
43
|
-
*/
|
44
|
-
/** \addtogroup Materials
|
45
|
-
* @{
|
46
|
-
*/
|
47
|
-
/** Enumeration of the types of constant we may encounter in programs.
|
48
|
-
@note Low-level programs, by definition, will always use either
|
49
|
-
float4 or int4 constant types since that is the fundamental underlying
|
50
|
-
type in assembler.
|
51
|
-
*/
|
52
|
-
enum GpuConstantType
|
53
|
-
{
|
54
|
-
GCT_FLOAT1 = 1,
|
55
|
-
GCT_FLOAT2 = 2,
|
56
|
-
GCT_FLOAT3 = 3,
|
57
|
-
GCT_FLOAT4 = 4,
|
58
|
-
GCT_SAMPLER1D = 5,
|
59
|
-
GCT_SAMPLER2D = 6,
|
60
|
-
GCT_SAMPLER3D = 7,
|
61
|
-
GCT_SAMPLERCUBE = 8,
|
62
|
-
GCT_SAMPLER1DSHADOW = 9,
|
63
|
-
GCT_SAMPLER2DSHADOW = 10,
|
64
|
-
GCT_SAMPLER2DARRAY = 11,
|
65
|
-
GCT_MATRIX_2X2 = 12,
|
66
|
-
GCT_MATRIX_2X3 = 13,
|
67
|
-
GCT_MATRIX_2X4 = 14,
|
68
|
-
GCT_MATRIX_3X2 = 15,
|
69
|
-
GCT_MATRIX_3X3 = 16,
|
70
|
-
GCT_MATRIX_3X4 = 17,
|
71
|
-
GCT_MATRIX_4X2 = 18,
|
72
|
-
GCT_MATRIX_4X3 = 19,
|
73
|
-
GCT_MATRIX_4X4 = 20,
|
74
|
-
GCT_INT1 = 21,
|
75
|
-
GCT_INT2 = 22,
|
76
|
-
GCT_INT3 = 23,
|
77
|
-
GCT_INT4 = 24,
|
78
|
-
GCT_UNKNOWN = 99
|
79
|
-
};
|
80
|
-
|
81
|
-
/** The variability of a GPU parameter, as derived from auto-params targeting it.
|
82
|
-
These values must be powers of two since they are used in masks.
|
83
|
-
*/
|
84
|
-
enum GpuParamVariability
|
85
|
-
{
|
86
|
-
/// No variation except by manual setting - the default
|
87
|
-
GPV_GLOBAL = 1,
|
88
|
-
/// Varies per object (based on an auto param usually), but not per light setup
|
89
|
-
GPV_PER_OBJECT = 2,
|
90
|
-
/// Varies with light setup
|
91
|
-
GPV_LIGHTS = 4,
|
92
|
-
/// Varies with pass iteration number
|
93
|
-
GPV_PASS_ITERATION_NUMBER = 8,
|
94
|
-
|
95
|
-
|
96
|
-
/// Full mask (16-bit)
|
97
|
-
GPV_ALL = 0xFFFF
|
98
|
-
|
99
|
-
};
|
100
|
-
|
101
|
-
/** Information about predefined program constants.
|
102
|
-
@note Only available for high-level programs but is referenced generically
|
103
|
-
by GpuProgramParameters.
|
104
|
-
*/
|
105
|
-
struct _OgreExport GpuConstantDefinition
|
106
|
-
{
|
107
|
-
/// Data type
|
108
|
-
GpuConstantType constType;
|
109
|
-
/// Physical start index in buffer (either float or int buffer)
|
110
|
-
size_t physicalIndex;
|
111
|
-
/// Logical index - used to communicate this constant to the rendersystem
|
112
|
-
size_t logicalIndex;
|
113
|
-
/** Number of raw buffer slots per element
|
114
|
-
(some programs pack each array element to float4, some do not) */
|
115
|
-
size_t elementSize;
|
116
|
-
/// Length of array
|
117
|
-
size_t arraySize;
|
118
|
-
/// How this parameter varies (bitwise combination of GpuProgramVariability)
|
119
|
-
mutable uint16 variability;
|
120
|
-
|
121
|
-
bool isFloat() const
|
122
|
-
{
|
123
|
-
return isFloat(constType);
|
124
|
-
}
|
125
|
-
|
126
|
-
static bool isFloat(GpuConstantType c)
|
127
|
-
{
|
128
|
-
switch(c)
|
129
|
-
{
|
130
|
-
case GCT_INT1:
|
131
|
-
case GCT_INT2:
|
132
|
-
case GCT_INT3:
|
133
|
-
case GCT_INT4:
|
134
|
-
case GCT_SAMPLER1D:
|
135
|
-
case GCT_SAMPLER2D:
|
136
|
-
case GCT_SAMPLER2DARRAY:
|
137
|
-
case GCT_SAMPLER3D:
|
138
|
-
case GCT_SAMPLERCUBE:
|
139
|
-
case GCT_SAMPLER1DSHADOW:
|
140
|
-
case GCT_SAMPLER2DSHADOW:
|
141
|
-
return false;
|
142
|
-
default:
|
143
|
-
return true;
|
144
|
-
};
|
145
|
-
|
146
|
-
}
|
147
|
-
|
148
|
-
bool isSampler() const
|
149
|
-
{
|
150
|
-
return isSampler(constType);
|
151
|
-
}
|
152
|
-
|
153
|
-
static bool isSampler(GpuConstantType c)
|
154
|
-
{
|
155
|
-
switch(c)
|
156
|
-
{
|
157
|
-
case GCT_SAMPLER1D:
|
158
|
-
case GCT_SAMPLER2D:
|
159
|
-
case GCT_SAMPLER2DARRAY:
|
160
|
-
case GCT_SAMPLER3D:
|
161
|
-
case GCT_SAMPLERCUBE:
|
162
|
-
case GCT_SAMPLER1DSHADOW:
|
163
|
-
case GCT_SAMPLER2DSHADOW:
|
164
|
-
return true;
|
165
|
-
default:
|
166
|
-
return false;
|
167
|
-
};
|
168
|
-
|
169
|
-
}
|
170
|
-
|
171
|
-
|
172
|
-
/** Get the element size of a given type, including whether to pad the
|
173
|
-
elements into multiples of 4 (e.g. SM1 and D3D does, GLSL doesn't)
|
174
|
-
*/
|
175
|
-
static size_t getElementSize(GpuConstantType ctype, bool padToMultiplesOf4)
|
176
|
-
{
|
177
|
-
if (padToMultiplesOf4)
|
178
|
-
{
|
179
|
-
switch(ctype)
|
180
|
-
{
|
181
|
-
case GCT_FLOAT1:
|
182
|
-
case GCT_INT1:
|
183
|
-
case GCT_SAMPLER1D:
|
184
|
-
case GCT_SAMPLER2D:
|
185
|
-
case GCT_SAMPLER2DARRAY:
|
186
|
-
case GCT_SAMPLER3D:
|
187
|
-
case GCT_SAMPLERCUBE:
|
188
|
-
case GCT_SAMPLER1DSHADOW:
|
189
|
-
case GCT_SAMPLER2DSHADOW:
|
190
|
-
case GCT_FLOAT2:
|
191
|
-
case GCT_INT2:
|
192
|
-
case GCT_FLOAT3:
|
193
|
-
case GCT_INT3:
|
194
|
-
case GCT_FLOAT4:
|
195
|
-
case GCT_INT4:
|
196
|
-
return 4;
|
197
|
-
case GCT_MATRIX_2X2:
|
198
|
-
case GCT_MATRIX_2X3:
|
199
|
-
case GCT_MATRIX_2X4:
|
200
|
-
return 8; // 2 float4s
|
201
|
-
case GCT_MATRIX_3X2:
|
202
|
-
case GCT_MATRIX_3X3:
|
203
|
-
case GCT_MATRIX_3X4:
|
204
|
-
return 12; // 3 float4s
|
205
|
-
case GCT_MATRIX_4X2:
|
206
|
-
case GCT_MATRIX_4X3:
|
207
|
-
case GCT_MATRIX_4X4:
|
208
|
-
return 16; // 4 float4s
|
209
|
-
default:
|
210
|
-
return 4;
|
211
|
-
};
|
212
|
-
}
|
213
|
-
else
|
214
|
-
{
|
215
|
-
switch(ctype)
|
216
|
-
{
|
217
|
-
case GCT_FLOAT1:
|
218
|
-
case GCT_INT1:
|
219
|
-
case GCT_SAMPLER1D:
|
220
|
-
case GCT_SAMPLER2D:
|
221
|
-
case GCT_SAMPLER2DARRAY:
|
222
|
-
case GCT_SAMPLER3D:
|
223
|
-
case GCT_SAMPLERCUBE:
|
224
|
-
case GCT_SAMPLER1DSHADOW:
|
225
|
-
case GCT_SAMPLER2DSHADOW:
|
226
|
-
return 1;
|
227
|
-
case GCT_FLOAT2:
|
228
|
-
case GCT_INT2:
|
229
|
-
return 2;
|
230
|
-
case GCT_FLOAT3:
|
231
|
-
case GCT_INT3:
|
232
|
-
return 3;
|
233
|
-
case GCT_FLOAT4:
|
234
|
-
case GCT_INT4:
|
235
|
-
return 4;
|
236
|
-
case GCT_MATRIX_2X2:
|
237
|
-
return 4;
|
238
|
-
case GCT_MATRIX_2X3:
|
239
|
-
case GCT_MATRIX_3X2:
|
240
|
-
return 6;
|
241
|
-
case GCT_MATRIX_2X4:
|
242
|
-
case GCT_MATRIX_4X2:
|
243
|
-
return 8;
|
244
|
-
case GCT_MATRIX_3X3:
|
245
|
-
return 9;
|
246
|
-
case GCT_MATRIX_3X4:
|
247
|
-
case GCT_MATRIX_4X3:
|
248
|
-
return 12;
|
249
|
-
case GCT_MATRIX_4X4:
|
250
|
-
return 16;
|
251
|
-
default:
|
252
|
-
return 4;
|
253
|
-
};
|
254
|
-
|
255
|
-
}
|
256
|
-
}
|
257
|
-
|
258
|
-
GpuConstantDefinition()
|
259
|
-
: constType(GCT_UNKNOWN)
|
260
|
-
, physicalIndex((std::numeric_limits<size_t>::max)())
|
261
|
-
, logicalIndex(0)
|
262
|
-
, elementSize(0)
|
263
|
-
, arraySize(1)
|
264
|
-
, variability(GPV_GLOBAL) {}
|
265
|
-
};
|
266
|
-
typedef map<String, GpuConstantDefinition>::type GpuConstantDefinitionMap;
|
267
|
-
typedef ConstMapIterator<GpuConstantDefinitionMap> GpuConstantDefinitionIterator;
|
268
|
-
|
269
|
-
/// Struct collecting together the information for named constants.
|
270
|
-
struct _OgreExport GpuNamedConstants : public GpuParamsAlloc
|
271
|
-
{
|
272
|
-
/// Total size of the float buffer required
|
273
|
-
size_t floatBufferSize;
|
274
|
-
/// Total size of the int buffer required
|
275
|
-
size_t intBufferSize;
|
276
|
-
/// Map of parameter names to GpuConstantDefinition
|
277
|
-
GpuConstantDefinitionMap map;
|
278
|
-
|
279
|
-
GpuNamedConstants() : floatBufferSize(0), intBufferSize(0) {}
|
280
|
-
|
281
|
-
/** Generate additional constant entries for arrays based on a base definition.
|
282
|
-
@remarks
|
283
|
-
Array uniforms will be added just with their base name with no array
|
284
|
-
suffix. This method will add named entries for array suffixes too
|
285
|
-
so individual array entries can be addressed. Note that we only
|
286
|
-
individually index array elements if the array size is up to 16
|
287
|
-
entries in size. Anything larger than that only gets a [0] entry
|
288
|
-
as well as the main entry, to save cluttering up the name map. After
|
289
|
-
all, you can address the larger arrays in a bulk fashion much more
|
290
|
-
easily anyway.
|
291
|
-
*/
|
292
|
-
void generateConstantDefinitionArrayEntries(const String& paramName,
|
293
|
-
const GpuConstantDefinition& baseDef);
|
294
|
-
|
295
|
-
/// Indicates whether all array entries will be generated and added to the definitions map
|
296
|
-
static bool getGenerateAllConstantDefinitionArrayEntries();
|
297
|
-
|
298
|
-
/** Sets whether all array entries will be generated and added to the definitions map.
|
299
|
-
@remarks
|
300
|
-
Usually, array entries can only be individually indexed if they're up to 16 entries long,
|
301
|
-
to save memory - arrays larger than that can be set but only via the bulk setting
|
302
|
-
methods. This option allows you to choose to individually index every array entry.
|
303
|
-
*/
|
304
|
-
static void setGenerateAllConstantDefinitionArrayEntries(bool generateAll);
|
305
|
-
|
306
|
-
/** Saves constant definitions to a file, compatible with GpuProgram::setManualNamedConstantsFile.
|
307
|
-
@see GpuProgram::setManualNamedConstantsFile
|
308
|
-
*/
|
309
|
-
void save(const String& filename) const;
|
310
|
-
/** Loads constant definitions from a stream, compatible with GpuProgram::setManualNamedConstantsFile.
|
311
|
-
@see GpuProgram::setManualNamedConstantsFile
|
312
|
-
*/
|
313
|
-
void load(DataStreamPtr& stream);
|
314
|
-
|
315
|
-
protected:
|
316
|
-
/** Indicates whether all array entries will be generated and added to the definitions map
|
317
|
-
@remarks
|
318
|
-
Normally, the number of array entries added to the definitions map is capped at 16
|
319
|
-
to save memory. Setting this value to <code>true</code> allows all of the entries
|
320
|
-
to be generated and added to the map.
|
321
|
-
*/
|
322
|
-
static bool msGenerateAllConstantDefinitionArrayEntries;
|
323
|
-
};
|
324
|
-
typedef SharedPtr<GpuNamedConstants> GpuNamedConstantsPtr;
|
325
|
-
|
326
|
-
/// Simple class for loading / saving GpuNamedConstants
|
327
|
-
class _OgreExport GpuNamedConstantsSerializer : public Serializer
|
328
|
-
{
|
329
|
-
public:
|
330
|
-
GpuNamedConstantsSerializer();
|
331
|
-
virtual ~GpuNamedConstantsSerializer();
|
332
|
-
void exportNamedConstants(const GpuNamedConstants* pConsts, const String& filename,
|
333
|
-
Endian endianMode = ENDIAN_NATIVE);
|
334
|
-
void exportNamedConstants(const GpuNamedConstants* pConsts, DataStreamPtr stream,
|
335
|
-
Endian endianMode = ENDIAN_NATIVE);
|
336
|
-
void importNamedConstants(DataStreamPtr& stream, GpuNamedConstants* pDest);
|
337
|
-
};
|
338
|
-
|
339
|
-
/** Structure recording the use of a physical buffer by a logical parameter
|
340
|
-
index. Only used for low-level programs.
|
341
|
-
*/
|
342
|
-
struct _OgreExport GpuLogicalIndexUse
|
343
|
-
{
|
344
|
-
/// Physical buffer index
|
345
|
-
size_t physicalIndex;
|
346
|
-
/// Current physical size allocation
|
347
|
-
size_t currentSize;
|
348
|
-
/// How the contents of this slot vary
|
349
|
-
mutable uint16 variability;
|
350
|
-
|
351
|
-
GpuLogicalIndexUse()
|
352
|
-
: physicalIndex(99999), currentSize(0), variability(GPV_GLOBAL) {}
|
353
|
-
GpuLogicalIndexUse(size_t bufIdx, size_t curSz, uint16 v)
|
354
|
-
: physicalIndex(bufIdx), currentSize(curSz), variability(v) {}
|
355
|
-
};
|
356
|
-
typedef map<size_t, GpuLogicalIndexUse>::type GpuLogicalIndexUseMap;
|
357
|
-
/// Container struct to allow params to safely & update shared list of logical buffer assignments
|
358
|
-
struct _OgreExport GpuLogicalBufferStruct : public GpuParamsAlloc
|
359
|
-
{
|
360
|
-
OGRE_MUTEX(mutex)
|
361
|
-
/// Map from logical index to physical buffer location
|
362
|
-
GpuLogicalIndexUseMap map;
|
363
|
-
/// Shortcut to know the buffer size needs
|
364
|
-
size_t bufferSize;
|
365
|
-
GpuLogicalBufferStruct() : bufferSize(0) {}
|
366
|
-
};
|
367
|
-
typedef SharedPtr<GpuLogicalBufferStruct> GpuLogicalBufferStructPtr;
|
368
|
-
|
369
|
-
/** Definition of container that holds the current float constants.
|
370
|
-
@note Not necessarily in direct index order to constant indexes, logical
|
371
|
-
to physical index map is derived from GpuProgram
|
372
|
-
*/
|
373
|
-
typedef vector<float>::type FloatConstantList;
|
374
|
-
/** Definition of container that holds the current float constants.
|
375
|
-
@note Not necessarily in direct index order to constant indexes, logical
|
376
|
-
to physical index map is derived from GpuProgram
|
377
|
-
*/
|
378
|
-
typedef vector<int>::type IntConstantList;
|
379
|
-
|
380
|
-
/** A group of manually updated parameters that are shared between many parameter sets.
|
381
|
-
@remarks
|
382
|
-
Sometimes you want to set some common parameters across many otherwise
|
383
|
-
different parameter sets, and keep them all in sync together. This class
|
384
|
-
allows you to define a set of parameters that you can share across many
|
385
|
-
parameter sets and have the parameters that match automatically be pulled
|
386
|
-
from the shared set, rather than you having to set them on all the parameter
|
387
|
-
sets individually.
|
388
|
-
@par
|
389
|
-
Parameters in a shared set are matched up with instances in a GpuProgramParameters
|
390
|
-
structure by matching names. It is up to you to define the named parameters
|
391
|
-
that a shared set contains, and ensuring the definition matches.
|
392
|
-
@note
|
393
|
-
Shared parameter sets can be named, and looked up using the GpuProgramManager.
|
394
|
-
*/
|
395
|
-
class _OgreExport GpuSharedParameters : public GpuParamsAlloc
|
396
|
-
{
|
397
|
-
protected:
|
398
|
-
GpuNamedConstants mNamedConstants;
|
399
|
-
FloatConstantList mFloatConstants;
|
400
|
-
IntConstantList mIntConstants;
|
401
|
-
String mName;
|
402
|
-
|
403
|
-
// Optional data the rendersystem might want to store
|
404
|
-
mutable Any mRenderSystemData;
|
405
|
-
|
406
|
-
/// Not used when copying data, but might be useful to RS using shared buffers
|
407
|
-
size_t mFrameLastUpdated;
|
408
|
-
|
409
|
-
/// Version number of the definitions in this buffer
|
410
|
-
unsigned long mVersion;
|
411
|
-
|
412
|
-
public:
|
413
|
-
GpuSharedParameters(const String& name);
|
414
|
-
virtual ~GpuSharedParameters();
|
415
|
-
|
416
|
-
/// Get the name of this shared parameter set
|
417
|
-
const String& getName() { return mName; }
|
418
|
-
|
419
|
-
/** Add a new constant definition to this shared set of parameters.
|
420
|
-
@remarks
|
421
|
-
Unlike GpuProgramParameters, where the parameter list is defined by the
|
422
|
-
program being compiled, this shared parameter set is defined by the
|
423
|
-
user. Only parameters which have been predefined here may be later
|
424
|
-
updated.
|
425
|
-
*/
|
426
|
-
void addConstantDefinition(const String& name, GpuConstantType constType, size_t arraySize = 1);
|
427
|
-
|
428
|
-
/** Remove a constant definition from this shared set of parameters.
|
429
|
-
*/
|
430
|
-
void removeConstantDefinition(const String& name);
|
431
|
-
|
432
|
-
/** Remove a constant definition from this shared set of parameters.
|
433
|
-
*/
|
434
|
-
void removeAllConstantDefinitions();
|
435
|
-
|
436
|
-
/** Get the version number of this shared parameter set, can be used to identify when
|
437
|
-
changes have occurred.
|
438
|
-
*/
|
439
|
-
unsigned long getVersion() const { return mVersion; }
|
440
|
-
|
441
|
-
/** Mark the shared set as being dirty (values modified).
|
442
|
-
@remarks
|
443
|
-
You do not need to call this yourself, set is marked as dirty whenever
|
444
|
-
setNamedConstant or (non const) getFloatPointer et al are called.
|
445
|
-
*/
|
446
|
-
void _markDirty();
|
447
|
-
/// Get the frame in which this shared parameter set was last updated
|
448
|
-
size_t getFrameLastUpdated() const { return mFrameLastUpdated; }
|
449
|
-
|
450
|
-
/** Gets an iterator over the named GpuConstantDefinition instances as defined
|
451
|
-
by the user.
|
452
|
-
*/
|
453
|
-
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const;
|
454
|
-
|
455
|
-
/** Get a specific GpuConstantDefinition for a named parameter.
|
456
|
-
*/
|
457
|
-
const GpuConstantDefinition& getConstantDefinition(const String& name) const;
|
458
|
-
|
459
|
-
/** Get the full list of GpuConstantDefinition instances.
|
460
|
-
*/
|
461
|
-
const GpuNamedConstants& getConstantDefinitions() const;
|
462
|
-
|
463
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
464
|
-
void setNamedConstant(const String& name, Real val);
|
465
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
466
|
-
void setNamedConstant(const String& name, int val);
|
467
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
468
|
-
void setNamedConstant(const String& name, const Vector4& vec);
|
469
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
470
|
-
void setNamedConstant(const String& name, const Vector3& vec);
|
471
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
472
|
-
void setNamedConstant(const String& name, const Matrix4& m);
|
473
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
474
|
-
void setNamedConstant(const String& name, const Matrix4* m, size_t numEntries);
|
475
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
476
|
-
void setNamedConstant(const String& name, const float *val, size_t count);
|
477
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
478
|
-
void setNamedConstant(const String& name, const double *val, size_t count);
|
479
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
480
|
-
void setNamedConstant(const String& name, const ColourValue& colour);
|
481
|
-
/** @copydoc GpuProgramParameters::setNamedConstant */
|
482
|
-
void setNamedConstant(const String& name, const int *val, size_t count);
|
483
|
-
|
484
|
-
/// Get a pointer to the 'nth' item in the float buffer
|
485
|
-
float* getFloatPointer(size_t pos) { _markDirty(); return &mFloatConstants[pos]; }
|
486
|
-
/// Get a pointer to the 'nth' item in the float buffer
|
487
|
-
const float* getFloatPointer(size_t pos) const { return &mFloatConstants[pos]; }
|
488
|
-
/// Get a pointer to the 'nth' item in the int buffer
|
489
|
-
int* getIntPointer(size_t pos) { _markDirty(); return &mIntConstants[pos]; }
|
490
|
-
/// Get a pointer to the 'nth' item in the int buffer
|
491
|
-
const int* getIntPointer(size_t pos) const { return &mIntConstants[pos]; }
|
492
|
-
|
493
|
-
|
494
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
495
|
-
void _setRenderSystemData(const Any& data) const { mRenderSystemData = data; }
|
496
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
497
|
-
const Any& _getRenderSystemData() const { return mRenderSystemData; }
|
498
|
-
|
499
|
-
};
|
500
|
-
|
501
|
-
/// Shared pointer used to hold references to GpuProgramParameters instances
|
502
|
-
typedef SharedPtr<GpuSharedParameters> GpuSharedParametersPtr;
|
503
|
-
|
504
|
-
class GpuProgramParameters;
|
505
|
-
|
506
|
-
/** This class records the usage of a set of shared parameters in a concrete
|
507
|
-
set of GpuProgramParameters.
|
508
|
-
*/
|
509
|
-
class _OgreExport GpuSharedParametersUsage : public GpuParamsAlloc
|
510
|
-
{
|
511
|
-
protected:
|
512
|
-
GpuSharedParametersPtr mSharedParams;
|
513
|
-
// Not a shared pointer since this is also parent
|
514
|
-
GpuProgramParameters* mParams;
|
515
|
-
// list of physical mappings that we are going to bring in
|
516
|
-
struct CopyDataEntry
|
517
|
-
{
|
518
|
-
const GpuConstantDefinition* srcDefinition;
|
519
|
-
const GpuConstantDefinition* dstDefinition;
|
520
|
-
};
|
521
|
-
typedef vector<CopyDataEntry>::type CopyDataList;
|
522
|
-
|
523
|
-
CopyDataList mCopyDataList;
|
524
|
-
|
525
|
-
// Optional data the rendersystem might want to store
|
526
|
-
mutable Any mRenderSystemData;
|
527
|
-
|
528
|
-
/// Version of shared params we based the copydata on
|
529
|
-
unsigned long mCopyDataVersion;
|
530
|
-
|
531
|
-
void initCopyData();
|
532
|
-
|
533
|
-
|
534
|
-
public:
|
535
|
-
/// Construct usage
|
536
|
-
GpuSharedParametersUsage(GpuSharedParametersPtr sharedParams,
|
537
|
-
GpuProgramParameters* params);
|
538
|
-
|
539
|
-
/** Update the target parameters by copying the data from the shared
|
540
|
-
parameters.
|
541
|
-
@note This method may not actually be called if the RenderSystem
|
542
|
-
supports using shared parameters directly in their own shared buffer; in
|
543
|
-
which case the values should not be copied out of the shared area
|
544
|
-
into the individual parameter set, but bound separately.
|
545
|
-
*/
|
546
|
-
void _copySharedParamsToTargetParams();
|
547
|
-
|
548
|
-
/// Get the name of the shared parameter set
|
549
|
-
const String& getName() const { return mSharedParams->getName(); }
|
550
|
-
|
551
|
-
GpuSharedParametersPtr getSharedParams() const { return mSharedParams; }
|
552
|
-
GpuProgramParameters* getTargetParams() const { return mParams; }
|
553
|
-
|
554
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
555
|
-
void _setRenderSystemData(const Any& data) const { mRenderSystemData = data; }
|
556
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
557
|
-
const Any& _getRenderSystemData() const { return mRenderSystemData; }
|
558
|
-
|
559
|
-
|
560
|
-
};
|
561
|
-
|
562
|
-
/** Collects together the program parameters used for a GpuProgram.
|
563
|
-
@remarks
|
564
|
-
Gpu program state includes constant parameters used by the program, and
|
565
|
-
bindings to render system state which is propagated into the constants
|
566
|
-
by the engine automatically if requested.
|
567
|
-
@par
|
568
|
-
GpuProgramParameters objects should be created through the GpuProgram and
|
569
|
-
may be shared between multiple Pass instances. For this reason they
|
570
|
-
are managed using a shared pointer, which will ensure they are automatically
|
571
|
-
deleted when no Pass is using them anymore.
|
572
|
-
@par
|
573
|
-
High-level programs use named parameters (uniforms), low-level programs
|
574
|
-
use indexed constants. This class supports both, but you can tell whether
|
575
|
-
named constants are supported by calling hasNamedParameters(). There are
|
576
|
-
references in the documentation below to 'logical' and 'physical' indexes;
|
577
|
-
logical indexes are the indexes used by low-level programs and represent
|
578
|
-
indexes into an array of float4's, some of which may be settable, some of
|
579
|
-
which may be predefined constants in the program. We only store those
|
580
|
-
constants which have actually been set, therefore our buffer could have
|
581
|
-
gaps if we used the logical indexes in our own buffers. So instead we map
|
582
|
-
these logical indexes to physical indexes in our buffer. When using
|
583
|
-
high-level programs, logical indexes don't necessarily exist, although they
|
584
|
-
might if the high-level program has a direct, exposed mapping from parameter
|
585
|
-
names to logical indexes. In addition, high-level languages may or may not pack
|
586
|
-
arrays of elements that are smaller than float4 (e.g. float2/vec2) contiguously.
|
587
|
-
This kind of information is held in the ConstantDefinition structure which
|
588
|
-
is only populated for high-level programs. You don't have to worry about
|
589
|
-
any of this unless you intend to read parameters back from this structure
|
590
|
-
rather than just setting them.
|
591
|
-
*/
|
592
|
-
class _OgreExport GpuProgramParameters : public GpuParamsAlloc
|
593
|
-
{
|
594
|
-
public:
|
595
|
-
/** Defines the types of automatically updated values that may be bound to GpuProgram
|
596
|
-
parameters, or used to modify parameters on a per-object basis.
|
597
|
-
*/
|
598
|
-
enum AutoConstantType
|
599
|
-
{
|
600
|
-
/// The current world matrix
|
601
|
-
ACT_WORLD_MATRIX,
|
602
|
-
/// The current world matrix, inverted
|
603
|
-
ACT_INVERSE_WORLD_MATRIX,
|
604
|
-
/** Provides transpose of world matrix.
|
605
|
-
Equivalent to RenderMonkey's "WorldTranspose".
|
606
|
-
*/
|
607
|
-
ACT_TRANSPOSE_WORLD_MATRIX,
|
608
|
-
/// The current world matrix, inverted & transposed
|
609
|
-
ACT_INVERSE_TRANSPOSE_WORLD_MATRIX,
|
610
|
-
|
611
|
-
/// The current array of world matrices, as a 3x4 matrix, used for blending
|
612
|
-
ACT_WORLD_MATRIX_ARRAY_3x4,
|
613
|
-
/// The current array of world matrices, used for blending
|
614
|
-
ACT_WORLD_MATRIX_ARRAY,
|
615
|
-
/// The current array of world matrices transformed to an array of dual quaternions, represented as a 2x4 matrix
|
616
|
-
ACT_WORLD_DUALQUATERNION_ARRAY_2x4,
|
617
|
-
/// The scale and shear components of the current array of world matrices
|
618
|
-
ACT_WORLD_SCALE_SHEAR_MATRIX_ARRAY_3x4,
|
619
|
-
|
620
|
-
/// The current view matrix
|
621
|
-
ACT_VIEW_MATRIX,
|
622
|
-
/// The current view matrix, inverted
|
623
|
-
ACT_INVERSE_VIEW_MATRIX,
|
624
|
-
/** Provides transpose of view matrix.
|
625
|
-
Equivalent to RenderMonkey's "ViewTranspose".
|
626
|
-
*/
|
627
|
-
ACT_TRANSPOSE_VIEW_MATRIX,
|
628
|
-
/** Provides inverse transpose of view matrix.
|
629
|
-
Equivalent to RenderMonkey's "ViewInverseTranspose".
|
630
|
-
*/
|
631
|
-
ACT_INVERSE_TRANSPOSE_VIEW_MATRIX,
|
632
|
-
|
633
|
-
|
634
|
-
/// The current projection matrix
|
635
|
-
ACT_PROJECTION_MATRIX,
|
636
|
-
/** Provides inverse of projection matrix.
|
637
|
-
Equivalent to RenderMonkey's "ProjectionInverse".
|
638
|
-
*/
|
639
|
-
ACT_INVERSE_PROJECTION_MATRIX,
|
640
|
-
/** Provides transpose of projection matrix.
|
641
|
-
Equivalent to RenderMonkey's "ProjectionTranspose".
|
642
|
-
*/
|
643
|
-
ACT_TRANSPOSE_PROJECTION_MATRIX,
|
644
|
-
/** Provides inverse transpose of projection matrix.
|
645
|
-
Equivalent to RenderMonkey's "ProjectionInverseTranspose".
|
646
|
-
*/
|
647
|
-
ACT_INVERSE_TRANSPOSE_PROJECTION_MATRIX,
|
648
|
-
|
649
|
-
|
650
|
-
/// The current view & projection matrices concatenated
|
651
|
-
ACT_VIEWPROJ_MATRIX,
|
652
|
-
/** Provides inverse of concatenated view and projection matrices.
|
653
|
-
Equivalent to RenderMonkey's "ViewProjectionInverse".
|
654
|
-
*/
|
655
|
-
ACT_INVERSE_VIEWPROJ_MATRIX,
|
656
|
-
/** Provides transpose of concatenated view and projection matrices.
|
657
|
-
Equivalent to RenderMonkey's "ViewProjectionTranspose".
|
658
|
-
*/
|
659
|
-
ACT_TRANSPOSE_VIEWPROJ_MATRIX,
|
660
|
-
/** Provides inverse transpose of concatenated view and projection matrices.
|
661
|
-
Equivalent to RenderMonkey's "ViewProjectionInverseTranspose".
|
662
|
-
*/
|
663
|
-
ACT_INVERSE_TRANSPOSE_VIEWPROJ_MATRIX,
|
664
|
-
|
665
|
-
|
666
|
-
/// The current world & view matrices concatenated
|
667
|
-
ACT_WORLDVIEW_MATRIX,
|
668
|
-
/// The current world & view matrices concatenated, then inverted
|
669
|
-
ACT_INVERSE_WORLDVIEW_MATRIX,
|
670
|
-
/** Provides transpose of concatenated world and view matrices.
|
671
|
-
Equivalent to RenderMonkey's "WorldViewTranspose".
|
672
|
-
*/
|
673
|
-
ACT_TRANSPOSE_WORLDVIEW_MATRIX,
|
674
|
-
/// The current world & view matrices concatenated, then inverted & transposed
|
675
|
-
ACT_INVERSE_TRANSPOSE_WORLDVIEW_MATRIX,
|
676
|
-
/// view matrices.
|
677
|
-
|
678
|
-
|
679
|
-
/// The current world, view & projection matrices concatenated
|
680
|
-
ACT_WORLDVIEWPROJ_MATRIX,
|
681
|
-
/** Provides inverse of concatenated world, view and projection matrices.
|
682
|
-
Equivalent to RenderMonkey's "WorldViewProjectionInverse".
|
683
|
-
*/
|
684
|
-
ACT_INVERSE_WORLDVIEWPROJ_MATRIX,
|
685
|
-
/** Provides transpose of concatenated world, view and projection matrices.
|
686
|
-
Equivalent to RenderMonkey's "WorldViewProjectionTranspose".
|
687
|
-
*/
|
688
|
-
ACT_TRANSPOSE_WORLDVIEWPROJ_MATRIX,
|
689
|
-
/** Provides inverse transpose of concatenated world, view and projection
|
690
|
-
matrices. Equivalent to RenderMonkey's "WorldViewProjectionInverseTranspose".
|
691
|
-
*/
|
692
|
-
ACT_INVERSE_TRANSPOSE_WORLDVIEWPROJ_MATRIX,
|
693
|
-
|
694
|
-
|
695
|
-
/// render target related values
|
696
|
-
/** -1 if requires texture flipping, +1 otherwise. It's useful when you bypassed
|
697
|
-
projection matrix transform, still able use this value to adjust transformed y position.
|
698
|
-
*/
|
699
|
-
ACT_RENDER_TARGET_FLIPPING,
|
700
|
-
|
701
|
-
/** -1 if the winding has been inverted (e.g. for reflections), +1 otherwise.
|
702
|
-
*/
|
703
|
-
ACT_VERTEX_WINDING,
|
704
|
-
|
705
|
-
/// Fog colour
|
706
|
-
ACT_FOG_COLOUR,
|
707
|
-
/// Fog params: density, linear start, linear end, 1/(end-start)
|
708
|
-
ACT_FOG_PARAMS,
|
709
|
-
|
710
|
-
|
711
|
-
/// Surface ambient colour, as set in Pass::setAmbient
|
712
|
-
ACT_SURFACE_AMBIENT_COLOUR,
|
713
|
-
/// Surface diffuse colour, as set in Pass::setDiffuse
|
714
|
-
ACT_SURFACE_DIFFUSE_COLOUR,
|
715
|
-
/// Surface specular colour, as set in Pass::setSpecular
|
716
|
-
ACT_SURFACE_SPECULAR_COLOUR,
|
717
|
-
/// Surface emissive colour, as set in Pass::setSelfIllumination
|
718
|
-
ACT_SURFACE_EMISSIVE_COLOUR,
|
719
|
-
/// Surface shininess, as set in Pass::setShininess
|
720
|
-
ACT_SURFACE_SHININESS,
|
721
|
-
|
722
|
-
|
723
|
-
/// The number of active light sources (better than gl_MaxLights)
|
724
|
-
ACT_LIGHT_COUNT,
|
725
|
-
|
726
|
-
|
727
|
-
/// The ambient light colour set in the scene
|
728
|
-
ACT_AMBIENT_LIGHT_COLOUR,
|
729
|
-
|
730
|
-
/// Light diffuse colour (index determined by setAutoConstant call)
|
731
|
-
ACT_LIGHT_DIFFUSE_COLOUR,
|
732
|
-
/// Light specular colour (index determined by setAutoConstant call)
|
733
|
-
ACT_LIGHT_SPECULAR_COLOUR,
|
734
|
-
/// Light attenuation parameters, Vector4(range, constant, linear, quadric)
|
735
|
-
ACT_LIGHT_ATTENUATION,
|
736
|
-
/** Spotlight parameters, Vector4(innerFactor, outerFactor, falloff, isSpot)
|
737
|
-
innerFactor and outerFactor are cos(angle/2)
|
738
|
-
The isSpot parameter is 0.0f for non-spotlights, 1.0f for spotlights.
|
739
|
-
Also for non-spotlights the inner and outer factors are 1 and nearly 1 respectively
|
740
|
-
*/
|
741
|
-
ACT_SPOTLIGHT_PARAMS,
|
742
|
-
/// A light position in world space (index determined by setAutoConstant call)
|
743
|
-
ACT_LIGHT_POSITION,
|
744
|
-
/// A light position in object space (index determined by setAutoConstant call)
|
745
|
-
ACT_LIGHT_POSITION_OBJECT_SPACE,
|
746
|
-
/// A light position in view space (index determined by setAutoConstant call)
|
747
|
-
ACT_LIGHT_POSITION_VIEW_SPACE,
|
748
|
-
/// A light direction in world space (index determined by setAutoConstant call)
|
749
|
-
ACT_LIGHT_DIRECTION,
|
750
|
-
/// A light direction in object space (index determined by setAutoConstant call)
|
751
|
-
ACT_LIGHT_DIRECTION_OBJECT_SPACE,
|
752
|
-
/// A light direction in view space (index determined by setAutoConstant call)
|
753
|
-
ACT_LIGHT_DIRECTION_VIEW_SPACE,
|
754
|
-
/** The distance of the light from the center of the object
|
755
|
-
a useful approximation as an alternative to per-vertex distance
|
756
|
-
calculations.
|
757
|
-
*/
|
758
|
-
ACT_LIGHT_DISTANCE_OBJECT_SPACE,
|
759
|
-
/** Light power level, a single scalar as set in Light::setPowerScale (index determined by setAutoConstant call) */
|
760
|
-
ACT_LIGHT_POWER_SCALE,
|
761
|
-
/// Light diffuse colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
|
762
|
-
ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED,
|
763
|
-
/// Light specular colour pre-scaled by Light::setPowerScale (index determined by setAutoConstant call)
|
764
|
-
ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED,
|
765
|
-
/// Array of light diffuse colours (count set by extra param)
|
766
|
-
ACT_LIGHT_DIFFUSE_COLOUR_ARRAY,
|
767
|
-
/// Array of light specular colours (count set by extra param)
|
768
|
-
ACT_LIGHT_SPECULAR_COLOUR_ARRAY,
|
769
|
-
/// Array of light diffuse colours scaled by light power (count set by extra param)
|
770
|
-
ACT_LIGHT_DIFFUSE_COLOUR_POWER_SCALED_ARRAY,
|
771
|
-
/// Array of light specular colours scaled by light power (count set by extra param)
|
772
|
-
ACT_LIGHT_SPECULAR_COLOUR_POWER_SCALED_ARRAY,
|
773
|
-
/// Array of light attenuation parameters, Vector4(range, constant, linear, quadric) (count set by extra param)
|
774
|
-
ACT_LIGHT_ATTENUATION_ARRAY,
|
775
|
-
/// Array of light positions in world space (count set by extra param)
|
776
|
-
ACT_LIGHT_POSITION_ARRAY,
|
777
|
-
/// Array of light positions in object space (count set by extra param)
|
778
|
-
ACT_LIGHT_POSITION_OBJECT_SPACE_ARRAY,
|
779
|
-
/// Array of light positions in view space (count set by extra param)
|
780
|
-
ACT_LIGHT_POSITION_VIEW_SPACE_ARRAY,
|
781
|
-
/// Array of light directions in world space (count set by extra param)
|
782
|
-
ACT_LIGHT_DIRECTION_ARRAY,
|
783
|
-
/// Array of light directions in object space (count set by extra param)
|
784
|
-
ACT_LIGHT_DIRECTION_OBJECT_SPACE_ARRAY,
|
785
|
-
/// Array of light directions in view space (count set by extra param)
|
786
|
-
ACT_LIGHT_DIRECTION_VIEW_SPACE_ARRAY,
|
787
|
-
/** Array of distances of the lights from the center of the object
|
788
|
-
a useful approximation as an alternative to per-vertex distance
|
789
|
-
calculations. (count set by extra param)
|
790
|
-
*/
|
791
|
-
ACT_LIGHT_DISTANCE_OBJECT_SPACE_ARRAY,
|
792
|
-
/** Array of light power levels, a single scalar as set in Light::setPowerScale
|
793
|
-
(count set by extra param)
|
794
|
-
*/
|
795
|
-
ACT_LIGHT_POWER_SCALE_ARRAY,
|
796
|
-
/** Spotlight parameters array of Vector4(innerFactor, outerFactor, falloff, isSpot)
|
797
|
-
innerFactor and outerFactor are cos(angle/2)
|
798
|
-
The isSpot parameter is 0.0f for non-spotlights, 1.0f for spotlights.
|
799
|
-
Also for non-spotlights the inner and outer factors are 1 and nearly 1 respectively.
|
800
|
-
(count set by extra param)
|
801
|
-
*/
|
802
|
-
ACT_SPOTLIGHT_PARAMS_ARRAY,
|
803
|
-
|
804
|
-
/** The derived ambient light colour, with 'r', 'g', 'b' components filled with
|
805
|
-
product of surface ambient colour and ambient light colour, respectively,
|
806
|
-
and 'a' component filled with surface ambient alpha component.
|
807
|
-
*/
|
808
|
-
ACT_DERIVED_AMBIENT_LIGHT_COLOUR,
|
809
|
-
/** The derived scene colour, with 'r', 'g' and 'b' components filled with sum
|
810
|
-
of derived ambient light colour and surface emissive colour, respectively,
|
811
|
-
and 'a' component filled with surface diffuse alpha component.
|
812
|
-
*/
|
813
|
-
ACT_DERIVED_SCENE_COLOUR,
|
814
|
-
|
815
|
-
/** The derived light diffuse colour (index determined by setAutoConstant call),
|
816
|
-
with 'r', 'g' and 'b' components filled with product of surface diffuse colour,
|
817
|
-
light power scale and light diffuse colour, respectively, and 'a' component filled with surface
|
818
|
-
diffuse alpha component.
|
819
|
-
*/
|
820
|
-
ACT_DERIVED_LIGHT_DIFFUSE_COLOUR,
|
821
|
-
/** The derived light specular colour (index determined by setAutoConstant call),
|
822
|
-
with 'r', 'g' and 'b' components filled with product of surface specular colour
|
823
|
-
and light specular colour, respectively, and 'a' component filled with surface
|
824
|
-
specular alpha component.
|
825
|
-
*/
|
826
|
-
ACT_DERIVED_LIGHT_SPECULAR_COLOUR,
|
827
|
-
|
828
|
-
/// Array of derived light diffuse colours (count set by extra param)
|
829
|
-
ACT_DERIVED_LIGHT_DIFFUSE_COLOUR_ARRAY,
|
830
|
-
/// Array of derived light specular colours (count set by extra param)
|
831
|
-
ACT_DERIVED_LIGHT_SPECULAR_COLOUR_ARRAY,
|
832
|
-
/** The absolute light number of a local light index. Each pass may have
|
833
|
-
a number of lights passed to it, and each of these lights will have
|
834
|
-
an index in the overall light list, which will differ from the local
|
835
|
-
light index due to factors like setStartLight and setIteratePerLight.
|
836
|
-
This binding provides the global light index for a local index.
|
837
|
-
*/
|
838
|
-
ACT_LIGHT_NUMBER,
|
839
|
-
/// Returns (int) 1 if the given light casts shadows, 0 otherwise (index set in extra param)
|
840
|
-
ACT_LIGHT_CASTS_SHADOWS,
|
841
|
-
|
842
|
-
|
843
|
-
/** The distance a shadow volume should be extruded when using
|
844
|
-
finite extrusion programs.
|
845
|
-
*/
|
846
|
-
ACT_SHADOW_EXTRUSION_DISTANCE,
|
847
|
-
/// The current camera's position in world space
|
848
|
-
ACT_CAMERA_POSITION,
|
849
|
-
/// The current camera's position in object space
|
850
|
-
ACT_CAMERA_POSITION_OBJECT_SPACE,
|
851
|
-
/// The view/projection matrix of the assigned texture projection frustum
|
852
|
-
ACT_TEXTURE_VIEWPROJ_MATRIX,
|
853
|
-
/// Array of view/projection matrices of the first n texture projection frustums
|
854
|
-
ACT_TEXTURE_VIEWPROJ_MATRIX_ARRAY,
|
855
|
-
/** The view/projection matrix of the assigned texture projection frustum,
|
856
|
-
combined with the current world matrix
|
857
|
-
*/
|
858
|
-
ACT_TEXTURE_WORLDVIEWPROJ_MATRIX,
|
859
|
-
/// Array of world/view/projection matrices of the first n texture projection frustums
|
860
|
-
ACT_TEXTURE_WORLDVIEWPROJ_MATRIX_ARRAY,
|
861
|
-
/// The view/projection matrix of a given spotlight
|
862
|
-
ACT_SPOTLIGHT_VIEWPROJ_MATRIX,
|
863
|
-
/// Array of view/projection matrix of a given spotlight
|
864
|
-
ACT_SPOTLIGHT_VIEWPROJ_MATRIX_ARRAY,
|
865
|
-
/** The view/projection matrix of a given spotlight projection frustum,
|
866
|
-
combined with the current world matrix
|
867
|
-
*/
|
868
|
-
ACT_SPOTLIGHT_WORLDVIEWPROJ_MATRIX,
|
869
|
-
/// A custom parameter which will come from the renderable, using 'data' as the identifier
|
870
|
-
ACT_CUSTOM,
|
871
|
-
/** provides current elapsed time
|
872
|
-
*/
|
873
|
-
ACT_TIME,
|
874
|
-
/** Single float value, which repeats itself based on given as
|
875
|
-
parameter "cycle time". Equivalent to RenderMonkey's "Time0_X".
|
876
|
-
*/
|
877
|
-
ACT_TIME_0_X,
|
878
|
-
/// Cosine of "Time0_X". Equivalent to RenderMonkey's "CosTime0_X".
|
879
|
-
ACT_COSTIME_0_X,
|
880
|
-
/// Sine of "Time0_X". Equivalent to RenderMonkey's "SinTime0_X".
|
881
|
-
ACT_SINTIME_0_X,
|
882
|
-
/// Tangent of "Time0_X". Equivalent to RenderMonkey's "TanTime0_X".
|
883
|
-
ACT_TANTIME_0_X,
|
884
|
-
/** Vector of "Time0_X", "SinTime0_X", "CosTime0_X",
|
885
|
-
"TanTime0_X". Equivalent to RenderMonkey's "Time0_X_Packed".
|
886
|
-
*/
|
887
|
-
ACT_TIME_0_X_PACKED,
|
888
|
-
/** Single float value, which represents scaled time value [0..1],
|
889
|
-
which repeats itself based on given as parameter "cycle time".
|
890
|
-
Equivalent to RenderMonkey's "Time0_1".
|
891
|
-
*/
|
892
|
-
ACT_TIME_0_1,
|
893
|
-
/// Cosine of "Time0_1". Equivalent to RenderMonkey's "CosTime0_1".
|
894
|
-
ACT_COSTIME_0_1,
|
895
|
-
/// Sine of "Time0_1". Equivalent to RenderMonkey's "SinTime0_1".
|
896
|
-
ACT_SINTIME_0_1,
|
897
|
-
/// Tangent of "Time0_1". Equivalent to RenderMonkey's "TanTime0_1".
|
898
|
-
ACT_TANTIME_0_1,
|
899
|
-
/** Vector of "Time0_1", "SinTime0_1", "CosTime0_1",
|
900
|
-
"TanTime0_1". Equivalent to RenderMonkey's "Time0_1_Packed".
|
901
|
-
*/
|
902
|
-
ACT_TIME_0_1_PACKED,
|
903
|
-
/** Single float value, which represents scaled time value [0..2*Pi],
|
904
|
-
which repeats itself based on given as parameter "cycle time".
|
905
|
-
Equivalent to RenderMonkey's "Time0_2PI".
|
906
|
-
*/
|
907
|
-
ACT_TIME_0_2PI,
|
908
|
-
/// Cosine of "Time0_2PI". Equivalent to RenderMonkey's "CosTime0_2PI".
|
909
|
-
ACT_COSTIME_0_2PI,
|
910
|
-
/// Sine of "Time0_2PI". Equivalent to RenderMonkey's "SinTime0_2PI".
|
911
|
-
ACT_SINTIME_0_2PI,
|
912
|
-
/// Tangent of "Time0_2PI". Equivalent to RenderMonkey's "TanTime0_2PI".
|
913
|
-
ACT_TANTIME_0_2PI,
|
914
|
-
/** Vector of "Time0_2PI", "SinTime0_2PI", "CosTime0_2PI",
|
915
|
-
"TanTime0_2PI". Equivalent to RenderMonkey's "Time0_2PI_Packed".
|
916
|
-
*/
|
917
|
-
ACT_TIME_0_2PI_PACKED,
|
918
|
-
/// provides the scaled frame time, returned as a floating point value.
|
919
|
-
ACT_FRAME_TIME,
|
920
|
-
/// provides the calculated frames per second, returned as a floating point value.
|
921
|
-
ACT_FPS,
|
922
|
-
/// viewport-related values
|
923
|
-
/** Current viewport width (in pixels) as floating point value.
|
924
|
-
Equivalent to RenderMonkey's "ViewportWidth".
|
925
|
-
*/
|
926
|
-
ACT_VIEWPORT_WIDTH,
|
927
|
-
/** Current viewport height (in pixels) as floating point value.
|
928
|
-
Equivalent to RenderMonkey's "ViewportHeight".
|
929
|
-
*/
|
930
|
-
ACT_VIEWPORT_HEIGHT,
|
931
|
-
/** This variable represents 1.0/ViewportWidth.
|
932
|
-
Equivalent to RenderMonkey's "ViewportWidthInverse".
|
933
|
-
*/
|
934
|
-
ACT_INVERSE_VIEWPORT_WIDTH,
|
935
|
-
/** This variable represents 1.0/ViewportHeight.
|
936
|
-
Equivalent to RenderMonkey's "ViewportHeightInverse".
|
937
|
-
*/
|
938
|
-
ACT_INVERSE_VIEWPORT_HEIGHT,
|
939
|
-
/** Packed of "ViewportWidth", "ViewportHeight", "ViewportWidthInverse",
|
940
|
-
"ViewportHeightInverse".
|
941
|
-
*/
|
942
|
-
ACT_VIEWPORT_SIZE,
|
943
|
-
|
944
|
-
/// view parameters
|
945
|
-
/** This variable provides the view direction vector (world space).
|
946
|
-
Equivalent to RenderMonkey's "ViewDirection".
|
947
|
-
*/
|
948
|
-
ACT_VIEW_DIRECTION,
|
949
|
-
/** This variable provides the view side vector (world space).
|
950
|
-
Equivalent to RenderMonkey's "ViewSideVector".
|
951
|
-
*/
|
952
|
-
ACT_VIEW_SIDE_VECTOR,
|
953
|
-
/** This variable provides the view up vector (world space).
|
954
|
-
Equivalent to RenderMonkey's "ViewUpVector".
|
955
|
-
*/
|
956
|
-
ACT_VIEW_UP_VECTOR,
|
957
|
-
/** This variable provides the field of view as a floating point value.
|
958
|
-
Equivalent to RenderMonkey's "FOV".
|
959
|
-
*/
|
960
|
-
ACT_FOV,
|
961
|
-
/** This variable provides the near clip distance as a floating point value.
|
962
|
-
Equivalent to RenderMonkey's "NearClipPlane".
|
963
|
-
*/
|
964
|
-
ACT_NEAR_CLIP_DISTANCE,
|
965
|
-
/** This variable provides the far clip distance as a floating point value.
|
966
|
-
Equivalent to RenderMonkey's "FarClipPlane".
|
967
|
-
*/
|
968
|
-
ACT_FAR_CLIP_DISTANCE,
|
969
|
-
|
970
|
-
/** provides the pass index number within the technique
|
971
|
-
of the active materil.
|
972
|
-
*/
|
973
|
-
ACT_PASS_NUMBER,
|
974
|
-
|
975
|
-
/** provides the current iteration number of the pass. The iteration
|
976
|
-
number is the number of times the current render operation has
|
977
|
-
been drawn for the active pass.
|
978
|
-
*/
|
979
|
-
ACT_PASS_ITERATION_NUMBER,
|
980
|
-
|
981
|
-
|
982
|
-
/** Provides a parametric animation value [0..1], only available
|
983
|
-
where the renderable specifically implements it.
|
984
|
-
*/
|
985
|
-
ACT_ANIMATION_PARAMETRIC,
|
986
|
-
|
987
|
-
/** Provides the texel offsets required by this rendersystem to map
|
988
|
-
texels to pixels. Packed as
|
989
|
-
float4(absoluteHorizontalOffset, absoluteVerticalOffset,
|
990
|
-
horizontalOffset / viewportWidth, verticalOffset / viewportHeight)
|
991
|
-
*/
|
992
|
-
ACT_TEXEL_OFFSETS,
|
993
|
-
|
994
|
-
/** Provides information about the depth range of the scene as viewed
|
995
|
-
from the current camera.
|
996
|
-
Passed as float4(minDepth, maxDepth, depthRange, 1 / depthRange)
|
997
|
-
*/
|
998
|
-
ACT_SCENE_DEPTH_RANGE,
|
999
|
-
|
1000
|
-
/** Provides information about the depth range of the scene as viewed
|
1001
|
-
from a given shadow camera. Requires an index parameter which maps
|
1002
|
-
to a light index relative to the current light list.
|
1003
|
-
Passed as float4(minDepth, maxDepth, depthRange, 1 / depthRange)
|
1004
|
-
*/
|
1005
|
-
ACT_SHADOW_SCENE_DEPTH_RANGE,
|
1006
|
-
|
1007
|
-
/** Provides the fixed shadow colour as configured via SceneManager::setShadowColour;
|
1008
|
-
useful for integrated modulative shadows.
|
1009
|
-
*/
|
1010
|
-
ACT_SHADOW_COLOUR,
|
1011
|
-
/** Provides texture size of the texture unit (index determined by setAutoConstant
|
1012
|
-
call). Packed as float4(width, height, depth, 1)
|
1013
|
-
*/
|
1014
|
-
ACT_TEXTURE_SIZE,
|
1015
|
-
/** Provides inverse texture size of the texture unit (index determined by setAutoConstant
|
1016
|
-
call). Packed as float4(1 / width, 1 / height, 1 / depth, 1)
|
1017
|
-
*/
|
1018
|
-
ACT_INVERSE_TEXTURE_SIZE,
|
1019
|
-
/** Provides packed texture size of the texture unit (index determined by setAutoConstant
|
1020
|
-
call). Packed as float4(width, height, 1 / width, 1 / height)
|
1021
|
-
*/
|
1022
|
-
ACT_PACKED_TEXTURE_SIZE,
|
1023
|
-
|
1024
|
-
/** Provides the current transform matrix of the texture unit (index determined by setAutoConstant
|
1025
|
-
call), as seen by the fixed-function pipeline.
|
1026
|
-
*/
|
1027
|
-
ACT_TEXTURE_MATRIX,
|
1028
|
-
|
1029
|
-
/** Provides the position of the LOD camera in world space, allowing you
|
1030
|
-
to perform separate LOD calculations in shaders independent of the rendering
|
1031
|
-
camera. If there is no separate LOD camera then this is the real camera
|
1032
|
-
position. See Camera::setLodCamera.
|
1033
|
-
*/
|
1034
|
-
ACT_LOD_CAMERA_POSITION,
|
1035
|
-
/** Provides the position of the LOD camera in object space, allowing you
|
1036
|
-
to perform separate LOD calculations in shaders independent of the rendering
|
1037
|
-
camera. If there is no separate LOD camera then this is the real camera
|
1038
|
-
position. See Camera::setLodCamera.
|
1039
|
-
*/
|
1040
|
-
ACT_LOD_CAMERA_POSITION_OBJECT_SPACE,
|
1041
|
-
/** Binds custom per-light constants to the shaders. */
|
1042
|
-
ACT_LIGHT_CUSTOM
|
1043
|
-
};
|
1044
|
-
|
1045
|
-
/** Defines the type of the extra data item used by the auto constant.
|
1046
|
-
|
1047
|
-
*/
|
1048
|
-
enum ACDataType {
|
1049
|
-
/// no data is required
|
1050
|
-
ACDT_NONE,
|
1051
|
-
/// the auto constant requires data of type int
|
1052
|
-
ACDT_INT,
|
1053
|
-
/// the auto constant requires data of type real
|
1054
|
-
ACDT_REAL
|
1055
|
-
};
|
1056
|
-
|
1057
|
-
/** Defines the base element type of the auto constant
|
1058
|
-
*/
|
1059
|
-
enum ElementType {
|
1060
|
-
ET_INT,
|
1061
|
-
ET_REAL
|
1062
|
-
};
|
1063
|
-
|
1064
|
-
/** Structure defining an auto constant that's available for use in
|
1065
|
-
a parameters object.
|
1066
|
-
*/
|
1067
|
-
struct AutoConstantDefinition
|
1068
|
-
{
|
1069
|
-
AutoConstantType acType;
|
1070
|
-
String name;
|
1071
|
-
size_t elementCount;
|
1072
|
-
/// The type of the constant in the program
|
1073
|
-
ElementType elementType;
|
1074
|
-
/// The type of any extra data
|
1075
|
-
ACDataType dataType;
|
1076
|
-
|
1077
|
-
AutoConstantDefinition(AutoConstantType _acType, const String& _name,
|
1078
|
-
size_t _elementCount, ElementType _elementType,
|
1079
|
-
ACDataType _dataType)
|
1080
|
-
:acType(_acType), name(_name), elementCount(_elementCount),
|
1081
|
-
elementType(_elementType), dataType(_dataType)
|
1082
|
-
{
|
1083
|
-
|
1084
|
-
}
|
1085
|
-
};
|
1086
|
-
|
1087
|
-
/** Structure recording the use of an automatic parameter. */
|
1088
|
-
class AutoConstantEntry
|
1089
|
-
{
|
1090
|
-
public:
|
1091
|
-
/// The type of parameter
|
1092
|
-
AutoConstantType paramType;
|
1093
|
-
/// The target (physical) constant index
|
1094
|
-
size_t physicalIndex;
|
1095
|
-
/** The number of elements per individual entry in this constant
|
1096
|
-
Used in case people used packed elements smaller than 4 (e.g. GLSL)
|
1097
|
-
and bind an auto which is 4-element packed to it */
|
1098
|
-
size_t elementCount;
|
1099
|
-
/// Additional information to go with the parameter
|
1100
|
-
union{
|
1101
|
-
size_t data;
|
1102
|
-
Real fData;
|
1103
|
-
};
|
1104
|
-
/// The variability of this parameter (see GpuParamVariability)
|
1105
|
-
uint16 variability;
|
1106
|
-
|
1107
|
-
AutoConstantEntry(AutoConstantType theType, size_t theIndex, size_t theData,
|
1108
|
-
uint16 theVariability, size_t theElemCount = 4)
|
1109
|
-
: paramType(theType), physicalIndex(theIndex), elementCount(theElemCount),
|
1110
|
-
data(theData), variability(theVariability) {}
|
1111
|
-
|
1112
|
-
AutoConstantEntry(AutoConstantType theType, size_t theIndex, Real theData,
|
1113
|
-
uint16 theVariability, size_t theElemCount = 4)
|
1114
|
-
: paramType(theType), physicalIndex(theIndex), elementCount(theElemCount),
|
1115
|
-
fData(theData), variability(theVariability) {}
|
1116
|
-
|
1117
|
-
};
|
1118
|
-
// Auto parameter storage
|
1119
|
-
typedef vector<AutoConstantEntry>::type AutoConstantList;
|
1120
|
-
|
1121
|
-
typedef vector<GpuSharedParametersUsage>::type GpuSharedParamUsageList;
|
1122
|
-
|
1123
|
-
protected:
|
1124
|
-
static AutoConstantDefinition AutoConstantDictionary[];
|
1125
|
-
/// Packed list of floating-point constants (physical indexing)
|
1126
|
-
FloatConstantList mFloatConstants;
|
1127
|
-
/// Packed list of integer constants (physical indexing)
|
1128
|
-
IntConstantList mIntConstants;
|
1129
|
-
/** Logical index to physical index map - for low-level programs
|
1130
|
-
or high-level programs which pass params this way. */
|
1131
|
-
GpuLogicalBufferStructPtr mFloatLogicalToPhysical;
|
1132
|
-
/** Logical index to physical index map - for low-level programs
|
1133
|
-
or high-level programs which pass params this way. */
|
1134
|
-
GpuLogicalBufferStructPtr mIntLogicalToPhysical;
|
1135
|
-
/// Mapping from parameter names to def - high-level programs are expected to populate this
|
1136
|
-
GpuNamedConstantsPtr mNamedConstants;
|
1137
|
-
/// List of automatically updated parameters
|
1138
|
-
AutoConstantList mAutoConstants;
|
1139
|
-
/// The combined variability masks of all parameters
|
1140
|
-
uint16 mCombinedVariability;
|
1141
|
-
/// Do we need to transpose matrices?
|
1142
|
-
bool mTransposeMatrices;
|
1143
|
-
/// flag to indicate if names not found will be ignored
|
1144
|
-
bool mIgnoreMissingParams;
|
1145
|
-
/// physical index for active pass iteration parameter real constant entry;
|
1146
|
-
size_t mActivePassIterationIndex;
|
1147
|
-
|
1148
|
-
/** Gets the low-level structure for a logical index.
|
1149
|
-
*/
|
1150
|
-
GpuLogicalIndexUse* _getFloatConstantLogicalIndexUse(size_t logicalIndex, size_t requestedSize, uint16 variability);
|
1151
|
-
/** Gets the physical buffer index associated with a logical int constant index.
|
1152
|
-
*/
|
1153
|
-
GpuLogicalIndexUse* _getIntConstantLogicalIndexUse(size_t logicalIndex, size_t requestedSize, uint16 variability);
|
1154
|
-
|
1155
|
-
/// Return the variability for an auto constant
|
1156
|
-
uint16 deriveVariability(AutoConstantType act);
|
1157
|
-
|
1158
|
-
void copySharedParamSetUsage(const GpuSharedParamUsageList& srcList);
|
1159
|
-
|
1160
|
-
GpuSharedParamUsageList mSharedParamSets;
|
1161
|
-
|
1162
|
-
// Optional data the rendersystem might want to store
|
1163
|
-
mutable Any mRenderSystemData;
|
1164
|
-
|
1165
|
-
|
1166
|
-
|
1167
|
-
public:
|
1168
|
-
GpuProgramParameters();
|
1169
|
-
~GpuProgramParameters() {}
|
1170
|
-
|
1171
|
-
/// Copy constructor
|
1172
|
-
GpuProgramParameters(const GpuProgramParameters& oth);
|
1173
|
-
/// Operator = overload
|
1174
|
-
GpuProgramParameters& operator=(const GpuProgramParameters& oth);
|
1175
|
-
|
1176
|
-
/** Internal method for providing a link to a name->definition map for parameters. */
|
1177
|
-
void _setNamedConstants(const GpuNamedConstantsPtr& constantmap);
|
1178
|
-
|
1179
|
-
/** Internal method for providing a link to a logical index->physical index map for parameters. */
|
1180
|
-
void _setLogicalIndexes(const GpuLogicalBufferStructPtr& floatIndexMap,
|
1181
|
-
const GpuLogicalBufferStructPtr& intIndexMap);
|
1182
|
-
|
1183
|
-
|
1184
|
-
/// Does this parameter set include named parameters?
|
1185
|
-
bool hasNamedParameters() const { return !mNamedConstants.isNull(); }
|
1186
|
-
/** Does this parameter set include logically indexed parameters?
|
1187
|
-
@note Not mutually exclusive with hasNamedParameters since some high-level
|
1188
|
-
programs still use logical indexes to set the parameters on the
|
1189
|
-
rendersystem.
|
1190
|
-
*/
|
1191
|
-
bool hasLogicalIndexedParameters() const { return !mFloatLogicalToPhysical.isNull(); }
|
1192
|
-
|
1193
|
-
/** Sets a 4-element floating-point parameter to the program.
|
1194
|
-
@param index The logical constant index at which to place the parameter
|
1195
|
-
(each constant is a 4D float)
|
1196
|
-
@param vec The value to set
|
1197
|
-
*/
|
1198
|
-
void setConstant(size_t index, const Vector4& vec);
|
1199
|
-
/** Sets a single floating-point parameter to the program.
|
1200
|
-
@note This is actually equivalent to calling
|
1201
|
-
setConstant(index Vector4(val, 0, 0, 0)) since all constants are 4D.
|
1202
|
-
@param index The logical constant index at which to place the parameter (each constant is
|
1203
|
-
a 4D float)
|
1204
|
-
@param val The value to set
|
1205
|
-
*/
|
1206
|
-
void setConstant(size_t index, Real val);
|
1207
|
-
/** Sets a 4-element floating-point parameter to the program via Vector3.
|
1208
|
-
@param index The logical constant index at which to place the parameter (each constant is
|
1209
|
-
a 4D float).
|
1210
|
-
Note that since you're passing a Vector3, the last element of the 4-element
|
1211
|
-
value will be set to 1 (a homogeneous vector)
|
1212
|
-
@param vec The value to set
|
1213
|
-
*/
|
1214
|
-
void setConstant(size_t index, const Vector3& vec);
|
1215
|
-
/** Sets a Matrix4 parameter to the program.
|
1216
|
-
@param index The logical constant index at which to place the parameter (each constant is
|
1217
|
-
a 4D float).
|
1218
|
-
NB since a Matrix4 is 16 floats long, this parameter will take up 4 indexes.
|
1219
|
-
@param m The value to set
|
1220
|
-
*/
|
1221
|
-
void setConstant(size_t index, const Matrix4& m);
|
1222
|
-
/** Sets a list of Matrix4 parameters to the program.
|
1223
|
-
@param index The logical constant index at which to start placing the parameter (each constant is
|
1224
|
-
a 4D float).
|
1225
|
-
NB since a Matrix4 is 16 floats long, so each entry will take up 4 indexes.
|
1226
|
-
@param m Pointer to an array of matrices to set
|
1227
|
-
@param numEntries Number of Matrix4 entries
|
1228
|
-
*/
|
1229
|
-
void setConstant(size_t index, const Matrix4* m, size_t numEntries);
|
1230
|
-
/** Sets a multiple value constant floating-point parameter to the program.
|
1231
|
-
@param index The logical constant index at which to start placing parameters (each constant is
|
1232
|
-
a 4D float)
|
1233
|
-
@param val Pointer to the values to write, must contain 4*count floats
|
1234
|
-
@param count The number of groups of 4 floats to write
|
1235
|
-
*/
|
1236
|
-
void setConstant(size_t index, const float *val, size_t count);
|
1237
|
-
/** Sets a multiple value constant floating-point parameter to the program.
|
1238
|
-
@param index The logical constant index at which to start placing parameters (each constant is
|
1239
|
-
a 4D float)
|
1240
|
-
@param val Pointer to the values to write, must contain 4*count floats
|
1241
|
-
@param count The number of groups of 4 floats to write
|
1242
|
-
*/
|
1243
|
-
void setConstant(size_t index, const double *val, size_t count);
|
1244
|
-
/** Sets a ColourValue parameter to the program.
|
1245
|
-
@param index The logical constant index at which to place the parameter (each constant is
|
1246
|
-
a 4D float)
|
1247
|
-
@param colour The value to set
|
1248
|
-
*/
|
1249
|
-
void setConstant(size_t index, const ColourValue& colour);
|
1250
|
-
|
1251
|
-
/** Sets a multiple value constant integer parameter to the program.
|
1252
|
-
@remarks
|
1253
|
-
Different types of GPU programs support different types of constant parameters.
|
1254
|
-
For example, it's relatively common to find that vertex programs only support
|
1255
|
-
floating point constants, and that fragment programs only support integer (fixed point)
|
1256
|
-
parameters. This can vary depending on the program version supported by the
|
1257
|
-
graphics card being used. You should consult the documentation for the type of
|
1258
|
-
low level program you are using, or alternatively use the methods
|
1259
|
-
provided on RenderSystemCapabilities to determine the options.
|
1260
|
-
@param index The logical constant index at which to place the parameter (each constant is
|
1261
|
-
a 4D integer)
|
1262
|
-
@param val Pointer to the values to write, must contain 4*count ints
|
1263
|
-
@param count The number of groups of 4 ints to write
|
1264
|
-
*/
|
1265
|
-
void setConstant(size_t index, const int *val, size_t count);
|
1266
|
-
|
1267
|
-
/** Write a series of floating point values into the underlying float
|
1268
|
-
constant buffer at the given physical index.
|
1269
|
-
@param physicalIndex The buffer position to start writing
|
1270
|
-
@param val Pointer to a list of values to write
|
1271
|
-
@param count The number of floats to write
|
1272
|
-
*/
|
1273
|
-
void _writeRawConstants(size_t physicalIndex, const float* val, size_t count);
|
1274
|
-
/** Write a series of floating point values into the underlying float
|
1275
|
-
constant buffer at the given physical index.
|
1276
|
-
@param physicalIndex The buffer position to start writing
|
1277
|
-
@param val Pointer to a list of values to write
|
1278
|
-
@param count The number of floats to write
|
1279
|
-
*/
|
1280
|
-
void _writeRawConstants(size_t physicalIndex, const double* val, size_t count);
|
1281
|
-
/** Write a series of integer values into the underlying integer
|
1282
|
-
constant buffer at the given physical index.
|
1283
|
-
@param physicalIndex The buffer position to start writing
|
1284
|
-
@param val Pointer to a list of values to write
|
1285
|
-
@param count The number of ints to write
|
1286
|
-
*/
|
1287
|
-
void _writeRawConstants(size_t physicalIndex, const int* val, size_t count);
|
1288
|
-
/** Read a series of floating point values from the underlying float
|
1289
|
-
constant buffer at the given physical index.
|
1290
|
-
@param physicalIndex The buffer position to start reading
|
1291
|
-
@param count The number of floats to read
|
1292
|
-
@param dest Pointer to a buffer to receive the values
|
1293
|
-
*/
|
1294
|
-
void _readRawConstants(size_t physicalIndex, size_t count, float* dest);
|
1295
|
-
/** Read a series of integer values from the underlying integer
|
1296
|
-
constant buffer at the given physical index.
|
1297
|
-
@param physicalIndex The buffer position to start reading
|
1298
|
-
@param count The number of ints to read
|
1299
|
-
@param dest Pointer to a buffer to receive the values
|
1300
|
-
*/
|
1301
|
-
void _readRawConstants(size_t physicalIndex, size_t count, int* dest);
|
1302
|
-
|
1303
|
-
/** Write a 4-element floating-point parameter to the program directly to
|
1304
|
-
the underlying constants buffer.
|
1305
|
-
@note You can use these methods if you have already derived the physical
|
1306
|
-
constant buffer location, for a slight speed improvement over using
|
1307
|
-
the named / logical index versions.
|
1308
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1309
|
-
@param vec The value to set
|
1310
|
-
@param count The number of floats to write; if for example
|
1311
|
-
the uniform constant 'slot' is smaller than a Vector4
|
1312
|
-
*/
|
1313
|
-
void _writeRawConstant(size_t physicalIndex, const Vector4& vec,
|
1314
|
-
size_t count = 4);
|
1315
|
-
/** Write a single floating-point parameter to the program.
|
1316
|
-
@note You can use these methods if you have already derived the physical
|
1317
|
-
constant buffer location, for a slight speed improvement over using
|
1318
|
-
the named / logical index versions.
|
1319
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1320
|
-
@param val The value to set
|
1321
|
-
*/
|
1322
|
-
void _writeRawConstant(size_t physicalIndex, Real val);
|
1323
|
-
/** Write a single integer parameter to the program.
|
1324
|
-
@note You can use these methods if you have already derived the physical
|
1325
|
-
constant buffer location, for a slight speed improvement over using
|
1326
|
-
the named / logical index versions.
|
1327
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1328
|
-
@param val The value to set
|
1329
|
-
*/
|
1330
|
-
void _writeRawConstant(size_t physicalIndex, int val);
|
1331
|
-
/** Write a 3-element floating-point parameter to the program via Vector3.
|
1332
|
-
@note You can use these methods if you have already derived the physical
|
1333
|
-
constant buffer location, for a slight speed improvement over using
|
1334
|
-
the named / logical index versions.
|
1335
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1336
|
-
@param vec The value to set
|
1337
|
-
*/
|
1338
|
-
void _writeRawConstant(size_t physicalIndex, const Vector3& vec);
|
1339
|
-
/** Write a Matrix4 parameter to the program.
|
1340
|
-
@note You can use these methods if you have already derived the physical
|
1341
|
-
constant buffer location, for a slight speed improvement over using
|
1342
|
-
the named / logical index versions.
|
1343
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1344
|
-
@param m The value to set
|
1345
|
-
@param elementCount actual element count used with shader
|
1346
|
-
*/
|
1347
|
-
void _writeRawConstant(size_t physicalIndex, const Matrix4& m, size_t elementCount);
|
1348
|
-
/** Write a list of Matrix4 parameters to the program.
|
1349
|
-
@note You can use these methods if you have already derived the physical
|
1350
|
-
constant buffer location, for a slight speed improvement over using
|
1351
|
-
the named / logical index versions.
|
1352
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1353
|
-
@param numEntries Number of Matrix4 entries
|
1354
|
-
*/
|
1355
|
-
void _writeRawConstant(size_t physicalIndex, const Matrix4* m, size_t numEntries);
|
1356
|
-
/** Write a ColourValue parameter to the program.
|
1357
|
-
@note You can use these methods if you have already derived the physical
|
1358
|
-
constant buffer location, for a slight speed improvement over using
|
1359
|
-
the named / logical index versions.
|
1360
|
-
@param physicalIndex The physical buffer index at which to place the parameter
|
1361
|
-
@param colour The value to set
|
1362
|
-
@param count The number of floats to write; if for example
|
1363
|
-
the uniform constant 'slot' is smaller than a Vector4
|
1364
|
-
*/
|
1365
|
-
void _writeRawConstant(size_t physicalIndex, const ColourValue& colour,
|
1366
|
-
size_t count = 4);
|
1367
|
-
|
1368
|
-
|
1369
|
-
/** Gets an iterator over the named GpuConstantDefinition instances as defined
|
1370
|
-
by the program for which these parameters exist.
|
1371
|
-
@note
|
1372
|
-
Only available if this parameters object has named parameters.
|
1373
|
-
*/
|
1374
|
-
GpuConstantDefinitionIterator getConstantDefinitionIterator(void) const;
|
1375
|
-
|
1376
|
-
/** Get a specific GpuConstantDefinition for a named parameter.
|
1377
|
-
@note
|
1378
|
-
Only available if this parameters object has named parameters.
|
1379
|
-
*/
|
1380
|
-
const GpuConstantDefinition& getConstantDefinition(const String& name) const;
|
1381
|
-
|
1382
|
-
/** Get the full list of GpuConstantDefinition instances.
|
1383
|
-
@note
|
1384
|
-
Only available if this parameters object has named parameters.
|
1385
|
-
*/
|
1386
|
-
const GpuNamedConstants& getConstantDefinitions() const;
|
1387
|
-
|
1388
|
-
/** Get the current list of mappings from low-level logical param indexes
|
1389
|
-
to physical buffer locations in the float buffer.
|
1390
|
-
@note
|
1391
|
-
Only applicable to low-level programs.
|
1392
|
-
*/
|
1393
|
-
const GpuLogicalBufferStructPtr& getFloatLogicalBufferStruct() const { return mFloatLogicalToPhysical; }
|
1394
|
-
|
1395
|
-
/** Retrieves the logical index relating to a physical index in the float
|
1396
|
-
buffer, for programs which support that (low-level programs and
|
1397
|
-
high-level programs which use logical parameter indexes).
|
1398
|
-
@return std::numeric_limits<size_t>::max() if not found
|
1399
|
-
*/
|
1400
|
-
size_t getFloatLogicalIndexForPhysicalIndex(size_t physicalIndex);
|
1401
|
-
/** Retrieves the logical index relating to a physical index in the int
|
1402
|
-
buffer, for programs which support that (low-level programs and
|
1403
|
-
high-level programs which use logical parameter indexes).
|
1404
|
-
@return std::numeric_limits<size_t>::max() if not found
|
1405
|
-
*/
|
1406
|
-
size_t getIntLogicalIndexForPhysicalIndex(size_t physicalIndex);
|
1407
|
-
|
1408
|
-
/** Get the current list of mappings from low-level logical param indexes
|
1409
|
-
to physical buffer locations in the integer buffer.
|
1410
|
-
@note
|
1411
|
-
Only applicable to low-level programs.
|
1412
|
-
*/
|
1413
|
-
const GpuLogicalBufferStructPtr& getIntLogicalBufferStruct() const { return mIntLogicalToPhysical; }
|
1414
|
-
/// Get a reference to the list of float constants
|
1415
|
-
const FloatConstantList& getFloatConstantList() const { return mFloatConstants; }
|
1416
|
-
/// Get a pointer to the 'nth' item in the float buffer
|
1417
|
-
float* getFloatPointer(size_t pos) { return &mFloatConstants[pos]; }
|
1418
|
-
/// Get a pointer to the 'nth' item in the float buffer
|
1419
|
-
const float* getFloatPointer(size_t pos) const { return &mFloatConstants[pos]; }
|
1420
|
-
/// Get a reference to the list of int constants
|
1421
|
-
const IntConstantList& getIntConstantList() const { return mIntConstants; }
|
1422
|
-
/// Get a pointer to the 'nth' item in the int buffer
|
1423
|
-
int* getIntPointer(size_t pos) { return &mIntConstants[pos]; }
|
1424
|
-
/// Get a pointer to the 'nth' item in the int buffer
|
1425
|
-
const int* getIntPointer(size_t pos) const { return &mIntConstants[pos]; }
|
1426
|
-
/// Get a reference to the list of auto constant bindings
|
1427
|
-
const AutoConstantList& getAutoConstantList() const { return mAutoConstants; }
|
1428
|
-
|
1429
|
-
/** Sets up a constant which will automatically be updated by the system.
|
1430
|
-
@remarks
|
1431
|
-
Vertex and fragment programs often need parameters which are to do with the
|
1432
|
-
current render state, or particular values which may very well change over time,
|
1433
|
-
and often between objects which are being rendered. This feature allows you
|
1434
|
-
to set up a certain number of predefined parameter mappings that are kept up to
|
1435
|
-
date for you.
|
1436
|
-
@param index The location in the constant list to place this updated constant every time
|
1437
|
-
it is changed. Note that because of the nature of the types, we know how big the
|
1438
|
-
parameter details will be so you don't need to set that like you do for manual constants.
|
1439
|
-
@param acType The type of automatic constant to set
|
1440
|
-
@param extraInfo If the constant type needs more information (like a light index) put it here.
|
1441
|
-
*/
|
1442
|
-
void setAutoConstant(size_t index, AutoConstantType acType, size_t extraInfo = 0);
|
1443
|
-
void setAutoConstantReal(size_t index, AutoConstantType acType, Real rData);
|
1444
|
-
|
1445
|
-
/** Sets up a constant which will automatically be updated by the system.
|
1446
|
-
@remarks
|
1447
|
-
Vertex and fragment programs often need parameters which are to do with the
|
1448
|
-
current render state, or particular values which may very well change over time,
|
1449
|
-
and often between objects which are being rendered. This feature allows you
|
1450
|
-
to set up a certain number of predefined parameter mappings that are kept up to
|
1451
|
-
date for you.
|
1452
|
-
@param index The location in the constant list to place this updated constant every time
|
1453
|
-
it is changed. Note that because of the nature of the types, we know how big the
|
1454
|
-
parameter details will be so you don't need to set that like you do for manual constants.
|
1455
|
-
@param acType The type of automatic constant to set
|
1456
|
-
@param extraInfo1 The first extra parameter required by the auto constant type
|
1457
|
-
@param extraInfo2 The first extra parameter required by the auto constant type
|
1458
|
-
*/
|
1459
|
-
void setAutoConstant(size_t index, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2);
|
1460
|
-
|
1461
|
-
/** As setAutoConstant, but sets up the auto constant directly against a
|
1462
|
-
physical buffer index.
|
1463
|
-
*/
|
1464
|
-
void _setRawAutoConstant(size_t physicalIndex, AutoConstantType acType, size_t extraInfo,
|
1465
|
-
uint16 variability, size_t elementSize = 4);
|
1466
|
-
/** As setAutoConstantReal, but sets up the auto constant directly against a
|
1467
|
-
physical buffer index.
|
1468
|
-
*/
|
1469
|
-
void _setRawAutoConstantReal(size_t physicalIndex, AutoConstantType acType, Real rData,
|
1470
|
-
uint16 variability, size_t elementSize = 4);
|
1471
|
-
|
1472
|
-
|
1473
|
-
/** Unbind an auto constant so that the constant is manually controlled again. */
|
1474
|
-
void clearAutoConstant(size_t index);
|
1475
|
-
|
1476
|
-
/** Sets a named parameter up to track a derivation of the current time.
|
1477
|
-
@param index The index of the parameter
|
1478
|
-
@param factor The amount by which to scale the time value
|
1479
|
-
*/
|
1480
|
-
void setConstantFromTime(size_t index, Real factor);
|
1481
|
-
|
1482
|
-
/** Clears all the existing automatic constants. */
|
1483
|
-
void clearAutoConstants(void);
|
1484
|
-
typedef ConstVectorIterator<AutoConstantList> AutoConstantIterator;
|
1485
|
-
/** Gets an iterator over the automatic constant bindings currently in place. */
|
1486
|
-
AutoConstantIterator getAutoConstantIterator(void) const;
|
1487
|
-
/// Gets the number of int constants that have been set
|
1488
|
-
size_t getAutoConstantCount(void) const { return mAutoConstants.size(); }
|
1489
|
-
/** Gets a specific Auto Constant entry if index is in valid range
|
1490
|
-
otherwise returns a NULL
|
1491
|
-
@param index which entry is to be retrieved
|
1492
|
-
*/
|
1493
|
-
AutoConstantEntry* getAutoConstantEntry(const size_t index);
|
1494
|
-
/** Returns true if this instance has any automatic constants. */
|
1495
|
-
bool hasAutoConstants(void) const { return !(mAutoConstants.empty()); }
|
1496
|
-
/** Finds an auto constant that's affecting a given logical parameter
|
1497
|
-
index for floating-point values.
|
1498
|
-
@note Only applicable for low-level programs.
|
1499
|
-
*/
|
1500
|
-
const AutoConstantEntry* findFloatAutoConstantEntry(size_t logicalIndex);
|
1501
|
-
/** Finds an auto constant that's affecting a given logical parameter
|
1502
|
-
index for integer values.
|
1503
|
-
@note Only applicable for low-level programs.
|
1504
|
-
*/
|
1505
|
-
const AutoConstantEntry* findIntAutoConstantEntry(size_t logicalIndex);
|
1506
|
-
/** Finds an auto constant that's affecting a given named parameter index.
|
1507
|
-
@note Only applicable to high-level programs.
|
1508
|
-
*/
|
1509
|
-
const AutoConstantEntry* findAutoConstantEntry(const String& paramName);
|
1510
|
-
/** Finds an auto constant that's affecting a given physical position in
|
1511
|
-
the floating-point buffer
|
1512
|
-
*/
|
1513
|
-
const AutoConstantEntry* _findRawAutoConstantEntryFloat(size_t physicalIndex);
|
1514
|
-
/** Finds an auto constant that's affecting a given physical position in
|
1515
|
-
the integer buffer
|
1516
|
-
*/
|
1517
|
-
const AutoConstantEntry* _findRawAutoConstantEntryInt(size_t physicalIndex);
|
1518
|
-
|
1519
|
-
/** Update automatic parameters.
|
1520
|
-
@param source The source of the parameters
|
1521
|
-
@param variabilityMask A mask of GpuParamVariability which identifies which autos will need updating
|
1522
|
-
*/
|
1523
|
-
void _updateAutoParams(const AutoParamDataSource* source, uint16 variabilityMask);
|
1524
|
-
|
1525
|
-
/** Tells the program whether to ignore missing parameters or not.
|
1526
|
-
*/
|
1527
|
-
void setIgnoreMissingParams(bool state) { mIgnoreMissingParams = state; }
|
1528
|
-
|
1529
|
-
/** Sets a single value constant floating-point parameter to the program.
|
1530
|
-
@remarks
|
1531
|
-
Different types of GPU programs support different types of constant parameters.
|
1532
|
-
For example, it's relatively common to find that vertex programs only support
|
1533
|
-
floating point constants, and that fragment programs only support integer (fixed point)
|
1534
|
-
parameters. This can vary depending on the program version supported by the
|
1535
|
-
graphics card being used. You should consult the documentation for the type of
|
1536
|
-
low level program you are using, or alternatively use the methods
|
1537
|
-
provided on RenderSystemCapabilities to determine the options.
|
1538
|
-
@par
|
1539
|
-
Another possible limitation is that some systems only allow constants to be set
|
1540
|
-
on certain boundaries, e.g. in sets of 4 values for example. Again, see
|
1541
|
-
RenderSystemCapabilities for full details.
|
1542
|
-
@note
|
1543
|
-
This named option will only work if you are using a parameters object created
|
1544
|
-
from a high-level program (HighLevelGpuProgram).
|
1545
|
-
@param name The name of the parameter
|
1546
|
-
@param val The value to set
|
1547
|
-
*/
|
1548
|
-
void setNamedConstant(const String& name, Real val);
|
1549
|
-
/** Sets a single value constant integer parameter to the program.
|
1550
|
-
@remarks
|
1551
|
-
Different types of GPU programs support different types of constant parameters.
|
1552
|
-
For example, it's relatively common to find that vertex programs only support
|
1553
|
-
floating point constants, and that fragment programs only support integer (fixed point)
|
1554
|
-
parameters. This can vary depending on the program version supported by the
|
1555
|
-
graphics card being used. You should consult the documentation for the type of
|
1556
|
-
low level program you are using, or alternatively use the methods
|
1557
|
-
provided on RenderSystemCapabilities to determine the options.
|
1558
|
-
@par
|
1559
|
-
Another possible limitation is that some systems only allow constants to be set
|
1560
|
-
on certain boundaries, e.g. in sets of 4 values for example. Again, see
|
1561
|
-
RenderSystemCapabilities for full details.
|
1562
|
-
@note
|
1563
|
-
This named option will only work if you are using a parameters object created
|
1564
|
-
from a high-level program (HighLevelGpuProgram).
|
1565
|
-
@param name The name of the parameter
|
1566
|
-
@param val The value to set
|
1567
|
-
*/
|
1568
|
-
void setNamedConstant(const String& name, int val);
|
1569
|
-
/** Sets a Vector4 parameter to the program.
|
1570
|
-
@param name The name of the parameter
|
1571
|
-
@param vec The value to set
|
1572
|
-
*/
|
1573
|
-
void setNamedConstant(const String& name, const Vector4& vec);
|
1574
|
-
/** Sets a Vector3 parameter to the program.
|
1575
|
-
@note
|
1576
|
-
This named option will only work if you are using a parameters object created
|
1577
|
-
from a high-level program (HighLevelGpuProgram).
|
1578
|
-
@param index The index at which to place the parameter
|
1579
|
-
NB this index refers to the number of floats, so a Vector3 is 3. Note that many
|
1580
|
-
rendersystems & programs assume that every floating point parameter is passed in
|
1581
|
-
as a vector of 4 items, so you are strongly advised to check with
|
1582
|
-
RenderSystemCapabilities before using this version - if in doubt use Vector4
|
1583
|
-
or ColourValue instead (both are 4D).
|
1584
|
-
@param vec The value to set
|
1585
|
-
*/
|
1586
|
-
void setNamedConstant(const String& name, const Vector3& vec);
|
1587
|
-
/** Sets a Matrix4 parameter to the program.
|
1588
|
-
@param name The name of the parameter
|
1589
|
-
@param m The value to set
|
1590
|
-
*/
|
1591
|
-
void setNamedConstant(const String& name, const Matrix4& m);
|
1592
|
-
/** Sets a list of Matrix4 parameters to the program.
|
1593
|
-
@param name The name of the parameter; this must be the first index of an array,
|
1594
|
-
for examples 'matrices[0]'
|
1595
|
-
NB since a Matrix4 is 16 floats long, so each entry will take up 4 indexes.
|
1596
|
-
@param m Pointer to an array of matrices to set
|
1597
|
-
@param numEntries Number of Matrix4 entries
|
1598
|
-
*/
|
1599
|
-
void setNamedConstant(const String& name, const Matrix4* m, size_t numEntries);
|
1600
|
-
/** Sets a multiple value constant floating-point parameter to the program.
|
1601
|
-
@par
|
1602
|
-
Some systems only allow constants to be set on certain boundaries,
|
1603
|
-
e.g. in sets of 4 values for example. The 'multiple' parameter allows
|
1604
|
-
you to control that although you should only change it if you know
|
1605
|
-
your chosen language supports that (at the time of writing, only
|
1606
|
-
GLSL allows constants which are not a multiple of 4).
|
1607
|
-
@note
|
1608
|
-
This named option will only work if you are using a parameters object created
|
1609
|
-
from a high-level program (HighLevelGpuProgram).
|
1610
|
-
@param name The name of the parameter
|
1611
|
-
@param val Pointer to the values to write
|
1612
|
-
@param count The number of 'multiples' of floats to write
|
1613
|
-
@param multiple The number of raw entries in each element to write,
|
1614
|
-
the default is 4 so count = 1 would write 4 floats.
|
1615
|
-
*/
|
1616
|
-
void setNamedConstant(const String& name, const float *val, size_t count,
|
1617
|
-
size_t multiple = 4);
|
1618
|
-
/** Sets a multiple value constant floating-point parameter to the program.
|
1619
|
-
@par
|
1620
|
-
Some systems only allow constants to be set on certain boundaries,
|
1621
|
-
e.g. in sets of 4 values for example. The 'multiple' parameter allows
|
1622
|
-
you to control that although you should only change it if you know
|
1623
|
-
your chosen language supports that (at the time of writing, only
|
1624
|
-
GLSL allows constants which are not a multiple of 4).
|
1625
|
-
@note
|
1626
|
-
This named option will only work if you are using a parameters object created
|
1627
|
-
from a high-level program (HighLevelGpuProgram).
|
1628
|
-
@param name The name of the parameter
|
1629
|
-
@param val Pointer to the values to write
|
1630
|
-
@param count The number of 'multiples' of floats to write
|
1631
|
-
@param multiple The number of raw entries in each element to write,
|
1632
|
-
the default is 4 so count = 1 would write 4 floats.
|
1633
|
-
*/
|
1634
|
-
void setNamedConstant(const String& name, const double *val, size_t count,
|
1635
|
-
size_t multiple = 4);
|
1636
|
-
/** Sets a ColourValue parameter to the program.
|
1637
|
-
@param name The name of the parameter
|
1638
|
-
@param colour The value to set
|
1639
|
-
*/
|
1640
|
-
void setNamedConstant(const String& name, const ColourValue& colour);
|
1641
|
-
|
1642
|
-
/** Sets a multiple value constant floating-point parameter to the program.
|
1643
|
-
@par
|
1644
|
-
Some systems only allow constants to be set on certain boundaries,
|
1645
|
-
e.g. in sets of 4 values for example. The 'multiple' parameter allows
|
1646
|
-
you to control that although you should only change it if you know
|
1647
|
-
your chosen language supports that (at the time of writing, only
|
1648
|
-
GLSL allows constants which are not a multiple of 4).
|
1649
|
-
@note
|
1650
|
-
This named option will only work if you are using a parameters object created
|
1651
|
-
from a high-level program (HighLevelGpuProgram).
|
1652
|
-
@param name The name of the parameter
|
1653
|
-
@param val Pointer to the values to write
|
1654
|
-
@param count The number of 'multiples' of floats to write
|
1655
|
-
@param multiple The number of raw entries in each element to write,
|
1656
|
-
the default is 4 so count = 1 would write 4 floats.
|
1657
|
-
*/
|
1658
|
-
void setNamedConstant(const String& name, const int *val, size_t count,
|
1659
|
-
size_t multiple = 4);
|
1660
|
-
|
1661
|
-
/** Sets up a constant which will automatically be updated by the system.
|
1662
|
-
@remarks
|
1663
|
-
Vertex and fragment programs often need parameters which are to do with the
|
1664
|
-
current render state, or particular values which may very well change over time,
|
1665
|
-
and often between objects which are being rendered. This feature allows you
|
1666
|
-
to set up a certain number of predefined parameter mappings that are kept up to
|
1667
|
-
date for you.
|
1668
|
-
@note
|
1669
|
-
This named option will only work if you are using a parameters object created
|
1670
|
-
from a high-level program (HighLevelGpuProgram).
|
1671
|
-
@param name The name of the parameter
|
1672
|
-
@param acType The type of automatic constant to set
|
1673
|
-
@param extraInfo If the constant type needs more information (like a light index) put it here.
|
1674
|
-
*/
|
1675
|
-
void setNamedAutoConstant(const String& name, AutoConstantType acType, size_t extraInfo = 0);
|
1676
|
-
void setNamedAutoConstantReal(const String& name, AutoConstantType acType, Real rData);
|
1677
|
-
|
1678
|
-
/** Sets up a constant which will automatically be updated by the system.
|
1679
|
-
@remarks
|
1680
|
-
Vertex and fragment programs often need parameters which are to do with the
|
1681
|
-
current render state, or particular values which may very well change over time,
|
1682
|
-
and often between objects which are being rendered. This feature allows you
|
1683
|
-
to set up a certain number of predefined parameter mappings that are kept up to
|
1684
|
-
date for you.
|
1685
|
-
@note
|
1686
|
-
This named option will only work if you are using a parameters object created
|
1687
|
-
from a high-level program (HighLevelGpuProgram).
|
1688
|
-
@param name The name of the parameter
|
1689
|
-
@param acType The type of automatic constant to set
|
1690
|
-
@param extraInfo1 The first extra info required by this auto constant type
|
1691
|
-
@param extraInfo2 The first extra info required by this auto constant type
|
1692
|
-
*/
|
1693
|
-
void setNamedAutoConstant(const String& name, AutoConstantType acType, uint16 extraInfo1, uint16 extraInfo2);
|
1694
|
-
|
1695
|
-
/** Sets a named parameter up to track a derivation of the current time.
|
1696
|
-
@note
|
1697
|
-
This named option will only work if you are using a parameters object created
|
1698
|
-
from a high-level program (HighLevelGpuProgram).
|
1699
|
-
@param name The name of the parameter
|
1700
|
-
@param factor The amount by which to scale the time value
|
1701
|
-
*/
|
1702
|
-
void setNamedConstantFromTime(const String& name, Real factor);
|
1703
|
-
|
1704
|
-
/** Unbind an auto constant so that the constant is manually controlled again. */
|
1705
|
-
void clearNamedAutoConstant(const String& name);
|
1706
|
-
|
1707
|
-
/** Find a constant definition for a named parameter.
|
1708
|
-
@remarks
|
1709
|
-
This method returns null if the named parameter did not exist, unlike
|
1710
|
-
getConstantDefinition which is more strict; unless you set the
|
1711
|
-
last parameter to true.
|
1712
|
-
@param name The name to look up
|
1713
|
-
@param throwExceptionIfMissing If set to true, failure to find an entry
|
1714
|
-
will throw an exception.
|
1715
|
-
*/
|
1716
|
-
const GpuConstantDefinition* _findNamedConstantDefinition(
|
1717
|
-
const String& name, bool throwExceptionIfMissing = false) const;
|
1718
|
-
/** Gets the physical buffer index associated with a logical float constant index.
|
1719
|
-
@note Only applicable to low-level programs.
|
1720
|
-
@param logicalIndex The logical parameter index
|
1721
|
-
@param requestedSize The requested size - pass 0 to ignore missing entries
|
1722
|
-
and return std::numeric_limits<size_t>::max()
|
1723
|
-
*/
|
1724
|
-
size_t _getFloatConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability);
|
1725
|
-
/** Gets the physical buffer index associated with a logical int constant index.
|
1726
|
-
@note Only applicable to low-level programs.
|
1727
|
-
@param logicalIndex The logical parameter index
|
1728
|
-
@param requestedSize The requested size - pass 0 to ignore missing entries
|
1729
|
-
and return std::numeric_limits<size_t>::max()
|
1730
|
-
*/
|
1731
|
-
size_t _getIntConstantPhysicalIndex(size_t logicalIndex, size_t requestedSize, uint16 variability);
|
1732
|
-
|
1733
|
-
/** Sets whether or not we need to transpose the matrices passed in from the rest of OGRE.
|
1734
|
-
@remarks
|
1735
|
-
D3D uses transposed matrices compared to GL and OGRE; this is not important when you
|
1736
|
-
use programs which are written to process row-major matrices, such as those generated
|
1737
|
-
by Cg, but if you use a program written to D3D's matrix layout you will need to enable
|
1738
|
-
this flag.
|
1739
|
-
*/
|
1740
|
-
void setTransposeMatrices(bool val) { mTransposeMatrices = val; }
|
1741
|
-
/// Gets whether or not matrices are to be transposed when set
|
1742
|
-
bool getTransposeMatrices(void) const { return mTransposeMatrices; }
|
1743
|
-
|
1744
|
-
/** Copies the values of all constants (including auto constants) from another
|
1745
|
-
GpuProgramParameters object.
|
1746
|
-
@note This copes the internal storage of the paarameters object and therefore
|
1747
|
-
can only be used for parameters objects created from the same GpuProgram.
|
1748
|
-
To merge parameters that match from different programs, use copyMatchingNamedConstantsFrom.
|
1749
|
-
*/
|
1750
|
-
void copyConstantsFrom(const GpuProgramParameters& source);
|
1751
|
-
|
1752
|
-
/** Copies the values of all matching named constants (including auto constants) from
|
1753
|
-
another GpuProgramParameters object.
|
1754
|
-
@remarks
|
1755
|
-
This method iterates over the named constants in another parameters object
|
1756
|
-
and copies across the values where they match. This method is safe to
|
1757
|
-
use when the 2 parameters objects came from different programs, but only
|
1758
|
-
works for named parameters.
|
1759
|
-
*/
|
1760
|
-
void copyMatchingNamedConstantsFrom(const GpuProgramParameters& source);
|
1761
|
-
|
1762
|
-
/** gets the auto constant definition associated with name if found else returns NULL
|
1763
|
-
@param name The name of the auto constant
|
1764
|
-
*/
|
1765
|
-
static const AutoConstantDefinition* getAutoConstantDefinition(const String& name);
|
1766
|
-
/** gets the auto constant definition using an index into the auto constant definition array.
|
1767
|
-
If the index is out of bounds then NULL is returned;
|
1768
|
-
@param idx The auto constant index
|
1769
|
-
*/
|
1770
|
-
static const AutoConstantDefinition* getAutoConstantDefinition(const size_t idx);
|
1771
|
-
/** Returns the number of auto constant definitions
|
1772
|
-
*/
|
1773
|
-
static size_t getNumAutoConstantDefinitions(void);
|
1774
|
-
|
1775
|
-
|
1776
|
-
/** increments the multipass number entry by 1 if it exists
|
1777
|
-
*/
|
1778
|
-
void incPassIterationNumber(void);
|
1779
|
-
/** Does this parameters object have a pass iteration number constant? */
|
1780
|
-
bool hasPassIterationNumber() const
|
1781
|
-
{ return mActivePassIterationIndex != (std::numeric_limits<size_t>::max)(); }
|
1782
|
-
/** Get the physical buffer index of the pass iteration number constant */
|
1783
|
-
size_t getPassIterationNumberIndex() const
|
1784
|
-
{ return mActivePassIterationIndex; }
|
1785
|
-
|
1786
|
-
|
1787
|
-
/** Use a set of shared parameters in this parameters object.
|
1788
|
-
@remarks
|
1789
|
-
Allows you to use a set of shared parameters to automatically update
|
1790
|
-
this parameter set.
|
1791
|
-
*/
|
1792
|
-
void addSharedParameters(GpuSharedParametersPtr sharedParams);
|
1793
|
-
|
1794
|
-
/** Use a set of shared parameters in this parameters object.
|
1795
|
-
@remarks
|
1796
|
-
Allows you to use a set of shared parameters to automatically update
|
1797
|
-
this parameter set.
|
1798
|
-
@param sharedParamsName The name of a shared parameter set as defined in
|
1799
|
-
GpuProgramManager
|
1800
|
-
*/
|
1801
|
-
void addSharedParameters(const String& sharedParamsName);
|
1802
|
-
|
1803
|
-
/** Returns whether this parameter set is using the named shared parameter set. */
|
1804
|
-
bool isUsingSharedParameters(const String& sharedParamsName) const;
|
1805
|
-
|
1806
|
-
/** Stop using the named shared parameter set. */
|
1807
|
-
void removeSharedParameters(const String& sharedParamsName);
|
1808
|
-
|
1809
|
-
/** Stop using all shared parameter sets. */
|
1810
|
-
void removeAllSharedParameters();
|
1811
|
-
|
1812
|
-
/** Get the list of shared parameter sets. */
|
1813
|
-
const GpuSharedParamUsageList& getSharedParameters() const;
|
1814
|
-
|
1815
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
1816
|
-
void _setRenderSystemData(const Any& data) const { mRenderSystemData = data; }
|
1817
|
-
/** Internal method that the RenderSystem might use to store optional data. */
|
1818
|
-
const Any& _getRenderSystemData() const { return mRenderSystemData; }
|
1819
|
-
|
1820
|
-
/** Update the parameters by copying the data from the shared
|
1821
|
-
parameters.
|
1822
|
-
@note This method may not actually be called if the RenderSystem
|
1823
|
-
supports using shared parameters directly in their own shared buffer; in
|
1824
|
-
which case the values should not be copied out of the shared area
|
1825
|
-
into the individual parameter set, but bound separately.
|
1826
|
-
*/
|
1827
|
-
void _copySharedParams();
|
1828
|
-
|
1829
|
-
|
1830
|
-
|
1831
|
-
};
|
1832
|
-
|
1833
|
-
/// Shared pointer used to hold references to GpuProgramParameters instances
|
1834
|
-
typedef SharedPtr<GpuProgramParameters> GpuProgramParametersSharedPtr;
|
1835
|
-
|
1836
|
-
/** @} */
|
1837
|
-
/** @} */
|
1838
|
-
}
|
1839
|
-
#endif
|
1840
|
-
|