Shouldn't this work?
Graphics3D 640,480 SetBuffer BackBuffer() camera=CreateCamera() light=CreateLight() mesh=LoadMesh ("mesh.x") tex=LoadTexture ("texture.jpg") EntityTexture mesh,tex PositionEntity mesh, 1,0,5 While Not KeyDown(1) RenderWorld Flip Wend End