Tao.Cg SDK Documentation

Cg.cgGetArraySize Method 

Gets the size of an array.

[Visual Basic]
Public Shared Function cgGetArraySize( _
   ByVal param As IntPtr, _
   ByVal dimension As Integer _
) As Integer
[C#]
public static int cgGetArraySize(
   IntPtr param,
   int dimension
);

Parameters

param
Parameter.
dimension
The dimension whose size will be returned.

Return Value

Size of specified parameters dimension.

See Also

Cg Class | Tao.Cg Namespace