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
| Name | Type | Access | Description |
|---|---|---|---|
Targets | IList<ITextureUnit> | Read | Color output targets. |
DepthTexture | ITextureUnit | Read | Depth buffer texture |
Size | Vector2 | Read/Write | Gets or sets the size of the render target. |
Viewports | IList<Viewport> | Read | Gets all viewports that associated with this render target. |
Methods
| Signature | Description |
|---|---|
CreateViewport(camera: Camera, backgroundColor: Vector3, rect: RelativeRectangle) | Create a viewport with specified background color and position/size in specified camera perspective. |