TOpenCLValue.Size Method

Overload List

#SignatureDescription
1procedure Size(const Src: TOpenCLBase);Sizes the value to hold one element of the precision and complexity of Src.
2procedure Size(ALength: Integer; aPrecision: TclFloatPrecision; AComplex: Boolean);Sizes the value. A value holds one element: aLength is 1, or 0 to release it.
3function Size(const Src: TOpenCLBase; AComplex: Boolean): TOpenCLBase;Sets the calling object to match the size of the Src object, and changes Complex to aComplex if needed.

Overload 1: procedure Size(const Src: TOpenCLBase);

Sizes the value to hold one element of the precision and complexity of Src.

#NameTypeDescription
1SrcTOpenCLBase

Result: stored in self (calling object)

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

Sizes the value. A value holds one element: aLength is 1, or 0 to release it.

#NameTypeDescription
1ALengthInteger
2aPrecisionTclFloatPrecision
3AComplexBoolean

Result: stored in self (calling object)

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

Sets the calling object to match the size of the Src object, and changes Complex to aComplex if needed.

#NameTypeDescription
1SrcTOpenCLBase
2AComplexBoolean

Returns: TOpenCLBase