Code example for Allocation

Methods: setSurfaceTexture