diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-07-05 20:51:43 +0800 |
commit | 8fefb8f3e100976235dc83d6ae3785952d11c710 (patch) | |
tree | 459117e6cecc70824273c4d32285cb6eec468098 /meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua | |
parent | b6c18d05410fd4ca209f9c34e0992caf40cf3701 (diff) | |
download | lua-language-server-8fefb8f3e100976235dc83d6ae3785952d11c710.zip |
cleanup
Diffstat (limited to 'meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua | 73 |
1 files changed, 0 insertions, 73 deletions
diff --git a/meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua b/meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua deleted file mode 100644 index a06988b7..00000000 --- a/meta/3rd/Cocos4.0/ccb.Texture2DBackend.lua +++ /dev/null @@ -1,73 +0,0 @@ ----@meta - ----@class ccb.Texture2DBackend :ccb.TextureBackend -local Texture2DBackend={ } -ccb.Texture2DBackend=Texture2DBackend - - - - ----* Get texture height.<br> ----* return Texture height. ----@return unsigned_int -function Texture2DBackend:getHeight () end ----* Get texture width.<br> ----* return Texture width. ----@return unsigned_int -function Texture2DBackend:getWidth () end ----* Update a two-dimensional texture image<br> ----* param data Specifies a pointer to the image data in memory.<br> ----* param width Specifies the width of the texture image.<br> ----* param height Specifies the height of the texture image.<br> ----* param level Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. ----@param data unsigned_char ----@param width unsigned_int ----@param height unsigned_int ----@param level unsigned_int ----@return cc.backend.Texture2DBackend -function Texture2DBackend:updateData (data,width,height,level) end ----* Update a two-dimensional texture image in a compressed format<br> ----* param data Specifies a pointer to the compressed image data in memory.<br> ----* param width Specifies the width of the texture image.<br> ----* param height Specifies the height of the texture image.<br> ----* param dataLen Specifies the totoal size of compressed image in bytes.<br> ----* param level Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image. ----@param data unsigned_char ----@param width unsigned_int ----@param height unsigned_int ----@param dataLen unsigned_int ----@param level unsigned_int ----@return cc.backend.Texture2DBackend -function Texture2DBackend:updateCompressedData (data,width,height,dataLen,level) end ----* Update a two-dimensional texture subimage<br> ----* param xoffset Specifies a texel offset in the x direction within the texture array.<br> ----* param yoffset Specifies a texel offset in the y direction within the texture array.<br> ----* param width Specifies the width of the texture subimage.<br> ----* param height Specifies the height of the texture subimage.<br> ----* param level Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.<br> ----* param data Specifies a pointer to the image data in memory. ----@param xoffset unsigned_int ----@param yoffset unsigned_int ----@param width unsigned_int ----@param height unsigned_int ----@param level unsigned_int ----@param data unsigned_char ----@return cc.backend.Texture2DBackend -function Texture2DBackend:updateSubData (xoffset,yoffset,width,height,level,data) end ----* Update a two-dimensional texture subimage in a compressed format<br> ----* param xoffset Specifies a texel offset in the x direction within the texture array.<br> ----* param yoffset Specifies a texel offset in the y direction within the texture array.<br> ----* param width Specifies the width of the texture subimage.<br> ----* param height Specifies the height of the texture subimage.<br> ----* param dataLen Specifies the totoal size of compressed subimage in bytes.<br> ----* param level Specifies the level-of-detail number. Level 0 is the base image level. Level n is the nth mipmap reduction image.<br> ----* param data Specifies a pointer to the compressed image data in memory. ----@param xoffset unsigned_int ----@param yoffset unsigned_int ----@param width unsigned_int ----@param height unsigned_int ----@param dataLen unsigned_int ----@param level unsigned_int ----@param data unsigned_char ----@return cc.backend.Texture2DBackend -function Texture2DBackend:updateCompressedSubData (xoffset,yoffset,width,height,dataLen,level,data) end
\ No newline at end of file |