1.26.2.1
Prysm
cohtml.Net.UnityPlugin Class Reference
+ Inheritance diagram for cohtml.Net.UnityPlugin:

Public Types

enum  EventTypes {
  EventTypes.UET_DrawView = 1, EventTypes.UET_SetRenderTarget = 2, EventTypes.UET_CreateSystemRenderer = 3, EventTypes.UET_CreateViewRenderer = 4,
  EventTypes.UET_DestroySystemRenderer = 5, EventTypes.UET_DestroyViewRenderer = 6, EventTypes.UET_BackendBeginFrame = 7, EventTypes.UET_BackendEndFrame = 8
}
 
enum  RenoirRenderingEvent {
  RenoirRenderingEvent.RRE_InitializeRenderingResources = 1, RenoirRenderingEvent.RRE_DestroyRenderingResources = 2, RenoirRenderingEvent.RRE_ExecuteCaptureBuffer = 3, RenoirRenderingEvent.RRE_BeginFrame = 4,
  RenoirRenderingEvent.RRE_EndFrame = 5
}
 

Public Member Functions

virtual void Dispose ()
 
bool EnsureRenoirLibrary (LibraryParams arg0)
 
void SetRenderTextureData (global::System.IntPtr texturePtr, global::System.IntPtr bufferPtr, uint width, uint height, uint antialiasingLevel, uint wideTexture)
 
void SetUserBackground (uint systemId, uint viewId, global::System.IntPtr texturePtr, uint width, uint height, uint flipY)
 
void ProcessResources (uint systemId)
 
void OnEditorQuit ()
 
void DestroySystems ()
 
void OnApplicationQuit ()
 
void UnityRenderEvent (int eventID)
 
void SetShouldUseCSharpBackend (bool shouldUse)
 
void SetLibraryMultithreadAwareness (bool enable)
 
uint GetAllocationCount ()
 
uint GetAllocatedMemory ()
 
uint GetTotalAllocations ()
 
uint GetTotalsByType (MemTagsType memtag)
 
uint GetCurrentBytesByType (MemTagsType memtag)
 
uint GetCurrentCountsByType (MemTagsType memtag)
 
ulong GetTimeSpentInAllocationsNs ()
 

Static Public Member Functions

static UnityPlugin Instance ()
 
static void EnableMemoryTracking (bool enable)
 
static void SetUnityVersion (string str)
 

Protected Attributes

bool swigCMemOwn
 

Member Enumeration Documentation

◆ EventTypes

Enumerator
UET_DrawView 
UET_SetRenderTarget 
UET_CreateSystemRenderer 
UET_CreateViewRenderer 
UET_DestroySystemRenderer 
UET_DestroyViewRenderer 
UET_BackendBeginFrame 
UET_BackendEndFrame 

◆ RenoirRenderingEvent

Enumerator
RRE_InitializeRenderingResources 
RRE_DestroyRenderingResources 
RRE_ExecuteCaptureBuffer 
RRE_BeginFrame 
RRE_EndFrame 

Member Function Documentation

◆ DestroySystems()

void cohtml.Net.UnityPlugin.DestroySystems ( )
inline

◆ Dispose()

virtual void cohtml.Net.UnityPlugin.Dispose ( )
inlinevirtual

◆ EnableMemoryTracking()

static void cohtml.Net.UnityPlugin.EnableMemoryTracking ( bool  enable)
inlinestatic

◆ EnsureRenoirLibrary()

bool cohtml.Net.UnityPlugin.EnsureRenoirLibrary ( LibraryParams  arg0)
inline

◆ GetAllocatedMemory()

uint cohtml.Net.UnityPlugin.GetAllocatedMemory ( )
inline

◆ GetAllocationCount()

uint cohtml.Net.UnityPlugin.GetAllocationCount ( )
inline

◆ GetCurrentBytesByType()

uint cohtml.Net.UnityPlugin.GetCurrentBytesByType ( MemTagsType  memtag)
inline

◆ GetCurrentCountsByType()

uint cohtml.Net.UnityPlugin.GetCurrentCountsByType ( MemTagsType  memtag)
inline

◆ GetTimeSpentInAllocationsNs()

ulong cohtml.Net.UnityPlugin.GetTimeSpentInAllocationsNs ( )
inline

◆ GetTotalAllocations()

uint cohtml.Net.UnityPlugin.GetTotalAllocations ( )
inline

◆ GetTotalsByType()

uint cohtml.Net.UnityPlugin.GetTotalsByType ( MemTagsType  memtag)
inline

◆ Instance()

static UnityPlugin cohtml.Net.UnityPlugin.Instance ( )
inlinestatic

◆ OnApplicationQuit()

void cohtml.Net.UnityPlugin.OnApplicationQuit ( )
inline

◆ OnEditorQuit()

void cohtml.Net.UnityPlugin.OnEditorQuit ( )
inline

◆ ProcessResources()

void cohtml.Net.UnityPlugin.ProcessResources ( uint  systemId)
inline

◆ SetLibraryMultithreadAwareness()

void cohtml.Net.UnityPlugin.SetLibraryMultithreadAwareness ( bool  enable)
inline

◆ SetRenderTextureData()

void cohtml.Net.UnityPlugin.SetRenderTextureData ( global::System.IntPtr  texturePtr,
global::System.IntPtr  bufferPtr,
uint  width,
uint  height,
uint  antialiasingLevel,
uint  wideTexture 
)
inline

◆ SetShouldUseCSharpBackend()

void cohtml.Net.UnityPlugin.SetShouldUseCSharpBackend ( bool  shouldUse)
inline

◆ SetUnityVersion()

static void cohtml.Net.UnityPlugin.SetUnityVersion ( string  str)
inlinestatic

◆ SetUserBackground()

void cohtml.Net.UnityPlugin.SetUserBackground ( uint  systemId,
uint  viewId,
global::System.IntPtr  texturePtr,
uint  width,
uint  height,
uint  flipY 
)
inline

◆ UnityRenderEvent()

void cohtml.Net.UnityPlugin.UnityRenderEvent ( int  eventID)
inline

Member Data Documentation

◆ swigCMemOwn

bool cohtml.Net.UnityPlugin.swigCMemOwn
protected