clValue.Size Method

Overload List

#SignatureDescription
1function Size(const Src: TOpenCLBase; AComplex: Boolean): TOpenCLBase;Obtains the precision (single or double) from Src and sets Complex property to aComplex.
2procedure Size(aPrecision: TclFloatPrecision; AComplex: Boolean);Specify the precision (single or double) and if the value is to be complex or real.

Overload 1: function Size(const Src: TOpenCLBase; AComplex: Boolean): TOpenCLBase;

Obtains the precision (single or double) from Src and sets Complex property to aComplex.

#NameTypeDescription
1SrcTOpenCLBase
2AComplexBoolean

Returns: TOpenCLBase

Overload 2: procedure Size(aPrecision: TclFloatPrecision; AComplex: Boolean);

Specify the precision (single or double) and if the value is to be complex or real.

#NameTypeDescription
1aPrecisionTclFloatPrecision
2AComplexBoolean

Result: stored in self (calling object)