VisualServerMultimeshAllocate Method |
Allocates space for the multimesh data. Format parameters determine how the data will be stored by OpenGL. See VisualServerMultimeshTransformFormat, VisualServerMultimeshColorFormat, and VisualServerMultimeshCustomDataFormat for usage. Equivalent to InstanceCount.
Namespace: Godot
public static void MultimeshAllocate( RID multimesh, int instances, VisualServerMultimeshTransformFormat transformFormat, VisualServerMultimeshColorFormat colorFormat, VisualServerMultimeshCustomDataFormat customDataFormat = VisualServerMultimeshCustomDataFormat.None )
[Missing <param name="multimesh"/> documentation for "M:Godot.VisualServer.MultimeshAllocate(Godot.RID,System.Int32,Godot.VisualServer.MultimeshTransformFormat,Godot.VisualServer.MultimeshColorFormat,Godot.VisualServer.MultimeshCustomDataFormat)"]
[Missing <param name="instances"/> documentation for "M:Godot.VisualServer.MultimeshAllocate(Godot.RID,System.Int32,Godot.VisualServer.MultimeshTransformFormat,Godot.VisualServer.MultimeshColorFormat,Godot.VisualServer.MultimeshCustomDataFormat)"]
[Missing <param name="transformFormat"/> documentation for "M:Godot.VisualServer.MultimeshAllocate(Godot.RID,System.Int32,Godot.VisualServer.MultimeshTransformFormat,Godot.VisualServer.MultimeshColorFormat,Godot.VisualServer.MultimeshCustomDataFormat)"]
[Missing <param name="colorFormat"/> documentation for "M:Godot.VisualServer.MultimeshAllocate(Godot.RID,System.Int32,Godot.VisualServer.MultimeshTransformFormat,Godot.VisualServer.MultimeshColorFormat,Godot.VisualServer.MultimeshCustomDataFormat)"]
[Missing <param name="customDataFormat"/> documentation for "M:Godot.VisualServer.MultimeshAllocate(Godot.RID,System.Int32,Godot.VisualServer.MultimeshTransformFormat,Godot.VisualServer.MultimeshColorFormat,Godot.VisualServer.MultimeshCustomDataFormat)"]