| 132 | } |
| 133 | |
| 134 | void PostEffectAsset::initializeAsset() |
| 135 | { |
| 136 | mScriptPath = getOwned() ? expandAssetFilePath(mScriptFile) : mScriptPath; |
| 137 | mHLSLShaderPath = getOwned() ? expandAssetFilePath(mHLSLShaderFile) : mHLSLShaderPath; |
| 138 | mGLSLShaderPath = getOwned() ? expandAssetFilePath(mGLSLShaderFile) : mGLSLShaderPath; |
| 139 | |
| 140 | if (Torque::FS::IsScriptFile(mScriptPath)) |
| 141 | Con::executeFile(mScriptPath, false, false); |
| 142 | } |
| 143 | |
| 144 | void PostEffectAsset::onAssetRefresh() |
| 145 | { |
nothing calls this directly
no test coverage detected