Uncategorized APIClass ObjectTexture2D ClassOn this pageTexture2D Class Description: A record represents Texture2D class object. __call Type: Metamethod. Description: Creates a texture object from the given file. Signature: metamethod __call: function(self: Texture2DClass, filename: string): Texture2D | nil Parameters: ParameterTypeDescriptionfilenamestringThe file name of the texture. Returns: Return TypeDescriptionTexture2DThe texture object.