Class ExternalOpenGLDisplay
外部で作成された OpenGL ウィンドウにレンダリングできる特殊なタイプのディスプレイ。
継承されたメンバ
- Display.ThrowIfCannotRender(ImageType)
- Display.CanRender(ImageType)
- Display.DisplayBuffer(ImageBuffer)
- Display.WindowClosed
- Display.Statistics
- Display.RenderPosition
- Display.RenderLeft
- Display.RenderTop
- Display.RenderWidth
- Display.RenderHeight
- HandleObject.Dispose(bool)
- HandleObject.Dispose()
- object.Equals(object)
- object.Equals(object, object)
- object.GetHashCode()
- object.GetType()
- object.MemberwiseClone()
- object.ReferenceEquals(object, object)
- object.ToString()
Namespace: ic4
Assembly: ic4dotnet.dll
構文
public class ExternalOpenGLDisplay : Display, IDisposable, IDisplay
コンストラクタ
ExternalOpenGLDisplay()
新しい外部 OpenGL ディスプレイを作成します。
宣言
public ExternalOpenGLDisplay()
例外
| 型 | 条件 |
|---|---|
| IC4Exception | 詳細については ErrorCode および ToString() を確認してください。 |
メソッド
Initialize()
外部 OpenGL ディスプレイを初期化します。
例外
| 型 | 条件 |
|---|---|
| IC4Exception | 詳細については ErrorCode および ToString() を確認してください。 |
NotifyWindowClosed()
ウィンドウが閉じられたことを表示コンポーネントに通知します。
宣言
public void NotifyWindowClosed()
例外
| 型 | 条件 |
|---|---|
| IC4Exception | 詳細については ErrorCode および ToString() を確認してください。 |
Render(int, int)
利用可能な最新の画像で外部 OpenGL ディスプレイを更新します。
宣言
public void Render(int windowWidth, int windowHeight)
パラメータ
| 型 | 名前 | 説明 |
|---|---|---|
| int | windowWidth | 表示ウィンドウの幅(物理ピクセル単位)。 |
| int | windowHeight | 表示ウィンドウの高さ(物理ピクセル単位)。 |
備考
この関数は、実行スレッドに対して OpenGL コンテキストが有効化された状態(例:makeCurrent)で呼び出す必要があります。
例外
| 型 | 条件 |
|---|---|
| IC4Exception | 詳細については ErrorCode および ToString() を確認してください。 |


