clone
fun clone(vertexFormat: VertexFormat, result: VertexFormat? = definedExternally): VertexFormat(source)
Duplicates a VertexFormat instance.
Return
The modified result parameter or a new VertexFormat instance if one was not provided. (Returns undefined if vertexFormat is undefined)
Parameters
vertexFormat
The vertex format to duplicate.
result
The object onto which to store the result.