RhinoDoc.SupportsRenderPrimitiveList Method

RhinoDocSupportsRenderPrimitiveList Method

Determines if custom render meshes will be built for this document (i.e. - GH meshes).

Namespace:  Rhino
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.9
Syntax
public bool SupportsRenderPrimitiveList(
	ViewportInfo viewport,
	DisplayPipelineAttributes attrs
)
Public Function SupportsRenderPrimitiveList ( 
	viewport As ViewportInfo,
	attrs As DisplayPipelineAttributes
) As Boolean

Parameters

viewport
Type: Rhino.DocObjectsViewportInfo
The viewport being rendered.
attrs
Type: Rhino.DisplayDisplayPipelineAttributes
Type of mesh to build. If attrs is non-null then a smaller mesh may be generated in less time, false is meant when actually rendering.

Return Value

Type: Boolean
Returns true if custom render mesh(es) will get built for this document.
See Also