texture: Change init(), add props() and struct

Setting texture properties should be allowed after a texture's data is
already set. Might need to change it if this is not the case, though.
Still need to get texture loading from file working.