Shader-based data processing method, apparatus and device, and medium

The embodiment of the invention provides a data processing method and device based on a shader, equipment and a medium, and the method comprises the steps: obtaining shader configuration parameters used by a first client when the shader compiling time consumption is greater than a preset time thresh...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHANG LIANG, WU YUANCONG
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The embodiment of the invention provides a data processing method and device based on a shader, equipment and a medium, and the method comprises the steps: obtaining shader configuration parameters used by a first client when the shader compiling time consumption is greater than a preset time threshold, and generating a shader configuration parameter set according to the shader configuration parameters; and in response to a parameter acquisition request of a second client, sending at least part of the shader configuration parameters in the shader configuration parameter set to the second client for the second client to perform shader compiling. According to the embodiment of the invention, the shader compiling is optimized by utilizing the sharing of the shader configuration parameters, so that the time consumption of the shader compiling is reduced, the problems of game picture jamming and the like are further reduced, and the game experience is improved. 本发明实施例提供了一种基于着色器的数据处理方法、装置、设备及介质,所述方法包括:获取第一客户端在着色器编译