You.i Engine
CYISceneNodeUtility::RenderTargetInfo Struct Reference

Detailed Description

A container for a render targer's information. This struct contains the render target, the camera matrix, and the parent of the node for which this information was requested.

Warning
Modifications to the scene tree may result in RenderTargetInfo objects being invalidated. RenderTargetInfo objects should therefore not be cached beyond the scope of the function that obtained a RenderTargetInfo object.
See also
GetRenderTargetInfo
GetRenderTargetInfoForChildrenOf

#include <utility/YiSceneNodeUtility.h>

Public Member Functions

 RenderTargetInfo ()
 

Public Attributes

std::shared_ptr< CYIRenderTargetpRenderTarget
 
glm::mat4 cameraMatrix
 
const CYISceneNodepParent
 

Constructor & Destructor Documentation

CYISceneNodeUtility::RenderTargetInfo::RenderTargetInfo ( )
inline

Member Data Documentation

glm::mat4 CYISceneNodeUtility::RenderTargetInfo::cameraMatrix
const CYISceneNode* CYISceneNodeUtility::RenderTargetInfo::pParent
std::shared_ptr<CYIRenderTarget> CYISceneNodeUtility::RenderTargetInfo::pRenderTarget

The documentation for this struct was generated from the following file: