cocos2d-x  3.3rc0
 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::Graphics::Display::DisplayOrientations orientation)
Windows::Phone::Graphics::Interop::IDrawingSurfaceBackgroundContentProvider CreateContentProvider ()
virtual void SetManipulationHost (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^manipulationHost)
var SetManipulationHost ( var manipulationHost)
local SetManipulationHost ( local manipulationHost)
void UpdateForWindowSizeChange (float width, float height)
var UpdateForWindowSizeChange ( var width, var height)
local UpdateForWindowSizeChange ( local width, local height)
Windows::Foundation::IAsyncAction OnSuspending ()
local 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)
var OnCocos2dEditboxEvent ( var sender, var args, var handler)
local OnCocos2dEditboxEvent ( local sender, local args, local handler)
void OnOrientationChanged (Windows::Graphics::Display::DisplayOrientations orientation)
void OnCocos2dOpenURL (Platform::String^url)
void SetCocos2dEventDelegate (Cocos2dEventDelegate^delegate)
void SetCocos2dMessageBoxDelegate (Cocos2dMessageBoxDelegate^delegate)
var SetCocos2dMessageBoxDelegate ( var delegate)
local SetCocos2dMessageBoxDelegate ( local delegate)
void SetCocos2dEditBoxDelegate (Cocos2dEditBoxDelegate^delegate)
void SetCocos2dOpenURLDelegate (Cocos2dOpenURLDelegate^delegate)

Public Attributes

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

Protected Member Functions

void OnPointerPressed (Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^sender, Windows::UI::Core::PointerEventArgs^args)
var OnPointerPressed ( var sender, var args)
local OnPointerPressed ( local sender, local 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)
var OnPointerReleased ( var sender, var args)
local OnPointerReleased ( local sender, local args)
void Disconnect ()
HRESULT PrepareResources (_In_ const LARGE_INTEGER *presentTargetTime, _Inout_ DrawingSurfaceSizeF *desiredRenderTargetSize)
local PrepareResources ( local presentTargetTime, local desiredRenderTargetSize)
HRESULT Draw (_In_ ID3D11Device1 *device, _In_ ID3D11DeviceContext1 *context, _In_ ID3D11RenderTargetView *renderTargetView)
local Draw ( local device, local context, local 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
( )
var CreateContentProvider ( )
local CreateContentProvider ( )
Direct3DInterop ( Windows::Graphics::Display::DisplayOrientations  orientation)
var Direct3DInterop ( var  orientation)
local Direct3DInterop ( local  orientation)
void Disconnect ( )
protected
var Disconnect ( )
protected
local Disconnect ( )
protected
HRESULT Draw ( _In_ ID3D11Device1 *  device,
_In_ ID3D11DeviceContext1 *  context,
_In_ ID3D11RenderTargetView *  renderTargetView 
)
protected
var Draw ( var  device,
var  context,
var  renderTargetView 
)
protected
local Draw ( local  device,
local  context,
local  renderTargetView 
)
protected
void OnBackKeyPress ( )
var OnBackKeyPress ( )
local OnBackKeyPress ( )
void OnCocos2dEditboxEvent ( Platform::Object^  sender,
Platform::String^  args,
Windows::Foundation::EventHandler< Platform::String^>^  handler 
)
var OnCocos2dEditboxEvent ( var  sender,
var  args,
var  handler 
)
local OnCocos2dEditboxEvent ( local  sender,
local  args,
local  handler 
)
void OnCocos2dKeyEvent ( Cocos2dKeyEvent  key)
var OnCocos2dKeyEvent ( var  key)
local OnCocos2dKeyEvent ( local  key)
void OnCocos2dKeyEvent ( Cocos2dKeyEvent  key,
Platform::String^  text 
)
var OnCocos2dKeyEvent ( var  key,
var  text 
)
local OnCocos2dKeyEvent ( local  key,
local  text 
)
void OnCocos2dOpenURL ( Platform::String^  url)
var OnCocos2dOpenURL ( var  url)
local OnCocos2dOpenURL ( local  url)
void OnOrientationChanged ( Windows::Graphics::Display::DisplayOrientations  orientation)
var OnOrientationChanged ( var  orientation)
local OnOrientationChanged ( local  orientation)
void OnPointerMoved ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^  sender,
Windows::UI::Core::PointerEventArgs^  args 
)
protected
var OnPointerMoved ( var  sender,
var  args 
)
protected
local OnPointerMoved ( local  sender,
local  args 
)
protected
void OnPointerPressed ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^  sender,
Windows::UI::Core::PointerEventArgs^  args 
)
protected
var OnPointerPressed ( var  sender,
var  args 
)
protected
local OnPointerPressed ( local  sender,
local  args 
)
protected
void OnPointerReleased ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^  sender,
Windows::UI::Core::PointerEventArgs^  args 
)
protected
var OnPointerReleased ( var  sender,
var  args 
)
protected
local OnPointerReleased ( local  sender,
local  args 
)
protected
Windows::Foundation::IAsyncAction
OnSuspending
( )
var OnSuspending ( )
local OnSuspending ( )
HRESULT PrepareResources ( _In_ const LARGE_INTEGER *  presentTargetTime,
_Inout_ DrawingSurfaceSizeF *  desiredRenderTargetSize 
)
protected
var PrepareResources ( var  presentTargetTime,
var  desiredRenderTargetSize 
)
protected
local PrepareResources ( local  presentTargetTime,
local  desiredRenderTargetSize 
)
protected
bool SendCocos2dEvent ( Cocos2dEvent  event)
protected
var SendCocos2dEvent ( var  event)
protected
local SendCocos2dEvent ( local  event)
protected
void SetCocos2dEditBoxDelegate ( Cocos2dEditBoxDelegate^  delegate)
var SetCocos2dEditBoxDelegate ( var  delegate)
local SetCocos2dEditBoxDelegate ( local  delegate)
void SetCocos2dEventDelegate ( Cocos2dEventDelegate^  delegate)
var SetCocos2dEventDelegate ( var  delegate)
local SetCocos2dEventDelegate ( local  delegate)
void SetCocos2dMessageBoxDelegate ( Cocos2dMessageBoxDelegate^  delegate)
var SetCocos2dMessageBoxDelegate ( var  delegate)
local SetCocos2dMessageBoxDelegate ( local  delegate)
void SetCocos2dOpenURLDelegate ( Cocos2dOpenURLDelegate^  delegate)
var SetCocos2dOpenURLDelegate ( var  delegate)
local SetCocos2dOpenURLDelegate ( local  delegate)
virtual void SetManipulationHost ( Windows::Phone::Input::Interop::DrawingSurfaceManipulationHost^  manipulationHost)
virtual
var SetManipulationHost ( var  manipulationHost)
virtual
local SetManipulationHost ( local  manipulationHost)
virtual
void UpdateForWindowSizeChange ( float  width,
float  height 
)
var UpdateForWindowSizeChange ( var  width,
var  height 
)
local UpdateForWindowSizeChange ( local  width,
local  height 
)

Member Data Documentation

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

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