表示テーマ
GraphicsRuntimeState
GraphicsRuntimeStateはプロジェクト設定で使用する型です。下記にゲームコードから利用できる宣言を掲載します。
型の情報
- 名前空間:
NEMEngine - 型:
NEMEngine.GraphicsRuntimeState(Class)
displayOutput
csharp
public DisplayOutputMode displayOutputSDR、HDR10、scRGBの表示出力方式です。対応ディスプレイとOS設定が必要です。
操作:読取専用。
doubleBufferingEnabled
csharp
public bool doubleBufferingEnabled現在2つのGPU frame contextを使用しているかを取得します。
操作:読取専用。
inlineRayTracingSupported
csharp
public bool inlineRayTracingSupportedGPUがInline Ray Tracingを使えるかを取得します。
操作:読取専用。
meshShaderEnabled
csharp
public bool meshShaderEnabled現在Mesh Shader経路を使用しているかを取得します。
操作:読取専用。
meshShaderSupported
csharp
public bool meshShaderSupportedGPUがMesh Shaderに対応するかを取得します。
操作:読取専用。
presentTargetFrameRate
csharp
public int presentTargetFrameRate現在の表示に使用するFPS目標です。希望値と有効な待機方式を反映しています。
操作:読取専用。
rayTracingReflectionsEnabled
csharp
public bool rayTracingReflectionsEnabled現在Ray Tracing反射の経路を使用しているかを取得します。
操作:読取専用。
rayTracingShadowsEnabled
csharp
public bool rayTracingShadowsEnabled現在Inline Ray Tracing影を使用しているかを取得します。
操作:読取専用。
rayTracingSupported
csharp
public bool rayTracingSupportedGPUがRay Tracing経路に対応するかを取得します。
操作:読取専用。
実行時の扱い
Nativeと接続する操作は、Scriptが実行される有効なWorld内で使用します。破棄したGameObjectやComponentへのアクセスは避けてください。設定Snapshotは取得・編集・反映を1組で扱います。