Used to build and manage gutter regions in a texture. Gutter regions separate textures and allow for bilinear interpolation to avoid rendering artifacts at texture boundaries.
Occurs when the Dispose method is called or when the TextureGutterHelper object is finalized and collected by the garbage collector of the .NET common language runtime.
Updates the unmanaged pointer for this TextureGutterHelper object. This method supports the Microsoft .NET Framework infrastructure and is not intended to be used directly in your code.
Note: When used with precomputed radiance transfer (PRT), this class requires a unique parameterization of the model. Every texel must correspond to a single point on the surface of the model and vice-versa. If the model includes multiple textures, it must be split into separate pieces that each contain one gutter helper object per texture.
This class can be used to generate a map in texture space in which each texel is in one of four classes.
Texel Class
Texel Location
0
Invalid point; texel will not be used.
1
Inside triangle.
2
Inside gutter.
4
Inside gutter; texel will be evaluated as a full sample in the ApplyGutters method.
For classes 1 and 2, a texel is stored with the face it belongs to, along with barycentric coordinates of the first two vertices of that face. Gutter vertices are assigned to the closest edge in texture space.