次の方法で共有


Device.CreateRenderTarget(Int32,Int32,Format,MultiSampleType,Int32,Boolean)

CreateRenderTarget メソッド

レンダリング ターゲット サーフェイスを作成する。

定義

Visual Basic Public Function CreateRenderTarget( _
    ByVal width As Integer, _
    ByVal height As Integer, _
    ByVal format As Format, _
    ByVal multiSample As MultiSampleType, _
    ByVal multiSampleQuality As Integer, _
    ByVal lockable As Boolean _
) As Surface
C# public Surface CreateRenderTarget(
    int width,
    int height,
    Format format,
    MultiSampleType multiSample,
    int multiSampleQuality,
    bool lockable
);
Managed C++ public: Surface* CreateRenderTarget(
    int width,
    int height,
    Format format,
    MultiSampleType multiSample,
    int multiSampleQuality,
    bool lockable
);
JScript public function CreateRenderTarget(
    width : int,
    height : int,
    format : Format,
    multiSample : MultiSampleType,
    multiSampleQuality : int,
    lockable : boolean
) : Surface;

パラメータ

width System.Int32.
height System.Int32.
format Microsoft.DirectX.Direct3D.Format.
multiSample Microsoft.DirectX.Direct3D.MultiSampleType.
multiSampleQuality System.Int32.
lockable System.Boolean.

戻り値

Microsoft.DirectX.Direct3D.Surface.

対象

Device

© 2002 Microsoft Corporation. All rights reserved. Terms of use.