PrtEngine.SetPerVertexAlbedo(Array,Int32) Method (Microsoft.DirectX.Direct3D)
Sets an albedo value for each mesh vertex, overwriting previous albedo values.
Definition
Visual Basic Public Sub SetPerVertexAlbedo( _
ByVal dataIn As Array, _
ByVal numberChannel As Integer _
)C# public void SetPerVertexAlbedo(
Array dataIn,
int numberChannel
);C++ public:
void SetPerVertexAlbedo(
Array^ dataIn,
int numberChannel
);JScript public function SetPerVertexAlbedo(
dataIn : Array,
numberChannel : int
);
Parameters
dataIn System.Array
An array of albedo data of the first sample.numberChannel System.Int32
Number of color channels to set. Set to 1 to specify gray materials (R = G = B), or 3 to enable color bleeding effects.
Remarks
Exceptions
The method call is invalid. For example, a method's parameter might contain an invalid value.
Microsoft Direct3D could not allocate sufficient memory to complete the call.