Microsoft DirectX 9.0 SDK Update (October 2004)

PrtEngine.SetPerTexelAlbedo Method

Language:

Note: This documentation is preliminary and is subject to change.

Sets an albedo value for each texel, overwriting previous albedo values.

Definition

Visual Basic .NET Public Sub SetPerTexelAlbedo( _
    ByVal albedoTexture As Texture, _
    ByVal numberChannels As Integer, _
    ByVal gutterHelper As TextureGutterHelper _
)
C# public void SetPerTexelAlbedo(
    Texture albedoTexture,
    int numberChannels,
    TextureGutterHelper gutterHelper
);
Managed C++ public: void SetPerTexelAlbedo(
    Texture *albedoTexture,
    int numberChannels,
    TextureGutterHelper *gutterHelper
);
JScript .NET public function SetPerTexelAlbedo(
    albedoTexture : Texture,
    numberChannels : int,
    gutterHelper : TextureGutterHelper
);

Parameters

albedoTexture Microsoft.DirectX.Direct3D.Texture. A Texture object in which to store albedo values.
numberChannels 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.
gutterHelper Microsoft.DirectX.Direct3D.TextureGutterHelper. A TextureGutterHelper object used to set gutter regions for the texture.

Remarks

Exceptions
InvalidCallException The method call is invalid. For example, a method's parameter might contain an invalid value.
NotAvailableException This device does not support the queried technique.
OutOfMemoryException Leave Site Microsoft® Direct3D® could not allocate sufficient memory to complete the call.
OutOfVideoMemoryException Direct3D does not have enough display memory to perform the operation.
WasStillDrawingException The previous blit operation that is transferring information to or from this surface is incomplete.


© 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