ジャンプ先: 概要. 戻り値. キーワード. フラグ. MEL 例.
ogs [-deviceInformation] [-disposeReleasableTextures] [-dumpTexture string] [-enableHardwareInstancing boolean] [-fragmentEditor string] [-fragmentXML string] [-gpuMemoryTotal int] [-gpuMemoryUsed] [-isLegacyViewportEnabled] [-isRemoteGLSessionEnabled] [-isWinRemoteSession] [-pause] [-rebakeTextures] [-regenerateUVTilePreview string] [-reloadTextures] [-reset] [-shaderSource string] [-toggleTexturePaging] [-traceRenderPipeline boolean]
ogs は、取り消し不可能、照会可能、および編集不可能です。
OGS はビューポート レンダラの 1 つです。機能の統合は多くの手間がかかるため、今後数回のリリースで展開していきます。展開にあたっては慎重を期し、データベースを既知の状態に戻すための安全手段を提供します。これがこのコマンドの機能です。このコマンドは、ディペンデンシー グラフに状態を復帰するために使用する「dgdirty」と同じです。string | 演算の結果を返します。 |
照会モードでは、戻り値のタイプは照会されたフラグに基づきます。
ロング ネーム(ショート ネーム) | 引数タイプ | プロパティ | ||
---|---|---|---|---|
-deviceInformation(-di)
|
|
![]() |
||
|
||||
-disposeReleasableTextures(-drt)
|
|
![]() |
||
|
||||
-dumpTexture(-dt)
|
string
|
![]() |
||
|
||||
-enableHardwareInstancing(-hwi)
|
boolean
|
![]() |
||
|
||||
-fragmentEditor(-fe)
|
string
|
![]() |
||
|
||||
-fragmentXML(-xml)
|
string
|
![]() |
||
|
||||
-gpuMemoryTotal(-gmt)
|
int
|
![]() ![]() |
||
|
||||
-gpuMemoryUsed(-gpu)
|
|
![]() |
||
|
||||
-isLegacyViewportEnabled(-lve)
|
|
![]() |
||
|
||||
-isRemoteGLSessionEnabled(-rgl)
|
|
![]() |
||
|
||||
-isWinRemoteSession(-irs)
|
|
![]() |
||
|
||||
-pause(-p)
|
|
![]() ![]() |
||
|
||||
-rebakeTextures(-rbt)
|
|
![]() |
||
|
||||
-regenerateUVTilePreview(-rup)
|
string
|
![]() |
||
|
||||
-reloadTextures(-rlt)
|
|
![]() |
||
|
||||
-reset(-r)
|
|
![]() ![]() |
||
|
||||
-shaderSource(-ss)
|
string
|
![]() |
||
|
||||
-toggleTexturePaging(-ttp)
|
|
![]() |
||
|
||||
-traceRenderPipeline(-trp)
|
boolean
|
![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// Reset the database for all panels running the OGS renderer. // Returns the list of panels affected. If no panels are running the // OGS renderer, stop OGS from listening to DG changes. ogs -reset // Result: modelPanel1 // // Set the gpu memory limit to 2048 MB. Memory management systems // will attempt to avoid going over this limit. Can be used to reserve // memory for other applications. ogs -gpuMemoryTotal 2048 // Output the current gpu memory limit in MB. ogs -q -gpuMemoryTotal // Result: 2048 // // Output an estimate of the amount of currently allocated gpu memory by // Maya in MB. ogs -gpu // Result: 148 //