Inheritance diagram for HPS.DrawWindowEvent:
HPS.DriverEvent

Public Types

enum  BackgroundTextureFormat { BackgroundTextureFormat.RGBA = 0, BackgroundTextureFormat.BGRA = 1, BackgroundTextureFormat.ImageExternal = 2, BackgroundTextureFormat.LumaChromaPair = 3 }
 
- Public Types inherited from HPS.DriverEvent
enum  StereoMatrix { ViewLeft = 0, ViewRight = 1, ProjectionLeft = 2, ProjectionRight = 3 }
 

Public Member Functions

override void Dispose ()
 
void DrawTexturedBackground (IntPtr in_texture, HPS.DrawWindowEvent.BackgroundTextureFormat in_format, HPS.MatrixKit in_matrix, HPS.IntRectangle in_extent)
 
 DrawWindowEvent (IntPtr in_nr)
 
 DrawWindowEvent (HPS.DrawWindowEvent in_that)
 
new IntPtr GetClassID ()
 
- Public Member Functions inherited from HPS.DriverEvent
 DriverEvent (HPS.DriverEvent in_that)
 
delegate void DtorDelegate (IntPtr cPtr)
 
IntPtr GetClassID ()
 
IntPtr GetGraphicsContext ()
 
IntPtr GetSurface (int index)
 
void SetStereoMatrix (HPS.DriverEvent.StereoMatrix id, HPS.MatrixKit in_matrix)
 

Protected Member Functions

override void deleteCptr ()
 
- Protected Member Functions inherited from HPS.DriverEvent
virtual bool DerivedClassHasMethod (string methodName, System.Type[] methodTypes)
 
virtual bool IsUserDerived ()
 

Properties

HPS.IntRectangle Extent [get, set]
 

Additional Inherited Members

- Static Protected Member Functions inherited from HPS.DriverEvent
static void DtorCallback (IntPtr p)
 
- Protected Attributes inherited from HPS.DriverEvent
bool cMemOwn
 
HandleRef cptr
 
- Static Protected Attributes inherited from HPS.DriverEvent
static Dictionary< IntPtr, DriverEventcachedObjects = new Dictionary<IntPtr, DriverEvent>()
 
static ReaderWriterLockSlim mapLock = new ReaderWriterLockSlim(LockRecursionPolicy.SupportsRecursion)
 

Detailed Description

The DrawWindowEvent class is the event generated when the driver draws the window background for each subwindow.

Member Enumeration Documentation

◆ BackgroundTextureFormat

Enumerates the various texture formats supported by the DrawTexturedBackground function .

Enumerator
RGBA 

Handle to single GL_RGBA format texture.

BGRA 

Same as RGBA but with swapped red and blue channels.

ImageExternal 

Handle to single OES_EGL_image_external texture.

LumaChromaPair 

Pointer to array of two GL texture handles for YpCbCr texture pair (GL_LUMINANCE, GL_LUMINANCE_ALPHA formats).

Member Function Documentation

◆ DrawTexturedBackground()

void HPS.DrawWindowEvent.DrawTexturedBackground ( IntPtr  in_texture,
HPS.DrawWindowEvent.BackgroundTextureFormat  in_format,
HPS.MatrixKit  in_matrix,
HPS.IntRectangle  in_extent 
)
inline

Function for drawing a platform-specific texture in place of the normal window background.

Parameters
in_textureThe platform-specific texture handle(s)
in_formatThe format of the texture(s) provided through the 'in_texture' parameter.
in_matrixA transformation to apply to the uv coordinates used to draw the texture to the window.
in_extentThe screen extent for the window background to be drawn.

The documentation for this class was generated from the following file:
  • internals/hps_core/source/cs/HPS.DrawWindowEvent.cs