PrtEngine.SetPerTexelAlbedo(Texture,Int32,TextureGutterHelper) Method (Microsoft.DirectX.Direct3D)
Sets an albedo value for each texel, overwriting previous albedo values.
Definition
Visual Basic 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
);C++ public:
void SetPerTexelAlbedo(
Texture^ albedoTexture,
int numberChannels,
TextureGutterHelper^ gutterHelper
);JScript 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
The method call is invalid. For example, a method's parameter might contain an invalid value.
This device does not support the queried technique.
Microsoft Direct3D could not allocate sufficient memory to complete the call.
Direct3D does not have enough display memory to perform the operation.
The previous blit operation that is transferring information to or from this surface is incomplete.