diff options
author | fesily <fesil@foxmail.com> | 2024-01-10 11:03:21 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-10 11:03:21 +0800 |
commit | 1e7bb72ad3ff2b75a1c55ee4bc53004cb7fe30f7 (patch) | |
tree | dd94cf09b9e3a675a73a9f1d41248d1538165997 /meta/3rd/Cocos4.0/library/cc/ShaderCache.lua | |
parent | bb6e172d6166190bd4edd3bb56230a7d60ebcb93 (diff) | |
parent | 37779f9b2493e51e59e1e4366bf7dcb8350e69bd (diff) | |
download | lua-language-server-1e7bb72ad3ff2b75a1c55ee4bc53004cb7fe30f7.zip |
Merge branch 'LuaLS:master' into plugin-add-OnTransformAst
Diffstat (limited to 'meta/3rd/Cocos4.0/library/cc/ShaderCache.lua')
m--------- | meta/3rd/Cocos4.0 | 0 | ||||
-rw-r--r-- | meta/3rd/Cocos4.0/library/cc/ShaderCache.lua | 30 |
2 files changed, 0 insertions, 30 deletions
diff --git a/meta/3rd/Cocos4.0 b/meta/3rd/Cocos4.0 new file mode 160000 +Subproject c0b2259e0d367561fd4563ae114b029b4dfe3a8 diff --git a/meta/3rd/Cocos4.0/library/cc/ShaderCache.lua b/meta/3rd/Cocos4.0/library/cc/ShaderCache.lua deleted file mode 100644 index e27a855b..00000000 --- a/meta/3rd/Cocos4.0/library/cc/ShaderCache.lua +++ /dev/null @@ -1,30 +0,0 @@ ----@meta - ----@class cc.ShaderCache :cc.Ref -local ShaderCache={ } -cc.ShaderCache=ShaderCache - - - - ----* Remove all unused shaders. ----@return cc.backend.ShaderCache -function ShaderCache:removeUnusedShader () end ----* purges the cache. It releases the retained instance. ----@return cc.backend.ShaderCache -function ShaderCache:destroyInstance () end ----* Create a vertex shader module and add it to cache.<br> ----* If it is created before, then just return the cached shader module.<br> ----* param shaderSource The source code of the shader. ----@param shaderSource string ----@return cc.backend.ShaderModule -function ShaderCache:newVertexShaderModule (shaderSource) end ----* Create a fragment shader module.<br> ----* If it is created before, then just return the cached shader module.<br> ----* param shaderSource The source code of the shader. ----@param shaderSource string ----@return cc.backend.ShaderModule -function ShaderCache:newFragmentShaderModule (shaderSource) end ----* returns the shared instance ----@return cc.backend.ShaderCache -function ShaderCache:getInstance () end
\ No newline at end of file |