Microsoft DirectX 8.0 (Visual Basic) |
object.CreateRenderToSurface( _ D3DDevice As Direct3DDevice8, _ Width As Long, _ Height As Long, _ Format As CONST_D3DFORMAT, _ DepthStencil As Long, _ DepthStencilFormat As CONST_D3DFORMAT) As D3DXRenderToSurface
作成されたポリゴン メッシュを表す D3DXRenderToSurface オブジェクト。
失敗した場合はエラーが発生し、Err.Number に次のいずれかの値が設定される。
D3DERR_INVALIDCALL |
E_OUTOFMEMORY |
エラー トラッピングの詳細については、Microsoft® Visual Basic® の「エラー処理」を参照すること。
作成されるポリゴンの中心は原点となる。