Skip to main content

Class GLTextureWrap

OpenGL 3 Implementation of ImGuiScene.TextureWrap. Provides a simple wrapped view of the disposeable resource as well as the handle for ImGui.

Assembly: ImGuiScene.dll
View Source
Declaration
public class GLTextureWrap : TextureWrap, IDisposable

Implements:
ImGuiScene.TextureWrap, System.IDisposable

Properties

ImGuiHandle

A texture handle suitable for direct use with ImGui::Image() etc.

View Source
Declaration
public IntPtr ImGuiHandle { get; }

Width

View Source
Declaration
public int Width { get; }

Height

View Source
Declaration
public int Height { get; }

Methods

Dispose(bool)

View Source
Declaration
protected virtual void Dispose(bool disposing)
Parameters
TypeName
System.Booleandisposing

~GLTextureWrap()

View Source
Declaration
protected ~GLTextureWrap()

Dispose()

View Source
Declaration
public void Dispose()

Implements