PrtEngine.SetPerVertexAlbedo Method
|
Language: |
Note: This documentation is preliminary and is subject to change.
Sets an albedo value for each mesh vertex, overwriting previous albedo values.
Definition
Visual Basic .NET |
Public Sub SetPerVertexAlbedo( _ ByVal dataIn As Array, _ ByVal numberChannel As Integer _ ) |
C# |
public void SetPerVertexAlbedo( Array dataIn, int numberChannel ); |
Managed C++ |
public: void SetPerVertexAlbedo( Array *dataIn, int numberChannel ); |
JScript .NET |
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
InvalidCallException
|
The method call is invalid. For example, a method's parameter might contain an invalid value. |
OutOfMemoryException  |
Microsoft® Direct3D® could not allocate sufficient memory to complete the call. |
© 2004 Microsoft Corporation. All rights reserved. Terms of use.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center