SilverScreen Solid Modeler

get_direct_pointer

get_direct_pointer

Previous topic Next topic  

get_direct_pointer

Previous topic Next topic JavaScript is required for the print function  

SilverScreenAPI

 

char *get_direct_pointer ( int which_pointer )

 

int which_pointer;         // SilverScreen variable

 

 

 




Synopsis

#include "silver.h"

#include "ssnodes.h"

 

The get_direct_pointer function retrieves a pointer to the specified SilverScreen variable, represented by which_pointer.

 

 

Parameters

which_pointer is an integer that determines the type of pointer requested. Direct pointer variables are defined in silver.h:

 

Constant

Meaning

DP_LIGHT_LIST

retrieve pointer to first LIGHT_NODE structure in the drawing

 

 

Return Value

get_direct_pointer returns the given pointer, if the variable exists, and NULL if not.

 

 

See Also

get_ambient_light