SKIndexedMeshBuilder.Build Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| Build() |
Builds an indexed mesh using the configured vertex buffer, index buffer, uniforms, children, mode, and bounds. |
| Build(String) |
Builds an indexed mesh using the configured vertex buffer, index buffer, uniforms, children, mode, and bounds, reporting any validation errors. |
Build()
Builds an indexed mesh using the configured vertex buffer, index buffer, uniforms, children, mode, and bounds.
public override SkiaSharp.SKMesh? Build();
Returns
The mesh, or null if it could not be built.
Applies to
Build(String)
Builds an indexed mesh using the configured vertex buffer, index buffer, uniforms, children, mode, and bounds, reporting any validation errors.
public override SkiaSharp.SKMesh? Build(out string? errors);
Parameters
- errors
- String
When this method returns, contains the message describing why creation failed, or null on success.
Returns
The mesh, or null if it could not be built.