Added `waitEventTimeout`.
Added `destroyTexture`.