cocos2d-x  3.1rc0
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
sealed Class Reference

#include <Direct3DInterop.h>

Inheritance diagram for sealed:

Public Member Functions

 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 Attributes

event RequestAdditionalFrameHandler RequestAdditionalFrame
property
Windows::Graphics::Display::DisplayOrientations 
WindowOrientation
property Windows::Foundation::Size WindowBounds

Protected Member Functions

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 LARGE_INTEGER *presentTargetTime, _Inout_ DrawingSurfaceSizeF *desiredRenderTargetSize)
HRESULT Draw (_In_ ID3D11Device1 *device, _In_ ID3D11DeviceContext1 *context, _In_ ID3D11RenderTargetView *renderTargetView)
bool SendCocos2dEvent (Cocos2dEvent event)

Protected Attributes

internal __pad0__: HRESULT Connect(_In_ IDrawingSurfaceRuntimeHostNative* host
internal _In_ ID3D11Device1 * device

Member Function Documentation

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 LARGE_INTEGER *  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 
)

Member Data Documentation

internal __pad0__
protected
internal _In_ ID3D11Device1* device
protected
event
RequestAdditionalFrameHandler
RequestAdditionalFrame
property
Windows::Foundation::Size
WindowBounds
property
Windows::Graphics::Display::DisplayOrientations
WindowOrientation

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