cocos2d-x 3.0
- 首页 - 相关页面 - 模块 - 命名空间 - - 文件 -
Public 成员函数 - 图1 Public 成员函数 - 图2)
- 类列表 - 类索引 - 类继承关系 - 类成员

全部)) 命名空间) 文件) 函数) 变量) 类型定义) 枚举) 枚举值) 属性) 友元) 宏定义)))

Public 成员函数 | Public 属性 | Protected 成员函数 | Protected 属性 | 所有成员列表

sealed类 参考

#include

类 sealed 继承关系图:

Public 成员函数 - 图3

## Public 成员函数
Direct3DInterop ()
Windows::Phone::Graphics::Interop::IDrawingSurfaceBackgroundContentProvider CreateContentProvider ()
virtual void SetManipulationHost (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^manipulationHost)
void UpdateForWindowSizeChange (float width, float height)
Windows::Foundation::IAsyncAction OnSuspending ()
void OnBackKeyPress ()
void OnCocos2dKeyEvent (Cocos2dKeyEvent key)
void OnCocos2dKeyEvent (Cocos2dKeyEvent key, Platform::String^text)
void OnCocos2dEditboxEvent (Platform::Object^sender, Platform::String^args, Windows::Foundation::EventHandler< Platform::String^>^handler)
void SetCocos2dEventDelegate (Cocos2dEventDelegate^delegate)
void SetCocos2dMessageBoxDelegate (Cocos2dMessageBoxDelegate^delegate)
void SetCocos2dEditBoxDelegate (Cocos2dEditBoxDelegate^delegate)
## Public 属性
event RequestAdditionalFrameHandler RequestAdditionalFrame
property Windows::Graphics::Display::DisplayOrientations WindowOrientation
property Windows::Foundation::Size WindowBounds
## Protected 成员函数
void OnPointerPressed (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^sender, Windows::UI::Core::PointerEventArgs^args)
void OnPointerMoved (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^sender, Windows::UI::Core::PointerEventArgs^args)
void OnPointerReleased (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^sender, Windows::UI::Core::PointerEventArgs^args)
void Disconnect ()
HRESULT PrepareResources (In const LARGEINTEGER *presentTargetTime, _Inout DrawingSurfaceSizeF desiredRenderTargetSize)
HRESULT Draw (In ID3D11Device1 device, In ID3D11DeviceContext1 context, In ID3D11RenderTargetView renderTargetView)
bool SendCocos2dEvent (Cocos2dEvent event)
## Protected 属性
internal pad0: HRESULT Connect(In IDrawingSurfaceRuntimeHostNative host
internal In ID3D11Device1 device

成员函数说明

Windows::Phone::Graphics::Interop::IDrawingSurfaceBackgroundContentProvider CreateContentProvider ( )

Direct3DInterop ( )

void Disconnect ( )

protected

HRESULT Draw ( In ID3D11Device1 device,
In ID3D11DeviceContext1 context,
In ID3D11RenderTargetView * renderTargetView
)

protected

void OnBackKeyPress ( )

void OnCocos2dEditboxEvent ( Platform::Object^ sender,
Platform::String^ args,
Windows::Foundation::EventHandler< Platform::String^>^ handler
)

void OnCocos2dKeyEvent ( Cocos2dKeyEvent key)

void OnCocos2dKeyEvent ( Cocos2dKeyEvent key,
Platform::String^ text
)

void OnPointerMoved ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender,
Windows::UI::Core::PointerEventArgs^ args
)

protected

void OnPointerPressed ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender,
Windows::UI::Core::PointerEventArgs^ args
)

protected

void OnPointerReleased ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ sender,
Windows::UI::Core::PointerEventArgs^ args
)

protected

Windows::Foundation::IAsyncAction OnSuspending ( )

HRESULT PrepareResources ( In const LARGEINTEGER * presentTargetTime,
_Inout DrawingSurfaceSizeF * desiredRenderTargetSize
)

protected

bool SendCocos2dEvent ( Cocos2dEvent event)

protected

void SetCocos2dEditBoxDelegate ( Cocos2dEditBoxDelegate^ delegate)

void SetCocos2dEventDelegate ( Cocos2dEventDelegate^ delegate)

void SetCocos2dMessageBoxDelegate ( Cocos2dMessageBoxDelegate^ delegate)

virtual void SetManipulationHost ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^ manipulationHost)

virtual

void UpdateForWindowSizeChange ( float width,
float height
)

类成员变量说明

internal pad0

protected

internal In ID3D11Device1* device

protected

event RequestAdditionalFrameHandler RequestAdditionalFrame

property Windows::Foundation::Size WindowBounds

property Windows::Graphics::Display::DisplayOrientations WindowOrientation

该类的文档由以下文件生成:

  • /Users/zeroyang/Documents/github/cocos2d-x/cocos/2d/platform/wp8-xaml/cpp/Direct3DInterop.h