Interface IEdgesRenderer
interface IEdgesRenderer {
customInstances: SmartArray<Matrix>;
isEnabled: boolean;
dispose(): void;
isReady(useInstances?: boolean): boolean;
render(): void;
}
customInstances: SmartArray<Matrix>;
isEnabled: boolean;
dispose(): void;
isReady(useInstances?: boolean): boolean;
render(): void;
}
Hierarchy (View Summary)
- IDisposable
- IEdgesRenderer
Implemented by
Properties
custom Instances
List of instances to render in case the source mesh has instances
is Enabled
isEnabled: boolean
Gets or sets a boolean indicating if the edgesRenderer is active
Methods
dispose
-
Releases all held resources
Returns void
is Ready
-
Checks whether or not the edges renderer is ready to render.
Parameters
OptionaluseInstances: booleanDefines whether the instanced shader variant should be checked. If omitted, the current rendering state is used.
Returns boolean
true if ready, otherwise false.
render
-
Renders the edges of the attached mesh,
Returns void
Defines the minimum contract an Edges renderer should follow.