cohtml::Net::UnityPlugin
Inherits from SystemIDisposable
Public Types #
| Name |
---|
enum class | EventTypes { UET_DrawView = 1, UET_SetRenderTarget = 2, UET_CreateSystemRenderer = 3, UET_CreateViewRenderer = 4, UET_DestroySystemRenderer = 5, UET_DestroyViewRenderer = 6, UET_BackendBeginFrame = 7, UET_BackendEndFrame = 8} |
enum class | RenoirRenderingEvent { RRE_InitializeRenderingResources = 1, RRE_DestroyRenderingResources = 2, RRE_ExecuteCaptureBuffer = 3, RRE_BeginFrame = 4, RRE_EndFrame = 5} |
Public Functions #
| Name |
---|
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, int format, 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() |
void | EnableMemoryTracking(bool enable) |
void | SetUnityVersion(string str) |
Public Properties #
Public Attributes #
Protected Attributes #
Public Types Documentation #
enum EventTypes #
Enumerator | Value | Description |
---|
UET_DrawView | 1 | |
UET_SetRenderTarget | 2 | |
UET_CreateSystemRenderer | 3 | |
UET_CreateViewRenderer | 4 | |
UET_DestroySystemRenderer | 5 | |
UET_DestroyViewRenderer | 6 | |
UET_BackendBeginFrame | 7 | |
UET_BackendEndFrame | 8 | |
enum RenoirRenderingEvent #
Enumerator | Value | Description |
---|
RRE_InitializeRenderingResources | 1 | |
RRE_DestroyRenderingResources | 2 | |
RRE_ExecuteCaptureBuffer | 3 | |
RRE_BeginFrame | 4 | |
RRE_EndFrame | 5 | |
Public Functions Documentation #
function Dispose #
virtual void Dispose()
function EnsureRenoirLibrary #
bool EnsureRenoirLibrary(
LibraryParams arg0
)
function SetRenderTextureData #
void SetRenderTextureData(
global::System.IntPtr texturePtr,
global::System.IntPtr bufferPtr,
uint width,
uint height,
uint antialiasingLevel,
uint wideTexture
)
function SetUserBackground #
void SetUserBackground(
uint systemId,
uint viewId,
global::System.IntPtr texturePtr,
uint width,
uint height,
int format,
uint flipY
)
function ProcessResources #
void ProcessResources(
uint systemId
)
function OnEditorQuit #
void OnEditorQuit()
function DestroySystems #
void DestroySystems()
function OnApplicationQuit #
void OnApplicationQuit()
function UnityRenderEvent #
void UnityRenderEvent(
int eventID
)
function SetShouldUseCSharpBackend #
void SetShouldUseCSharpBackend(
bool shouldUse
)
function SetLibraryMultithreadAwareness #
void SetLibraryMultithreadAwareness(
bool enable
)
function GetAllocationCount #
uint GetAllocationCount()
function GetAllocatedMemory #
uint GetAllocatedMemory()
function GetTotalAllocations #
uint GetTotalAllocations()
function GetTotalsByType #
uint GetTotalsByType(
MemTagsType memtag
)
function GetCurrentBytesByType #
uint GetCurrentBytesByType(
MemTagsType memtag
)
function GetCurrentCountsByType #
uint GetCurrentCountsByType(
MemTagsType memtag
)
function GetTimeSpentInAllocationsNs #
ulong GetTimeSpentInAllocationsNs()
function EnableMemoryTracking #
static void EnableMemoryTracking(
bool enable
)
function SetUnityVersion #
static void SetUnityVersion(
string str
)
Public Property Documentation #
property Instance #
static UnityPlugin Instance;
Public Attributes Documentation #
variable s_Instance #
static UnityPlugin s_Instance;
Protected Attributes Documentation #
variable swigCMemOwn #
bool swigCMemOwn;