diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2022-08-13 01:23:32 +0800 |
commit | 04fa96b7c0abba4d7cca03ed12ff3b65b3912e01 (patch) | |
tree | c0c8a2c0e92d0580280f838ba475875c7f82a73c /meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua | |
parent | c30c5c2e267f6917600afe4f19e1e0d674bad9c6 (diff) | |
download | lua-language-server-04fa96b7c0abba4d7cca03ed12ff3b65b3912e01.zip |
fix #1431
Diffstat (limited to 'meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua')
-rw-r--r-- | meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua b/meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua deleted file mode 100644 index e880e7cd..00000000 --- a/meta/3rd/Cocos4.0/library/ccb.TextureBackend.lua +++ /dev/null @@ -1,51 +0,0 @@ ----@meta - ----@class ccb.TextureBackend :cc.Ref -local TextureBackend={ } -ccb.TextureBackend=TextureBackend - - - - ----* Get texture format.<br> ----* return Texture format. ----@return int -function TextureBackend:getTextureFormat () end ----* Get texture type. Symbolic constant value can be either TEXTURE_2D or TEXTURE_CUBE.<br> ----* return Texture type. ----@return int -function TextureBackend:getTextureType () end ----* Update sampler<br> ----* param sampler Specifies the sampler descriptor. ----@param sampler cc.backend.SamplerDescriptor ----@return cc.backend.TextureBackend -function TextureBackend:updateSamplerDescriptor (sampler) end ----* Update texture description.<br> ----* param descriptor Specifies texture and sampler descriptor. ----@param descriptor cc.backend.TextureDescriptor ----@return cc.backend.TextureBackend -function TextureBackend:updateTextureDescriptor (descriptor) end ----* Get texture usage. Symbolic constant can be READ, WRITE or RENDER_TARGET.<br> ----* return Texture usage. ----@return int -function TextureBackend:getTextureUsage () end ----* Check if mipmap had generated before.<br> ----* return true if the mipmap has always generated before, otherwise false. ----@return boolean -function TextureBackend:hasMipmaps () end ----* / Generate mipmaps. ----@return cc.backend.TextureBackend -function TextureBackend:generateMipmaps () end ----* Read a block of pixels from the drawable texture<br> ----* param x,y Specify the window coordinates of the first pixel that is read from the drawable texture. This location is the lower left corner of a rectangular block of pixels.<br> ----* param width,height Specify the dimensions of the pixel rectangle. width and height of one correspond to a single pixel.<br> ----* param flipImage Specifies if needs to flip the image.<br> ----* param callback Specifies a call back function to deal with the image. ----@param x unsigned_int ----@param y unsigned_int ----@param width unsigned_int ----@param height unsigned_int ----@param flipImage boolean ----@param callback function ----@return cc.backend.TextureBackend -function TextureBackend:getBytes (x,y,width,height,flipImage,callback) end
\ No newline at end of file |