ID3D10EffectVariable::SetRawValue method (d3d10effect.h)

Set data.

Syntax

HRESULT SetRawValue(
  [in] void *pData,
  [in] UINT Offset,
  [in] UINT ByteCount
);

Parameters

[in] pData

Type: void*

A pointer to the variable.

[in] Offset

Type: UINT

The offset (in bytes) from the beginning of the pointer to the data.

[in] ByteCount

Type: UINT

The number of bytes to set.

Return value

Type: HRESULT

Returns one of the following Direct3D 10 Return Codes.

Remarks

This method does no conversion or type checking; it is therefore a very quick way to access array items.

Requirements

   
Target Platform Windows
Header d3d10effect.h

See also

ID3D10EffectVariable Interface