frayed

arrays in rendermonkey

Discussion created by frayed on Oct 28, 2008
Latest reply on Oct 30, 2008 by bpurnomo

Hi

 

I am trying to figure out how you use arrays through rendermonkey.

Say I have the following code:

float4 sampleOffsets [NUM_SAMPLE_POINTS];

How do I declare the "sampleOffsets" variable in the Workspace window, I cannot find where it is possible to declare such arrays?

Outcomes