IRenderTexture

IRenderTexture

Overview

IRenderTexture is a interface in Aspose.3D FOSS for .NET. Inherits from: IRenderTarget, IDisposable.

The interface of render texture

This interface provides 1 method for working with IRenderTexture objects in .NET programs. Available methods include: CreateViewport. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: DepthTexture, Size, Targets, Viewports.

Properties

NameTypeAccessDescription
TargetsIList<ITextureUnit>ReadColor output targets.
DepthTextureITextureUnitReadDepth buffer texture
SizeVector2Read/WriteGets or sets the size of the render target.
ViewportsIList<Viewport>ReadGets all viewports that associated with this render target.

Methods

SignatureDescription
CreateViewport(camera: Camera, backgroundColor: Vector3, rect: RelativeRectangle)Create a viewport with specified background color and position/size in specified camera perspective.

See Also

 English