IRenderTexture class

IRenderTexture class

The interface of render texture

The IRenderTexture type exposes the following members:

Properties

PropertyDescription
targetsColor output targets.
depth_textureDepth buffer texture
sizeGets or sets the size of the render target.
viewportsGets all viewports that associated with this render target.

Methods

MethodDescription
create_viewportCreate a viewport with specified background color and position/size in specified camera perspective.
create_viewportCreate a viewport with position/size in specified camera perspective.
create_viewportCreate a viewport in specified camera perspective.

See Also