Share via


TextureGutterHelper.TextureGutterHelper(Int32,Int32,Single,Mesh) Constructor (Microsoft.DirectX.Direct3D)

Initializes a new instance of the TextureGutterHelper class.

Definition

Visual Basic Public Sub New( _
    ByVal width As Integer, _
    ByVal height As Integer, _
    ByVal gutterSize As Single, _
    ByVal mesh As Mesh _
)
C# public TextureGutterHelper(
    int width,
    int height,
    float gutterSize,
    Mesh mesh
);
C++ public:
 TextureGutterHelper(
    int width,
    int height,
    float gutterSize,
    Meshmesh
);
JScript public function TextureGutterHelper(
    width : int,
    height : int,
    gutterSize : float,
    mesh : Mesh
);

Parameters

width System.Int32
Width of the texture, in pixels
height System.Int32
Height of the texture, in pixels.
gutterSize System.Single
Number of texels by which to over-sample the texture and create the gutter region. Must be at least 1.
mesh Microsoft.DirectX.Direct3D.Mesh
An input Mesh object.

Remarks

Use PrtEngine.ConcatenateMeshes to transform a scene to new coordinates.

Exceptions

InvalidCallException

The method call is invalid. For example, a method's parameter might contain an invalid value.

OutOfMemoryExceptionLeave Site

Microsoft Direct3D could not allocate sufficient memory to complete the call.