Added script-generated 2D textures

Create using CreateTexture2D, bind using SetShaderResourceVariable

Format support is a little patchy
Damn python and it's doubles...
Cleanup