C# Class ScriptRuntime.RenderToTexture

渲染到纹理
Inheritance: Texture
Exibir arquivo Open project: Genesis-3D/Genesis-3D Class Usage Examples

Public Methods

Method Description
RenderToTexture ( ) : System

默认构造函数

Setup ( int width, int height, PixelFormat format, ClearFlag flag, System.Vector4 &color, bool useDepth ) : void

创建一个用户自定义的渲染到纹理

Setup ( int width, int height, PixelFormat format, ClearFlag flag, System.Vector4 &color, bool useDepth, float screenRatio ) : void

创建一个用户自定义的渲染到纹理

Private Methods

Method Description
GetTextureHandlePtr ( ) : IntPtr
ICall_RenderToTexture_Bind ( RenderToTexture self ) : void
ICall_RenderToTexture_GetTextureHandlePtr ( RenderToTexture self ) : IntPtr
ICall_RenderToTexture_Release ( RenderToTexture self ) : void
ICall_RenderToTexture_Setup ( RenderToTexture self, int width, int height, int pixelFormat, uint flag, System.Vector4 &color, bool useDepth, float screenRatio, int antiAliasQuality, int texLeft, int texRight, int texTop, int texBottom ) : void
RenderToTexture ( DummyClass__ dummyObj ) : System

Method Details

RenderToTexture() public method

默认构造函数
public RenderToTexture ( ) : System
return System

Setup() public method

创建一个用户自定义的渲染到纹理
public Setup ( int width, int height, PixelFormat format, ClearFlag flag, System.Vector4 &color, bool useDepth ) : void
width int 渲染到纹理的宽度
height int 渲染到纹理的高度
format PixelFormat 渲染到纹理的格式
flag ClearFlag 渲染到纹理的渲染标志
color System.Vector4 渲染到纹理的颜色
useDepth bool 渲染到纹理是否使用深度
return void

Setup() public method

创建一个用户自定义的渲染到纹理
public Setup ( int width, int height, PixelFormat format, ClearFlag flag, System.Vector4 &color, bool useDepth, float screenRatio ) : void
width int 渲染到纹理的宽度
height int 渲染到纹理的高度
format PixelFormat 渲染到纹理的格式
flag ClearFlag 渲染到纹理的渲染标志
color System.Vector4 渲染到纹理的颜色
useDepth bool 渲染到纹理是否使用深度
screenRatio float 渲染到纹理的纵横比
return void