implemented texture resources
implemented texture resource access