Public Sub New( _ ByVal device As Device, _ ByVal size As Integer, _ ByVal mipLevels As Integer, _ ByVal format As Format, _ ByVal depthStencil As Boolean, _ ByVal depthStencilFormat As DepthFormat _ )
C#
public RenderToEnvironmentMap( Devicedevice, intsize, intmipLevels, Formatformat, booldepthStencil, DepthFormatdepthStencilFormat );
System.Boolean. Set to true if the render surface supports a depth-stencil surface; otherwise, false.
depthStencilFormat
Microsoft.DirectX.Direct3D.DepthFormat. If depthStencil is true, this parameter is a member of the Format enumeration that describes the environment map's depth-stencil format.