AR_Engine_SDK
Functions | Variables
XRenderSystemBase.lua File Reference
类 IXRenderSystemBase 继承关系图:
Inheritance graph
类 IXRenderStatGroup 继承关系图:
Inheritance graph

Functions

function XRenderSystemCaptureParameter new () end
 
function IXRenderSystemBase Init (pParam) end
 
function IXRenderSystemBase Release () end
 
function IXRenderSystemBase RenderSystemRender (renderParam) end
 
function IXRenderSystemBase SetFrameCapture (captureParam) end
 
function IXRenderSystemBase CanSupportTexFormat (nFmtFlag) end
 
function IXRenderSystemBase GetCurTexFormat () end
 
function IXRenderSystemBase GetRendererType () end
 
function IXRenderSystemBase GetRTTID () end
 
function IXRenderSystemBase GetRTFID () end
 
function IXRenderSystemBase ResizeWindow (pWin) end
 
function IXRenderSystemBase CreateRenderWindow (pWin) end
 
function IXRenderSystemBase DestroyRenderWindow (pWin) end
 
function IXRenderSystemBase SwitchCurRenderWindow (pWin) end
 
function IXRenderSystemBase GetCurRenderWindow () end
 
function IXRenderSystemBase RegisterImageEffectProcessor (pProcessor) end
 
function IXRenderSystemBase DeregisterImageEffectProcessor (pProcessor) end
 
function IXRenderSystemBase GetImageEffectProcessor () end
 

Variables

 XRenderSystemCaptureParameter = {}
 

Function Documentation

◆ CanSupportTexFormat()

function IXRenderSystemBase CanSupportTexFormat ( nFmtFlag  )

获取是否支持某种纹理格式

Parameters
nFmtFlagnumber 纹理格式标签值
Returns
boolean 是否支持

◆ CreateRenderWindow()

function IXRenderSystemBase CreateRenderWindow ( pWin  )

创建渲染窗口

Parameters
pWinIXPlatformWindow 渲染窗口
Returns
boolean 是否创建成功

◆ DeregisterImageEffectProcessor()

function IXRenderSystemBase DeregisterImageEffectProcessor ( pProcessor  )

IXRenderSystemBase_DeregisterImageEffectProcessor00

Parameters
pProcessorIXImageEffectProcessor
Returns
void

◆ DestroyRenderWindow()

function IXRenderSystemBase DestroyRenderWindow ( pWin  )

销毁渲染窗口

Parameters
pWinIXPlatformWindow 将被销毁的窗口
Returns
boolean 如果成功销毁,返回xtrue

◆ GetCurRenderWindow()

function IXRenderSystemBase GetCurRenderWindow ( )

获取当前渲染窗口

Returns
IXPlatformWindow 当前渲染窗口

◆ GetCurTexFormat()

function IXRenderSystemBase GetCurTexFormat ( )

获取当前纹理格式

Returns
number 纹理格式标签值

◆ GetImageEffectProcessor()

function IXRenderSystemBase GetImageEffectProcessor ( )

IXRenderSystemBase_GetImageEffectProcessor00

Returns
IXImageEffectProcessor

◆ GetRendererType()

function IXRenderSystemBase GetRendererType ( )

获取渲染器类型

Returns
number 渲染器类型

◆ GetRTFID()

function IXRenderSystemBase GetRTFID ( )

IXRenderSystemBase_GetRTFID00

Returns
number

◆ GetRTTID()

function IXRenderSystemBase GetRTTID ( )

获取引擎渲染到纹理时,纹理对应的索引,opengl环境下是纹理的opengl索引值

Returns
number 渲染到纹理时,纹理对应索引

◆ Init()

function IXRenderSystemBase Init ( pParam  )

初始化

Parameters
pParamXRenderSystemInitializeParameter
Returns
boolean 是否初始化成功

◆ new()

XRenderSystemCaptureParameter_new00

Returns
XRenderSystemCaptureParameter

IXRenderSystemBase_new00

Returns
IXRenderSystemBase

◆ RegisterImageEffectProcessor()

function IXRenderSystemBase RegisterImageEffectProcessor ( pProcessor  )

IXRenderSystemBase_RegisterImageEffectProcessor00

Parameters
pProcessorIXImageEffectProcessor
Returns
void

◆ Release()

function IXRenderSystemBase Release ( )

释放资源

Returns
void

◆ RenderSystemRender()

function IXRenderSystemBase RenderSystemRender ( renderParam  )

渲染系统参数

Parameters
renderParamXRenderSystemParameter 系统渲染参数
Returns
void

◆ ResizeWindow()

function IXRenderSystemBase ResizeWindow ( pWin  )

调整窗口大小

Parameters
pWinIXPlatformWindow 要调整的窗口对象
Returns
void

◆ SetFrameCapture()

function IXRenderSystemBase SetFrameCapture ( captureParam  )

渲染系统参数

Parameters
captureParamXRenderSystemCaptureParameter 渲染参数
Returns
void

◆ SwitchCurRenderWindow()

function IXRenderSystemBase SwitchCurRenderWindow ( pWin  )

切换pWin为当前渲染的窗口

Parameters
pWinIXPlatformWindow
Returns
boolean 如果切换成功,返回xtrue

Variable Documentation

◆ XRenderSystemCaptureParameter