Function: createNodeImageProgram()
createNodeImageProgram<
N
,E
,G
>(options
?):NodeProgramType
<N
,E
,G
>
To share the texture between the program instances of the graph and the hovered nodes (to prevent some flickering, mostly), this program must be "built" for each sigma instance:
Type Parameters
• N extends Attributes
= Attributes
• E extends Attributes
= Attributes
• G extends Attributes
= Attributes
Parameters
• options?: Partial
<CreateNodeImageProgramOptions
<N
, E
, G
>>
Returns
NodeProgramType
<N
, E
, G
>