--HG-- rename : KREngine/3rdparty/forsyth/forsyth.cpp => 3rdparty/forsyth/forsyth.cpp rename : KREngine/3rdparty/forsyth/forsyth.h => 3rdparty/forsyth/forsyth.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTArray.h => 3rdparty/pvrtexlib/include/PVRTArray.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTDecompress.h => 3rdparty/pvrtexlib/include/PVRTDecompress.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTError.h => 3rdparty/pvrtexlib/include/PVRTError.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTGlobal.h => 3rdparty/pvrtexlib/include/PVRTGlobal.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTMap.h => 3rdparty/pvrtexlib/include/PVRTMap.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTString.h => 3rdparty/pvrtexlib/include/PVRTString.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTTexture.h => 3rdparty/pvrtexlib/include/PVRTTexture.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTexture.h => 3rdparty/pvrtexlib/include/PVRTexture.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTextureDefines.h => 3rdparty/pvrtexlib/include/PVRTextureDefines.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTextureFormat.h => 3rdparty/pvrtexlib/include/PVRTextureFormat.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTextureHeader.h => 3rdparty/pvrtexlib/include/PVRTextureHeader.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTextureUtilities.h => 3rdparty/pvrtexlib/include/PVRTextureUtilities.h rename : KREngine/3rdparty/pvrtexlib/include/PVRTextureVersion.h => 3rdparty/pvrtexlib/include/PVRTextureVersion.h rename : KREngine/3rdparty/pvrtexlib/static_osx/libPVRTexLib.a => 3rdparty/pvrtexlib/static_osx/libPVRTexLib.a rename : KREngine/3rdparty/tinyxml2/tinyxml2.cpp => 3rdparty/tinyxml2/tinyxml2.cpp rename : KREngine/3rdparty/tinyxml2/tinyxml2.h => 3rdparty/tinyxml2/tinyxml2.h rename : KREngine/3rdparty/tinyxml2/tinyxml2_readme.txt => 3rdparty/tinyxml2/tinyxml2_readme.txt rename : KREngine/Kraken.xcodeproj/project.pbxproj => Kraken.xcodeproj/project.pbxproj rename : KREngine/Kraken.xcodeproj/project.xcworkspace/contents.xcworkspacedata => Kraken.xcodeproj/project.xcworkspace/contents.xcworkspacedata rename : KREngine/kraken/KRAABB.cpp => kraken/KRAABB.cpp rename : KREngine/kraken/KRAABB.h => kraken/KRAABB.h rename : KREngine/kraken/KRAmbientZone.cpp => kraken/KRAmbientZone.cpp rename : KREngine/kraken/KRAmbientZone.h => kraken/KRAmbientZone.h rename : KREngine/kraken/KRAnimation.cpp => kraken/KRAnimation.cpp rename : KREngine/kraken/KRAnimation.h => kraken/KRAnimation.h rename : KREngine/kraken/KRAnimationAttribute.cpp => kraken/KRAnimationAttribute.cpp rename : KREngine/kraken/KRAnimationAttribute.h => kraken/KRAnimationAttribute.h rename : KREngine/kraken/KRAnimationCurve.cpp => kraken/KRAnimationCurve.cpp rename : KREngine/kraken/KRAnimationCurve.h => kraken/KRAnimationCurve.h rename : KREngine/kraken/KRAnimationCurveManager.cpp => kraken/KRAnimationCurveManager.cpp rename : KREngine/kraken/KRAnimationCurveManager.h => kraken/KRAnimationCurveManager.h rename : KREngine/kraken/KRAnimationLayer.cpp => kraken/KRAnimationLayer.cpp rename : KREngine/kraken/KRAnimationLayer.h => kraken/KRAnimationLayer.h rename : KREngine/kraken/KRAnimationManager.cpp => kraken/KRAnimationManager.cpp rename : KREngine/kraken/KRAnimationManager.h => kraken/KRAnimationManager.h rename : KREngine/kraken/KRAudioBuffer.cpp => kraken/KRAudioBuffer.cpp rename : KREngine/kraken/KRAudioBuffer.h => kraken/KRAudioBuffer.h rename : KREngine/kraken/KRAudioManager.cpp => kraken/KRAudioManager.cpp rename : KREngine/kraken/KRAudioManager.h => kraken/KRAudioManager.h rename : KREngine/kraken/KRAudioSample.cpp => kraken/KRAudioSample.cpp rename : KREngine/kraken/KRAudioSample.h => kraken/KRAudioSample.h rename : KREngine/kraken/KRAudioSource.cpp => kraken/KRAudioSource.cpp rename : KREngine/kraken/KRAudioSource.h => kraken/KRAudioSource.h rename : KREngine/kraken/KRBehavior.cpp => kraken/KRBehavior.cpp rename : KREngine/kraken/KRBehavior.h => kraken/KRBehavior.h rename : KREngine/kraken/KRBone.cpp => kraken/KRBone.cpp rename : KREngine/kraken/KRBone.h => kraken/KRBone.h rename : KREngine/kraken/KRBundle.cpp => kraken/KRBundle.cpp rename : KREngine/kraken/KRBundle.h => kraken/KRBundle.h rename : KREngine/kraken/KRBundleManager.cpp => kraken/KRBundleManager.cpp rename : KREngine/kraken/KRBundleManager.h => kraken/KRBundleManager.h rename : KREngine/kraken/KRCamera.cpp => kraken/KRCamera.cpp rename : KREngine/kraken/KRCamera.h => kraken/KRCamera.h rename : KREngine/kraken/KRCollider.cpp => kraken/KRCollider.cpp rename : KREngine/kraken/KRCollider.h => kraken/KRCollider.h rename : KREngine/kraken/KRContext.cpp => kraken/KRContext.cpp rename : KREngine/kraken/KRContext.h => kraken/KRContext.h rename : KREngine/kraken/KRContextObject.cpp => kraken/KRContextObject.cpp rename : KREngine/kraken/KRContextObject.h => kraken/KRContextObject.h rename : KREngine/kraken/KRDataBlock.cpp => kraken/KRDataBlock.cpp rename : KREngine/kraken/KRDataBlock.h => kraken/KRDataBlock.h rename : KREngine/kraken/KRDirectionalLight.cpp => kraken/KRDirectionalLight.cpp rename : KREngine/kraken/KRDirectionalLight.h => kraken/KRDirectionalLight.h rename : KREngine/kraken/KREngine-common.h => kraken/KREngine-common.h rename : KREngine/kraken/KREngine.h => kraken/KREngine.h rename : KREngine/kraken/KREngine.mm => kraken/KREngine.mm rename : KREngine/kraken/KRFloat.cpp => kraken/KRFloat.cpp rename : KREngine/kraken/KRFloat.h => kraken/KRFloat.h rename : KREngine/kraken/KRHitInfo.cpp => kraken/KRHitInfo.cpp rename : KREngine/kraken/KRHitInfo.h => kraken/KRHitInfo.h rename : KREngine/kraken/KRLODGroup.cpp => kraken/KRLODGroup.cpp rename : KREngine/kraken/KRLODGroup.h => kraken/KRLODGroup.h rename : KREngine/kraken/KRLODSet.cpp => kraken/KRLODSet.cpp rename : KREngine/kraken/KRLODSet.h => kraken/KRLODSet.h rename : KREngine/kraken/KRLight.cpp => kraken/KRLight.cpp rename : KREngine/kraken/KRLight.h => kraken/KRLight.h rename : KREngine/kraken/KRLocator.cpp => kraken/KRLocator.cpp rename : KREngine/kraken/KRLocator.h => kraken/KRLocator.h rename : KREngine/kraken/KRMat4.cpp => kraken/KRMat4.cpp rename : KREngine/kraken/KRMat4.h => kraken/KRMat4.h rename : KREngine/kraken/KRMaterial.cpp => kraken/KRMaterial.cpp rename : KREngine/kraken/KRMaterial.h => kraken/KRMaterial.h rename : KREngine/kraken/KRMaterialManager.cpp => kraken/KRMaterialManager.cpp rename : KREngine/kraken/KRMaterialManager.h => kraken/KRMaterialManager.h rename : KREngine/kraken/KRMesh.cpp => kraken/KRMesh.cpp rename : KREngine/kraken/KRMesh.h => kraken/KRMesh.h rename : KREngine/kraken/KRMeshCube.cpp => kraken/KRMeshCube.cpp rename : KREngine/kraken/KRMeshCube.h => kraken/KRMeshCube.h rename : KREngine/kraken/KRMeshManager.cpp => kraken/KRMeshManager.cpp rename : KREngine/kraken/KRMeshManager.h => kraken/KRMeshManager.h rename : KREngine/kraken/KRMeshQuad.cpp => kraken/KRMeshQuad.cpp rename : KREngine/kraken/KRMeshQuad.h => kraken/KRMeshQuad.h rename : KREngine/kraken/KRMeshSphere.cpp => kraken/KRMeshSphere.cpp rename : KREngine/kraken/KRMeshSphere.h => kraken/KRMeshSphere.h rename : KREngine/kraken/KRMeshStreamer.mm => kraken/KRMeshStreamer.mm rename : KREngine/kraken/KRModel.cpp => kraken/KRModel.cpp rename : KREngine/kraken/KRModel.h => kraken/KRModel.h rename : KREngine/kraken/KRNode.cpp => kraken/KRNode.cpp rename : KREngine/kraken/KRNode.h => kraken/KRNode.h rename : KREngine/kraken/KROctree.cpp => kraken/KROctree.cpp rename : KREngine/kraken/KROctree.h => kraken/KROctree.h rename : KREngine/kraken/KROctreeNode.cpp => kraken/KROctreeNode.cpp rename : KREngine/kraken/KROctreeNode.h => kraken/KROctreeNode.h rename : KREngine/kraken/KRParticleSystem.cpp => kraken/KRParticleSystem.cpp rename : KREngine/kraken/KRParticleSystem.h => kraken/KRParticleSystem.h rename : KREngine/kraken/KRParticleSystemNewtonian.cpp => kraken/KRParticleSystemNewtonian.cpp rename : KREngine/kraken/KRParticleSystemNewtonian.h => kraken/KRParticleSystemNewtonian.h rename : KREngine/kraken/KRPointLight.cpp => kraken/KRPointLight.cpp rename : KREngine/kraken/KRPointLight.h => kraken/KRPointLight.h rename : KREngine/kraken/KRQuaternion.cpp => kraken/KRQuaternion.cpp rename : KREngine/kraken/KRQuaternion.h => kraken/KRQuaternion.h rename : KREngine/kraken/KRRenderSettings.cpp => kraken/KRRenderSettings.cpp rename : KREngine/kraken/KRRenderSettings.h => kraken/KRRenderSettings.h rename : KREngine/kraken/KRResource+blend.cpp => kraken/KRResource+blend.cpp rename : KREngine/kraken/KRResource+blend.h => kraken/KRResource+blend.h rename : KREngine/kraken/KRResource+fbx.cpp => kraken/KRResource+fbx.cpp rename : KREngine/kraken/KRResource+obj.cpp => kraken/KRResource+obj.cpp rename : KREngine/kraken/KRResource.cpp => kraken/KRResource.cpp rename : KREngine/kraken/KRResource.h => kraken/KRResource.h rename : KREngine/kraken/KRReverbZone.cpp => kraken/KRReverbZone.cpp rename : KREngine/kraken/KRReverbZone.h => kraken/KRReverbZone.h rename : KREngine/kraken/KRScene.cpp => kraken/KRScene.cpp rename : KREngine/kraken/KRScene.h => kraken/KRScene.h rename : KREngine/kraken/KRSceneManager.cpp => kraken/KRSceneManager.cpp rename : KREngine/kraken/KRSceneManager.h => kraken/KRSceneManager.h rename : KREngine/kraken/KRShader.cpp => kraken/KRShader.cpp rename : KREngine/kraken/KRShader.h => kraken/KRShader.h rename : KREngine/kraken/KRShaderManager.cpp => kraken/KRShaderManager.cpp rename : KREngine/kraken/KRShaderManager.h => kraken/KRShaderManager.h rename : KREngine/kraken/KRSpotLight.cpp => kraken/KRSpotLight.cpp rename : KREngine/kraken/KRSpotLight.h => kraken/KRSpotLight.h rename : KREngine/kraken/KRSprite.cpp => kraken/KRSprite.cpp rename : KREngine/kraken/KRSprite.h => kraken/KRSprite.h rename : KREngine/kraken/KRStockGeometry.h => kraken/KRStockGeometry.h rename : KREngine/kraken/KRStreamer.h => kraken/KRStreamer.h rename : KREngine/kraken/KRStreamer.mm => kraken/KRStreamer.mm rename : KREngine/kraken/KRTexture.cpp => kraken/KRTexture.cpp rename : KREngine/kraken/KRTexture.h => kraken/KRTexture.h rename : KREngine/kraken/KRTexture2D.cpp => kraken/KRTexture2D.cpp rename : KREngine/kraken/KRTexture2D.h => kraken/KRTexture2D.h rename : KREngine/kraken/KRTextureAnimated.cpp => kraken/KRTextureAnimated.cpp rename : KREngine/kraken/KRTextureAnimated.h => kraken/KRTextureAnimated.h rename : KREngine/kraken/KRTextureCube.cpp => kraken/KRTextureCube.cpp rename : KREngine/kraken/KRTextureCube.h => kraken/KRTextureCube.h rename : KREngine/kraken/KRTextureKTX.cpp => kraken/KRTextureKTX.cpp rename : KREngine/kraken/KRTextureKTX.h => kraken/KRTextureKTX.h rename : KREngine/kraken/KRTextureManager.cpp => kraken/KRTextureManager.cpp rename : KREngine/kraken/KRTextureManager.h => kraken/KRTextureManager.h rename : KREngine/kraken/KRTexturePVR.cpp => kraken/KRTexturePVR.cpp rename : KREngine/kraken/KRTexturePVR.h => kraken/KRTexturePVR.h rename : KREngine/kraken/KRTextureStreamer.mm => kraken/KRTextureStreamer.mm rename : KREngine/kraken/KRTextureTGA.cpp => kraken/KRTextureTGA.cpp rename : KREngine/kraken/KRTextureTGA.h => kraken/KRTextureTGA.h rename : KREngine/kraken/KRTriangle3.cpp => kraken/KRTriangle3.cpp rename : KREngine/kraken/KRTriangle3.h => kraken/KRTriangle3.h rename : KREngine/kraken/KRUnknown.cpp => kraken/KRUnknown.cpp rename : KREngine/kraken/KRUnknown.h => kraken/KRUnknown.h rename : KREngine/kraken/KRUnknownManager.cpp => kraken/KRUnknownManager.cpp rename : KREngine/kraken/KRUnknownManager.h => kraken/KRUnknownManager.h rename : KREngine/kraken/KRVector2.cpp => kraken/KRVector2.cpp rename : KREngine/kraken/KRVector2.h => kraken/KRVector2.h rename : KREngine/kraken/KRVector3.cpp => kraken/KRVector3.cpp rename : KREngine/kraken/KRVector3.h => kraken/KRVector3.h rename : KREngine/kraken/KRVector4.cpp => kraken/KRVector4.cpp rename : KREngine/kraken/KRVector4.h => kraken/KRVector4.h rename : KREngine/kraken/KRViewport.cpp => kraken/KRViewport.cpp rename : KREngine/kraken/KRViewport.h => kraken/KRViewport.h rename : KREngine/kraken_ios/Kraken-Prefix.pch => kraken_ios/Kraken-Prefix.pch rename : KREngine/kraken_osx/Kraken-Info.plist => kraken_osx/Kraken-Info.plist rename : KRWorldBuilder/KRWorldBuilder/en.lproj/InfoPlist.strings => kraken_osx/en.lproj/InfoPlist.strings rename : KREngine/kraken_osx/kraken-prefix.pch => kraken_osx/kraken-prefix.pch rename : KREngine/kraken_osx/krengine_osx.h => kraken_osx/krengine_osx.h rename : KREngine/kraken_osx/krengine_osx.mm => kraken_osx/krengine_osx.mm rename : KREngine/kraken_standard_assets/hrtf_kemar.krbundle => kraken_standard_assets/hrtf_kemar.krbundle rename : KREngine/kraken_standard_assets_osx/Resources-Info.plist => kraken_standard_assets_ios/Resources-Info.plist rename : KREngine/kraken_standard_assets_ios/Shaders/ObjectShader.fsh => kraken_standard_assets_ios/Shaders/ObjectShader.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/ObjectShader.vsh => kraken_standard_assets_ios/Shaders/ObjectShader.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/PostShader.fsh => kraken_standard_assets_ios/Shaders/PostShader.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/PostShader_osx.vsh => kraken_standard_assets_ios/Shaders/PostShader.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/ShadowShader_osx.fsh => kraken_standard_assets_ios/Shaders/ShadowShader.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/ShadowShader.vsh => kraken_standard_assets_ios/Shaders/ShadowShader.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/debug_font.fsh => kraken_standard_assets_ios/Shaders/debug_font.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/debug_font_osx.vsh => kraken_standard_assets_ios/Shaders/debug_font.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/dust_particle.fsh => kraken_standard_assets_ios/Shaders/dust_particle.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/dust_particle_osx.vsh => kraken_standard_assets_ios/Shaders/dust_particle.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/flare.fsh => kraken_standard_assets_ios/Shaders/flare.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/flare.vsh => kraken_standard_assets_ios/Shaders/flare.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_directional_osx.fsh => kraken_standard_assets_ios/Shaders/light_directional.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.vsh => kraken_standard_assets_ios/Shaders/light_directional.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_osx.fsh => kraken_standard_assets_ios/Shaders/light_point.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_osx.vsh => kraken_standard_assets_ios/Shaders/light_point.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.fsh => kraken_standard_assets_ios/Shaders/light_point_inside.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.vsh => kraken_standard_assets_ios/Shaders/light_point_inside.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/occlusion_test.fsh => kraken_standard_assets_ios/Shaders/occlusion_test.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/occlusion_test.vsh => kraken_standard_assets_ios/Shaders/occlusion_test.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/simple_blit_osx.fsh => kraken_standard_assets_ios/Shaders/simple_blit.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/simple_blit.vsh => kraken_standard_assets_ios/Shaders/simple_blit.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/sky_box.fsh => kraken_standard_assets_ios/Shaders/sky_box.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/sky_box.vsh => kraken_standard_assets_ios/Shaders/sky_box.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/sprite_osx.fsh => kraken_standard_assets_ios/Shaders/sprite.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/sprite_osx.vsh => kraken_standard_assets_ios/Shaders/sprite.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/visualize_overlay_osx.fsh => kraken_standard_assets_ios/Shaders/visualize_overlay.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/visualize_overlay.vsh => kraken_standard_assets_ios/Shaders/visualize_overlay.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/volumetric_fog.fsh => kraken_standard_assets_ios/Shaders/volumetric_fog.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/volumetric_fog_osx.vsh => kraken_standard_assets_ios/Shaders/volumetric_fog.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/volumetric_fog_downsampled.fsh => kraken_standard_assets_ios/Shaders/volumetric_fog_downsampled.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/volumetric_fog_downsampled.vsh => kraken_standard_assets_ios/Shaders/volumetric_fog_downsampled.vsh rename : KREngine/kraken_standard_assets_ios/font.pvr => kraken_standard_assets_ios/font.pvr rename : KREngine/kraken_standard_assets_osx/Resources-Info.plist => kraken_standard_assets_osx/Resources-Info.plist rename : KREngine/kraken_standard_assets_osx/Shaders/ObjectShader_osx.fsh => kraken_standard_assets_osx/Shaders/ObjectShader_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/ObjectShader.vsh => kraken_standard_assets_osx/Shaders/ObjectShader_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/PostShader_osx.fsh => kraken_standard_assets_osx/Shaders/PostShader_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/PostShader_osx.vsh => kraken_standard_assets_osx/Shaders/PostShader_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/ShadowShader_osx.fsh => kraken_standard_assets_osx/Shaders/ShadowShader_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/ShadowShader.vsh => kraken_standard_assets_osx/Shaders/ShadowShader_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/debug_font_osx.fsh => kraken_standard_assets_osx/Shaders/debug_font_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/debug_font_osx.vsh => kraken_standard_assets_osx/Shaders/debug_font_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/dust_particle_osx.fsh => kraken_standard_assets_osx/Shaders/dust_particle_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/dust_particle_osx.vsh => kraken_standard_assets_osx/Shaders/dust_particle_osx.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/flare.fsh => kraken_standard_assets_osx/Shaders/flare_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/flare_osx.vsh => kraken_standard_assets_osx/Shaders/flare_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_directional_osx.fsh => kraken_standard_assets_osx/Shaders/light_directional_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.vsh => kraken_standard_assets_osx/Shaders/light_directional_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.fsh => kraken_standard_assets_osx/Shaders/light_point_inside_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_inside_osx.vsh => kraken_standard_assets_osx/Shaders/light_point_inside_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_osx.fsh => kraken_standard_assets_osx/Shaders/light_point_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/light_point_osx.vsh => kraken_standard_assets_osx/Shaders/light_point_osx.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/occlusion_test.fsh => kraken_standard_assets_osx/Shaders/occlusion_test_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/occlusion_test.vsh => kraken_standard_assets_osx/Shaders/occlusion_test_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/simple_blit_osx.fsh => kraken_standard_assets_osx/Shaders/simple_blit_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/simple_blit.vsh => kraken_standard_assets_osx/Shaders/simple_blit_osx.vsh rename : KREngine/kraken_standard_assets_ios/Shaders/sky_box.fsh => kraken_standard_assets_osx/Shaders/sky_box_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/sky_box_osx.vsh => kraken_standard_assets_osx/Shaders/sky_box_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/sprite_osx.fsh => kraken_standard_assets_osx/Shaders/sprite_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/sprite_osx.vsh => kraken_standard_assets_osx/Shaders/sprite_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/visualize_overlay_osx.fsh => kraken_standard_assets_osx/Shaders/visualize_overlay_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/visualize_overlay.vsh => kraken_standard_assets_osx/Shaders/visualize_overlay_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/volumetric_fog_downsampled_osx.fsh => kraken_standard_assets_osx/Shaders/volumetric_fog_downsampled_osx.fsh rename : KREngine/kraken_standard_assets_ios/Shaders/volumetric_fog_downsampled.vsh => kraken_standard_assets_osx/Shaders/volumetric_fog_downsampled_osx.vsh rename : KREngine/kraken_standard_assets_osx/Shaders/volumetric_fog_osx.fsh => kraken_standard_assets_osx/Shaders/volumetric_fog_osx.fsh rename : KREngine/kraken_standard_assets_osx/Shaders/volumetric_fog_osx.vsh => kraken_standard_assets_osx/Shaders/volumetric_fog_osx.vsh rename : KREngine/kraken_standard_assets_osx/font.tga => kraken_standard_assets_osx/font.tga
587 lines
28 KiB
C++
587 lines
28 KiB
C++
#ifndef _PVRTEXTURE_HEADER_H
|
|
#define _PVRTEXTURE_HEADER_H
|
|
|
|
#include "PVRTextureDefines.h"
|
|
#include "PVRTextureFormat.h"
|
|
#include "PVRTString.h"
|
|
#include "PVRTMap.h"
|
|
|
|
namespace pvrtexture
|
|
{
|
|
//Wrapper class for PVRTextureHeaderV3, adds 'smart' accessor functions.
|
|
class PVR_DLL CPVRTextureHeader
|
|
{
|
|
protected:
|
|
PVRTextureHeaderV3 m_sHeader; //Texture header as laid out in a file.
|
|
CPVRTMap<uint32, CPVRTMap<uint32,MetaDataBlock> > m_MetaData; //Map of all the meta data stored for a texture.
|
|
|
|
public:
|
|
/*******************************************************************************
|
|
* Construction methods for a texture header.
|
|
*******************************************************************************/
|
|
/*!***********************************************************************
|
|
@Function CPVRTextureHeader
|
|
@Return CPVRTextureHeader A new texture header.
|
|
@Description Default constructor for a CPVRTextureHeader. Returns an empty header.
|
|
*************************************************************************/
|
|
CPVRTextureHeader();
|
|
|
|
/*!***********************************************************************
|
|
@Function CPVRTextureHeader
|
|
@Input fileHeader
|
|
@Input metaDataCount
|
|
@Input metaData
|
|
@Return CPVRTextureHeader A new texture header.
|
|
@Description Creates a new texture header from a PVRTextureHeaderV3,
|
|
and appends Meta data if any is supplied.
|
|
*************************************************************************/
|
|
CPVRTextureHeader( PVRTextureHeaderV3 fileHeader,
|
|
uint32 metaDataCount=0,
|
|
MetaDataBlock* metaData=NULL);
|
|
|
|
/*!***********************************************************************
|
|
@Function CPVRTextureHeader
|
|
@Input u64PixelFormat
|
|
@Input u32Height
|
|
@Input u32Width
|
|
@Input u32Depth
|
|
@Input u32NumMipMaps
|
|
@Input u32NumArrayMembers
|
|
@Input u32NumFaces
|
|
@Input eColourSpace
|
|
@Input eChannelType
|
|
@Input bPreMultiplied
|
|
@Return CPVRTextureHeader A new texture header.
|
|
@Description Creates a new texture header based on individual header
|
|
variables.
|
|
*************************************************************************/
|
|
CPVRTextureHeader( uint64 u64PixelFormat,
|
|
uint32 u32Height=1,
|
|
uint32 u32Width=1,
|
|
uint32 u32Depth=1,
|
|
uint32 u32NumMipMaps=1,
|
|
uint32 u32NumArrayMembers=1,
|
|
uint32 u32NumFaces=1,
|
|
EPVRTColourSpace eColourSpace=ePVRTCSpacelRGB,
|
|
EPVRTVariableType eChannelType=ePVRTVarTypeUnsignedByteNorm,
|
|
bool bPreMultiplied=false);
|
|
|
|
/*!***********************************************************************
|
|
@Function operator=
|
|
@Input rhs
|
|
@Return CPVRTextureHeader& This header.
|
|
@Description Will copy the contents and information of another header into this one.
|
|
*************************************************************************/
|
|
CPVRTextureHeader& operator=(const CPVRTextureHeader& rhs);
|
|
|
|
/*******************************************************************************
|
|
* Accessor Methods for a texture's properties - getters.
|
|
*******************************************************************************/
|
|
|
|
/*!***********************************************************************
|
|
@Function getFileHeader
|
|
@Return PVRTextureHeaderV3 The file header.
|
|
@Description Gets the file header structure.
|
|
*************************************************************************/
|
|
const PVRTextureHeaderV3 getFileHeader() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getPixelType
|
|
@Return PixelType 64-bit pixel type ID.
|
|
@Description Gets the 64-bit pixel type ID of the texture.
|
|
*************************************************************************/
|
|
const PixelType getPixelType() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getBitsPerPixel
|
|
@Return uint32 Number of bits per pixel
|
|
@Description Gets the bits per pixel of the texture format.
|
|
*************************************************************************/
|
|
const uint32 getBitsPerPixel() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getColourSpace
|
|
@Return EPVRTColourSpace enum representing colour space.
|
|
@Description Returns the colour space of the texture.
|
|
*************************************************************************/
|
|
const EPVRTColourSpace getColourSpace() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getChannelType
|
|
@Return EPVRTVariableType enum representing the type of the texture.
|
|
@Description Returns the variable type that the texture's data is stored in.
|
|
*************************************************************************/
|
|
const EPVRTVariableType getChannelType() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getWidth
|
|
@Input uiMipLevel MIP level that user is interested in.
|
|
@Return uint32 Width of the specified MIP-Map level.
|
|
@Description Gets the width of the user specified MIP-Map
|
|
level for the texture
|
|
*************************************************************************/
|
|
const uint32 getWidth(uint32 uiMipLevel=PVRTEX_TOPMIPLEVEL) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getHeight
|
|
@Input uiMipLevel MIP level that user is interested in.
|
|
@Return uint32 Height of the specified MIP-Map level.
|
|
@Description Gets the height of the user specified MIP-Map
|
|
level for the texture
|
|
*************************************************************************/
|
|
const uint32 getHeight(uint32 uiMipLevel=PVRTEX_TOPMIPLEVEL) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getDepth
|
|
@Input uiMipLevel MIP level that user is interested in.
|
|
@Return Depth of the specified MIP-Map level.
|
|
@Description Gets the depth of the user specified MIP-Map
|
|
level for the texture
|
|
*************************************************************************/
|
|
const uint32 getDepth(uint32 uiMipLevel=PVRTEX_TOPMIPLEVEL) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getTextureSize
|
|
@Input iMipLevel Specifies a MIP level to check,
|
|
'PVRTEX_ALLMIPLEVELS' can be passed to get
|
|
the size of all MIP levels.
|
|
@Input bAllSurfaces Size of all surfaces is calculated if true,
|
|
only a single surface if false.
|
|
@Input bAllFaces Size of all faces is calculated if true,
|
|
only a single face if false.
|
|
@Return uint32 Size in PIXELS of the specified texture area.
|
|
@Description Gets the size in PIXELS of the texture, given various input
|
|
parameters. User can retrieve the total size of either all
|
|
surfaces or a single surface, all faces or a single face and
|
|
all MIP-Maps or a single specified MIP level. All of these
|
|
*************************************************************************/
|
|
const uint32 getTextureSize(int32 iMipLevel=PVRTEX_ALLMIPLEVELS, bool bAllSurfaces = true, bool bAllFaces = true) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getDataSize
|
|
@Input iMipLevel Specifies a mip level to check,
|
|
'PVRTEX_ALLMIPLEVELS' can be passed to get
|
|
the size of all MIP levels.
|
|
@Input bAllSurfaces Size of all surfaces is calculated if true,
|
|
only a single surface if false.
|
|
@Input bAllFaces Size of all faces is calculated if true,
|
|
only a single face if false.
|
|
@Return uint32 Size in BYTES of the specified texture area.
|
|
@Description Gets the size in BYTES of the texture, given various input
|
|
parameters. User can retrieve the size of either all
|
|
surfaces or a single surface, all faces or a single face
|
|
and all MIP-Maps or a single specified MIP level.
|
|
*************************************************************************/
|
|
const uint32 getDataSize(int32 iMipLevel=PVRTEX_ALLMIPLEVELS, bool bAllSurfaces = true, bool bAllFaces = true) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getNumArrayMembers
|
|
@Return uint32 Number of array members in this texture.
|
|
@Description Gets the number of array members stored in this texture.
|
|
*************************************************************************/
|
|
const uint32 getNumArrayMembers() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getNumMIPLevels
|
|
@Return uint32 Number of MIP-Map levels in this texture.
|
|
@Description Gets the number of MIP-Map levels stored in this texture.
|
|
*************************************************************************/
|
|
const uint32 getNumMIPLevels() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getNumFaces
|
|
@Return uint32 Number of faces in this texture.
|
|
@Description Gets the number of faces stored in this texture.
|
|
*************************************************************************/
|
|
const uint32 getNumFaces() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getOrientation
|
|
@Input axis EPVRTAxis type specifying the axis to examine.
|
|
@Return EPVRTOrientation Enum orientation of the axis.
|
|
@Description Gets the data orientation for this texture.
|
|
*************************************************************************/
|
|
const EPVRTOrientation getOrientation(EPVRTAxis axis) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function isFileCompressed
|
|
@Return bool True if it is file compressed.
|
|
@Description Returns whether or not the texture is compressed using
|
|
PVRTexLib's FILE compression - this is independent of
|
|
any texture compression.
|
|
*************************************************************************/
|
|
const bool isFileCompressed() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function isPreMultiplied
|
|
@Return bool True if texture is premultiplied.
|
|
@Description Returns whether or not the texture's colour has been
|
|
pre-multiplied by the alpha values.
|
|
*************************************************************************/
|
|
const bool isPreMultiplied() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getMetaDataSize
|
|
@Return const uint32 Size, in bytes, of the meta data stored in the header.
|
|
@Description Returns the total size of the meta data stored in the header.
|
|
This includes the size of all information stored in all MetaDataBlocks.
|
|
*************************************************************************/
|
|
const uint32 getMetaDataSize() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getOGLFormat
|
|
@Modified internalformat
|
|
@Modified format
|
|
@Modified type
|
|
@Description Gets the OpenGL equivalent values of internal format, format
|
|
and type for this texture. This will return any supported
|
|
OpenGL texture values, it is up to the user to decide if
|
|
these are valid for their current platform.
|
|
*************************************************************************/
|
|
const void getOGLFormat(uint32& internalformat, uint32& format, uint32& type) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getOGLESFormat
|
|
@Modified internalformat
|
|
@Modified format
|
|
@Modified type
|
|
@Description Gets the OpenGLES equivalent values of internal format,
|
|
format and type for this texture. This will return any
|
|
supported OpenGLES texture values, it is up to the user
|
|
to decide if these are valid for their current platform.
|
|
*************************************************************************/
|
|
const void getOGLESFormat(uint32& internalformat, uint32& format, uint32& type) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getD3DFormat
|
|
@Return const uint32
|
|
@Description Gets the D3DFormat (up to DirectX 9 and Direct 3D Mobile)
|
|
equivalent values for this texture. This will return any
|
|
supported D3D texture formats, it is up to the user to
|
|
decide if this is valid for their current platform.
|
|
*************************************************************************/
|
|
const uint32 getD3DFormat() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getDXGIFormat
|
|
@Return const uint32
|
|
@Description Gets the DXGIFormat (DirectX 10 onward) equivalent values
|
|
for this texture. This will return any supported DX texture
|
|
formats, it is up to the user to decide if this is valid
|
|
for their current platform.
|
|
*************************************************************************/
|
|
const uint32 getDXGIFormat() const;
|
|
|
|
/*!***********************************************************************
|
|
* Accessor Methods for a texture's properties - setters.
|
|
*************************************************************************/
|
|
|
|
/*!***********************************************************************
|
|
@Function setPixelFormat
|
|
@Input uPixelFormat The format of the pixel.
|
|
@Description Sets the pixel format for this texture.
|
|
*************************************************************************/
|
|
void setPixelFormat(PixelType uPixelFormat);
|
|
|
|
/*!***********************************************************************
|
|
@Function setColourSpace
|
|
@Input eColourSpace A colour space enum.
|
|
@Description Sets the colour space for this texture. Default is lRGB.
|
|
*************************************************************************/
|
|
void setColourSpace(EPVRTColourSpace eColourSpace);
|
|
|
|
/*!***********************************************************************
|
|
@Function setChannelType
|
|
@Input eVarType A variable type enum.
|
|
@Description Sets the variable type for the channels in this texture.
|
|
*************************************************************************/
|
|
void setChannelType(EPVRTVariableType eVarType);
|
|
|
|
/*!***********************************************************************
|
|
@Function setOGLFormat
|
|
@Input internalformat
|
|
@Input format
|
|
@Input type
|
|
@Return bool Whether the format is valid or not.
|
|
@Description Sets the format of the texture to PVRTexLib's internal
|
|
representation of the OGL format.
|
|
*************************************************************************/
|
|
bool setOGLFormat(const uint32& internalformat, const uint32& format, const uint32& type);
|
|
|
|
/*!***********************************************************************
|
|
@Function setOGLESFormat
|
|
@Input internalformat
|
|
@Input format
|
|
@Input type
|
|
@Return bool Whether the format is valid or not.
|
|
@Description Sets the format of the texture to PVRTexLib's internal
|
|
representation of the OGLES format.
|
|
*************************************************************************/
|
|
bool setOGLESFormat(const uint32& internalformat, const uint32& format, const uint32& type);
|
|
|
|
/*!***********************************************************************
|
|
@Function setD3DFormat
|
|
@Return bool Whether the format is valid or not.
|
|
@Description Sets the format of the texture to PVRTexLib's internal
|
|
representation of the D3D format.
|
|
*************************************************************************/
|
|
bool setD3DFormat(const uint32& DWORD_D3D_FORMAT);
|
|
|
|
/*!***********************************************************************
|
|
@Function setDXGIFormat
|
|
@Return bool Whether the format is valid or not.
|
|
@Description Sets the format of the texture to PVRTexLib's internal
|
|
representation of the DXGI format.
|
|
*************************************************************************/
|
|
bool setDXGIFormat(const uint32& DWORD_DXGI_FORMAT);
|
|
|
|
/*!***********************************************************************
|
|
@Function setWidth
|
|
@Input newWidth The new width.
|
|
@Description Sets the width.
|
|
*************************************************************************/
|
|
void setWidth(uint32 newWidth);
|
|
|
|
/*!***********************************************************************
|
|
@Function setHeight
|
|
@Input newHeight The new height.
|
|
@Description Sets the height.
|
|
*************************************************************************/
|
|
void setHeight(uint32 newHeight);
|
|
|
|
/*!***********************************************************************
|
|
@Function setDepth
|
|
@Input newDepth The new depth.
|
|
@Description Sets the depth.
|
|
*************************************************************************/
|
|
void setDepth(uint32 newDepth);
|
|
|
|
/*!***********************************************************************
|
|
@Function setNumArrayMembers
|
|
@Input newNumMembers The new number of members in this array.
|
|
@Description Sets the depth.
|
|
*************************************************************************/
|
|
void setNumArrayMembers(uint32 newNumMembers);
|
|
|
|
/*!***********************************************************************
|
|
@Function setNumMIPLevels
|
|
@Input newNumMIPLevels New number of MIP-Map levels.
|
|
@Description Sets the number of MIP-Map levels in this texture.
|
|
*************************************************************************/
|
|
void setNumMIPLevels(uint32 newNumMIPLevels);
|
|
|
|
/*!***********************************************************************
|
|
@Function setNumFaces
|
|
@Input newNumFaces New number of faces for this texture.
|
|
@Description Sets the number of faces stored in this texture.
|
|
*************************************************************************/
|
|
void setNumFaces(uint32 newNumFaces);
|
|
|
|
/*!***********************************************************************
|
|
@Function setOrientation
|
|
@Input eAxisOrientation Enum specifying axis and orientation.
|
|
@Description Sets the data orientation for a given axis in this texture.
|
|
*************************************************************************/
|
|
void setOrientation(EPVRTOrientation eAxisOrientation);
|
|
|
|
/*!***********************************************************************
|
|
@Function setIsFileCompressed
|
|
@Input isFileCompressed Sets file compression to true/false.
|
|
@Description Sets whether or not the texture is compressed using
|
|
PVRTexLib's FILE compression - this is independent of
|
|
any texture compression. Currently unsupported.
|
|
*************************************************************************/
|
|
void setIsFileCompressed(bool isFileCompressed);
|
|
|
|
/*!***********************************************************************
|
|
@Function isPreMultiplied
|
|
@Return isPreMultiplied Sets if texture is premultiplied.
|
|
@Description Sets whether or not the texture's colour has been
|
|
pre-multiplied by the alpha values.
|
|
*************************************************************************/
|
|
void setIsPreMultiplied(bool isPreMultiplied);
|
|
|
|
/*!***********************************************************************
|
|
Meta Data functions - Getters.
|
|
*************************************************************************/
|
|
|
|
/*!***********************************************************************
|
|
@Function isBumpMap
|
|
@Return bool True if it is a bump map.
|
|
@Description Returns whether the texture is a bump map or not.
|
|
*************************************************************************/
|
|
const bool isBumpMap() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getBumpMapScale
|
|
@Return float Returns the bump map scale.
|
|
@Description Gets the bump map scaling value for this texture. If the
|
|
texture is not a bump map, 0.0f is returned. If the
|
|
texture is a bump map but no meta data is stored to
|
|
specify its scale, then 1.0f is returned.
|
|
*************************************************************************/
|
|
const float getBumpMapScale() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getBumpMapOrder
|
|
@Return CPVRTString Returns bump map order relative to rgba.
|
|
@Description Gets the bump map channel order relative to rgba. For
|
|
example, an RGB texture with bumps mapped to XYZ returns
|
|
'xyz'. A BGR texture with bumps in the order ZYX will also
|
|
return 'xyz' as the mapping is the same: R=X, G=Y, B=Z.
|
|
If the letter 'h' is present in the string, it means that
|
|
the height map has been stored here.
|
|
Other characters are possible if the bump map was created
|
|
manually, but PVRTexLib will ignore these characters. They
|
|
are returned simply for completeness.
|
|
*************************************************************************/
|
|
const CPVRTString getBumpMapOrder() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getNumTextureAtlasMembers
|
|
@Return int Returns number of sub textures defined by meta data.
|
|
@Description Works out the number of possible texture atlas members in
|
|
the texture based on the w/h/d and the data size.
|
|
*************************************************************************/
|
|
const int getNumTextureAtlasMembers() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getTextureAtlasData
|
|
@Return float* Returns a pointer directly to the texture atlas data.
|
|
@Description Returns a pointer to the texture atlas data.
|
|
*************************************************************************/
|
|
const float* getTextureAtlasData() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getCubeMapOrder
|
|
@Return CPVRTString Returns cube map order.
|
|
@Description Gets the cube map face order. Returned string will be in
|
|
the form "ZzXxYy" with capitals representing positive and
|
|
small letters representing negative. I.e. Z=Z-Positive,
|
|
z=Z-Negative.
|
|
*************************************************************************/
|
|
const CPVRTString getCubeMapOrder() const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getBorder
|
|
@Input uiBorderWidth
|
|
@Input uiBorderHeight
|
|
@Input uiBorderDepth
|
|
@Description Obtains the border size in each dimension for this texture.
|
|
*************************************************************************/
|
|
void getBorder(uint32& uiBorderWidth, uint32& uiBorderHeight, uint32& uiBorderDepth) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getMetaData
|
|
@Input DevFOURCC
|
|
@Input u32Key
|
|
@Return pvrtexture::MetaDataBlock A copy of the meta data from the texture.
|
|
@Description Returns a block of meta data from the texture. If the meta data doesn't exist, a block with data size 0 will be returned.
|
|
*************************************************************************/
|
|
const MetaDataBlock getMetaData(uint32 DevFOURCC, uint32 u32Key) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function hasMetaData
|
|
@Input DevFOURCC
|
|
@Input u32Key
|
|
@Return bool Whether or not the meta data bock specified exists
|
|
@Description Returns whether or not the specified meta data exists as
|
|
part of this texture header.
|
|
*************************************************************************/
|
|
bool hasMetaData(uint32 DevFOURCC, uint32 u32Key) const;
|
|
|
|
/*!***********************************************************************
|
|
@Function getMetaDataMap
|
|
@Return MetaDataMap* A direct pointer to the MetaData map.
|
|
@Description A pointer directly to the Meta Data Map, to allow users to read out data.
|
|
*************************************************************************/
|
|
const MetaDataMap* const getMetaDataMap() const;
|
|
|
|
/*!***********************************************************************
|
|
Meta Data functions - Setters.
|
|
*************************************************************************/
|
|
|
|
/*!***********************************************************************
|
|
@Function setBumpMap
|
|
@Input bumpScale Floating point "height" value to scale the bump map.
|
|
@Input bumpOrder Up to 4 character string, with values x,y,z,h in
|
|
some combination. Not all values need to be present.
|
|
Denotes channel order; x,y,z refer to the
|
|
corresponding axes, h indicates presence of the
|
|
original height map. It is possible to have only some
|
|
of these values rather than all. For example if 'h'
|
|
is present alone it will be considered a height map.
|
|
The values should be presented in RGBA order, regardless
|
|
of the texture format, so a zyxh order in a bgra texture
|
|
should still be passed as 'xyzh'. Capitals are allowed.
|
|
Any character stored here that is not one of x,y,z,h
|
|
or a NULL character will be ignored when PVRTexLib
|
|
reads the data, but will be preserved. This is useful
|
|
if you wish to define a custom data channel for instance.
|
|
In these instances PVRTexLib will assume it is simply
|
|
colour data.
|
|
@Description Sets a texture's bump map data.
|
|
*************************************************************************/
|
|
void setBumpMap(float bumpScale, CPVRTString bumpOrder="xyz");
|
|
|
|
/*!***********************************************************************
|
|
@Function setTextureAtlas
|
|
@Input pAtlasData Pointer to an array of atlas data.
|
|
@Input dataSize Number of floats that the data pointer contains.
|
|
@Description Sets the texture atlas coordinate meta data for later display.
|
|
It is up to the user to make sure that this texture atlas
|
|
data actually makes sense in the context of the header. It is
|
|
suggested that the "generateTextureAtlas" method in the tools
|
|
is used to create a texture atlas, manually setting one up is
|
|
possible but should be done with care.
|
|
*************************************************************************/
|
|
void setTextureAtlas(float* pAtlasData, uint32 dataSize);
|
|
|
|
/*!***********************************************************************
|
|
@Function setCubeMapOrder
|
|
@Input cubeMapOrder Up to 6 character string, with values
|
|
x,X,y,Y,z,Z in some combination. Not all
|
|
values need to be present. Denotes face
|
|
order; Capitals refer to positive axis
|
|
positions and small letters refer to
|
|
negative axis positions. E.g. x=X-Negative,
|
|
X=X-Positive. It is possible to have only
|
|
some of these values rather than all, as
|
|
long as they are NULL terminated.
|
|
NB: Values past the 6th character are not read.
|
|
@Description Sets a texture's bump map data.
|
|
*************************************************************************/
|
|
void setCubeMapOrder(CPVRTString cubeMapOrder="XxYyZz");
|
|
|
|
/*!***********************************************************************
|
|
@Function setBorder
|
|
@Input uiBorderWidth
|
|
@Input uiBorderHeight
|
|
@Input uiBorderDepth
|
|
@Return void
|
|
@Description Sets a texture's border size data. This value is subtracted
|
|
from the current texture height/width/depth to get the valid
|
|
texture data.
|
|
*************************************************************************/
|
|
void setBorder(uint32 uiBorderWidth, uint32 uiBorderHeight, uint32 uiBorderDepth);
|
|
|
|
/*!***********************************************************************
|
|
@Function addMetaData
|
|
@Input MetaBlock Meta data block to be added.
|
|
@Description Adds an arbitrary piece of meta data.
|
|
*************************************************************************/
|
|
void addMetaData(const MetaDataBlock& MetaBlock);
|
|
|
|
/*!***********************************************************************
|
|
@Function removeMetaData
|
|
@Input DevFourCC
|
|
@Input u32Key
|
|
@Return void
|
|
@Description Removes a specified piece of meta data, if it exists.
|
|
*************************************************************************/
|
|
void removeMetaData(const uint32& DevFourCC, const uint32& u32Key);
|
|
};
|
|
};
|
|
|
|
#endif
|