The invention discloses a texture resource loading method and device,
computer equipment and a computer readable storage medium, and relates to the technical field of computers.The method comprises the steps that in response to reloading of texture resources,
resource information of a texture array is obtained, and repositioning the
byte address range of each texture in the texture array according to the
resource information of the texture array, determining the memory
layout of the texture array, and performing traversal memory allocation on each texture in the texture array by using the memory
layout of the texture array so as to reload the texture array according to the
byte address range pointed by the traversal memory allocation. According to the scheme, the
byte address range of each texture in the texture array is repositioned through reloading of the texture resources, so that the texture resolution in the texture array is dynamically adjusted according to hardware configuration, and part of pixel information in the texture array is
cut off under the condition that the equipment resources are limited; the memory and
video memory occupation of the texture resources is reduced, and the loading time of the texture resources is shortened.