A method and device for reducing memory occupation of a Shader module of a mobile game
A mobile game and memory-occupied technology, applied in the field of game software, can solve problems affecting memory size and game frame rate, affecting Shader analysis and compilation time, etc., so as to improve development efficiency and reduce memory occupation
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0025] The idea, specific structure and technical effects of the present invention will be clearly and completely described below in conjunction with the embodiments and accompanying drawings, so as to fully understand the purpose, scheme and effect of the present invention.
[0026] refer to figure 1 , the method according to the present invention comprises the following steps:
[0027] A. Start the Unity editor to find all Shader type resources to obtain their resource list;
[0028] B. Load Shader files one by one according to the resource list;
[0029] C. The interface obtained by reflection calling, the Shader object is passed into the interface as a Boolean parameter, the number of variants of this Shader is obtained by execution, and the number of variants is written into a file to save;
[0030] D. Sort the variants, analyze the Shader files with a large number of variants, and optimize the Shader files with a large number of Shader variants.
[0031] For step C, t...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com