| 320 | } |
| 321 | |
| 322 | String GPUResource::ToString() const |
| 323 | { |
| 324 | #if GPU_ENABLE_RESOURCE_NAMING |
| 325 | if (_namePtr) |
| 326 | return String(_namePtr, _nameSize); |
| 327 | #endif |
| 328 | return ScriptingObject::ToString(); |
| 329 | } |
| 330 | |
| 331 | void GPUResource::OnDeleteObject() |
| 332 | { |
no test coverage detected