GetSubroutineTypes Data Member Function

Populates a <NodeBuffer> object with <Node> objects that represent the subroutine types. For example, in the declaration 'subroutine( RenderOutputColor ) vec4 SetFragmentColorRed()', this function populates the <List> object with pointers to the <Node> object that defines 'RenderOutputColor'. If a subroutine references multiple prototypes, those will be included as well. For example, in the declaration 'subroutine( RenderOutputColor, RenderLightColor ) vec4 SetFragmentColorRed()', pointers to the <Node> objects that implement 'RenderOutputColor' and 'RenderLightColor' will be added to the <List>. The <List> object does not own the objects with which it is populated.

Prototype

int32 GetSubroutineTypes( QualifierList p_oQualifierList, NodeBuffer p_apBuffer )

Parameters

Parameter Type Parameter Name Documentation
<QualifierList>p_oQualifierListA pointer to the <QualifierList> you wish to search.
<NodeBuffer>p_apBufferA pointer to the <NodeBuffer> you wish to populate with pointers to subroutine function prototypes.

Examples

Copy Text To Clipboard

None published. Please look for an example in the Scenome Scripting Language code base.