Implemented stride for textures