| 58 | } |
| 59 | |
| 60 | bool FeedbackTextureSetImpl::AddTexture(FeedbackTexture* texture) |
| 61 | { |
| 62 | if (!texture) |
| 63 | { |
| 64 | return false; |
| 65 | } |
| 66 | |
| 67 | // Add the texture to the set |
| 68 | FeedbackTextureImpl* textureImpl = static_cast<FeedbackTextureImpl*>(texture); |
| 69 | m_textures.push_back(textureImpl); |
| 70 | textureImpl->AddToTextureSet(this); |
| 71 | UpdateTextures(); |
| 72 | return true; |
| 73 | } |
| 74 | |
| 75 | bool FeedbackTextureSetImpl::RemoveTexture(FeedbackTexture* texture) |
| 76 | { |
no test coverage detected