NiScreenFillingRenderView
来源:互联网 发布:单片机控制舵机 编辑:程序博客网 时间:2024/06/15 18:39
NiScreenFillingRenderView
: public NiRenderView
<NiScreenFillingRenderView.h>
Description
这个类是包含screen-filling NiMeshScreenElements 的render view,它最重要的用处就是绘制全屏效果 和 将一个渲染target上渲染一个单独的纹理。
虚函数
virtual void SetCameraData(const NiRect<float>& kViewport)
Overridden from NiRenderView. This function simply callsSetScreenSpaceCameraData on the renderer.
virtual void CalculatePVGeometry()
Overridden from NiRenderView. This function first updates the property and effect states for the screen-fillingNiMeshScreenElements object, if necessary. It then adds the screen-filling quad to the potentially visible geometry array.
virtual void AttachProperty(NiProperty* pkProperty) = 0
virtual void DetachProperty(NiProperty* pkProperty) = 0
virtual void DetachAllProperties() = 0
virtual NiProperty* GetProperty(int iType) const = 0
virtual NiPropertyPtr RemoveProperty(int iType) = 0
These functions allow the properties on the screen-filling quad to be manipulated.UpdateProperties is called, if necessary, in theCalculatePVGeometry function.
virtual NiRenderObject& GetScreenFillingQuad() const = 0
This function returns a reference to the screen-filling quad geometry object. This is primarily so that materials and shaders can be modified on the object.
Supported Member Functions
void AttachEffect(NiDynamicEffect* pkEffect)
void DetachEffect(NiDynamicEffect* pkEffect)
void DetachAllEffects()
These functions allow dynamic effects to be associated with the screen-filling quad.UpdateEffects is called, if necessary, in the CalculatePVGeometry function.
- NiScreenFillingRenderView
- MyEclipse 8.5 ~ 9.0 安装svn插件方法
- 解读Ext.util.MixedCollection(一)之基本操作
- 在一个层中 其中的a或是其它的元素 自动换行,不会串行
- Linux下数组非法访问导致内存破坏 —— 引发segmentation fault的原因
- Android中常用的权限
- NiScreenFillingRenderView
- 各种程序设计的范型
- Android面试题:sim卡的EF 文件有何作用
- hibernate中lazy的使用
- 监控视频线种类 视频信号传输介绍及各种视频接口的传输距离
- HTC-G4刷机过程
- jQuery: New Default In Rails
- C#中ArrayList类的用法 - 工欲善其事必先利其器
- libjingle源码解析(2)--libjingle是怎么运作的?