RhinoObjectSupportsRenderPrimitiveList Method (ViewportInfo, DisplayPipelineAttributes) |
Note: This API is now obsolete.
Determines if custom render meshes will be built for a particular object.
Namespace:
Rhino.DocObjects
Assembly:
RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax [ObsoleteAttribute("Use HasCustomRenderPrimitives instead")]
public bool SupportsRenderPrimitiveList(
ViewportInfo viewport,
DisplayPipelineAttributes attrs
)
<ObsoleteAttribute("Use HasCustomRenderPrimitives instead")>
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 attributes 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 object.
See Also