PrtEngine.SetPerVertexAlbedo Method |
Language: |
Sets an albedo value for each mesh vertex, overwriting previous albedo values.
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
);
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.
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.
Send comments about this topic to Microsoft. © Microsoft Corporation. All rights reserved.
Feedback? Please provide us with your comments on this topic.
For more help, visit the DirectX Developer Center