summaryrefslogtreecommitdiff
path: root/meta/3rd/Cocos4.0/cc.TextureCube.lua
diff options
context:
space:
mode:
Diffstat (limited to 'meta/3rd/Cocos4.0/cc.TextureCube.lua')
-rw-r--r--meta/3rd/Cocos4.0/cc.TextureCube.lua38
1 files changed, 38 insertions, 0 deletions
diff --git a/meta/3rd/Cocos4.0/cc.TextureCube.lua b/meta/3rd/Cocos4.0/cc.TextureCube.lua
new file mode 100644
index 00000000..fbca406f
--- /dev/null
+++ b/meta/3rd/Cocos4.0/cc.TextureCube.lua
@@ -0,0 +1,38 @@
+
+---@class cc.TextureCube :cc.Ref
+local TextureCube={ }
+cc.TextureCube=TextureCube
+
+
+
+
+---* reload texture cube after GLESContext reconstructed.
+---@return boolean
+function TextureCube:reloadTexture () end
+---*
+---@return cc.backend.TextureBackend
+function TextureCube:getBackendTexture () end
+---* Sets the min filter, mag filter, wrap s and wrap t texture parameters.<br>
+---* If the texture size is NPOT (non power of 2), then in can only use GL_CLAMP_TO_EDGE in GL_TEXTURE_WRAP_{S,T}.
+---@param r cc.backend.SamplerDescripto
+---@return self
+function TextureCube:setTexParameters (r) end
+---* create cube texture from 6 textures.<br>
+---* param positive_x texture for the right side of the texture cube face.<br>
+---* param negative_x texture for the up side of the texture cube face.<br>
+---* param positive_y texture for the top side of the texture cube face<br>
+---* param negative_y texture for the bottom side of the texture cube face<br>
+---* param positive_z texture for the forward side of the texture cube face.<br>
+---* param negative_z texture for the rear side of the texture cube face.<br>
+---* return A new texture cube inited with given parameters.
+---@param positive_x string
+---@param negative_x string
+---@param positive_y string
+---@param negative_y string
+---@param positive_z string
+---@param negative_z string
+---@return self
+function TextureCube:create (positive_x,negative_x,positive_y,negative_y,positive_z,negative_z) end
+---* Constructor.
+---@return self
+function TextureCube:TextureCube () end \ No newline at end of file