Platform SDK: DirectX

Direct3DDevice7.GetRenderTarget

Direct3DDevice7.GetRenderTarget メソッドは、レンダリング ターゲットとして使用されている DirectDrawSurface7 オブジェクトを取得する。

object.GetRenderTarget() As DirectDrawSurface7

パラメータ

object
Direct3DDevice7 オブジェクトを表すオブジェクト式。

戻り値

メソッドが成功すると、レンダリング ターゲット サーフェス (DirectDrawSurface7 オブジェクト) への参照を返す。

エラー コード

メソッドが失敗するとエラーが発生し、パラメータのいずれかが無効の場合は Err.NumberDDERR_INVALIDPARAMS が設定される。

参照

Direct3DDevice7.SetRenderTarget