IRenderTexture class
IRenderTexture class
The interface of render texture
The IRenderTexture type exposes the following members:
Properties
| Property | Description |
|---|---|
| targets | Color output targets. |
| depth_texture | Depth buffer texture |
| size | Gets or sets the size of the render target. |
| viewports | Gets all viewports that associated with this render target. |
Methods
| Method | Description |
|---|---|
create_viewport(self, camera, background_color, rect) | Create a viewport with specified background color and position/size in specified camera perspective. |
create_viewport(self, camera, rect) | Create a viewport with position/size in specified camera perspective. |
create_viewport(self, camera) | Create a viewport in specified camera perspective. |
See Also
- module
aspose.threed.render - class
IRenderTarget