GetParamName Class Reference
 
 
 
GetParamName Class Reference

This reference page is linked to from the following overview topics: Obtaining Shader Parameters, NVIDIA Cg Support.


#include <iparamb.h>

Inheritance diagram for GetParamName:
MaxHeapOperators

Class Description

See also:
Class ParamDimension.
Description:
This class is used to hold a parameter name. When a client of a parameter block receives the REFMSG_GET_PARAM_NAME message, the partID field is set to point at one of these structures. The client should fill in the parameter name.
Data Members:
MSTR name;

Assign the parameter name to this variable.

int index;

Index of the parameter in the parameter block.

Public Member Functions

  GetParamName (MSTR n, int i)

Public Attributes

MSTR  name
int  index

Constructor & Destructor Documentation

GetParamName ( MSTR  n,
int  i 
) [inline]
Remarks:
Constructor.
{ name=n;index=i; }

Member Data Documentation