DXSAMPLE method

Constructs a DXSAMPLE object with members initialized to the specified values.

Syntax

object.DXSAMPLE(alpha, red, green, blue);

Parameters

  • alpha [in]
    Type: const BYTE

    Value of type BYTE that specifies the alpha channel intensity for this sample.

  • red [in]
    Type: const BYTE

    Value of type BYTE that specifies the intensity of the color red for this sample.

  • green [in]
    Type: const BYTE

    Value of type BYTE that specifies the intensity of the color green for this sample.

  • blue [in]
    Type: const BYTE

    Value of type BYTE that specifies the intensity of the color blue for this sample.

Return value

This method does not return a value.