VisualServerTextureAllocate Method |
Allocates the GPU memory for the texture.
Namespace: Godot
public static void TextureAllocate( RID texture, int width, int height, int depth3d, ImageFormat format, VisualServerTextureType type, uint flags = 7 )
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="width"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="height"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="depth3d"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="format"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="type"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]
[Missing <param name="flags"/> documentation for "M:Godot.VisualServer.TextureAllocate(Godot.RID,System.Int32,System.Int32,System.Int32,Godot.Image.Format,Godot.VisualServer.TextureType,System.UInt32)"]