D3DResourceType 열거형

정의

D3DImage 클래스와 호환되는 Direct3D 화면 형식을 지정합니다.

public enum class D3DResourceType
public enum D3DResourceType
type D3DResourceType = 
Public Enum D3DResourceType
상속
D3DResourceType

필드

IDirect3DSurface9 0

IDirect3DSurface9 화면을 지정합니다.

예제

다음 코드 예제를 지정 하는 방법을 보여 줍니다 합니다 D3DResourceType 호출에서을 SetBackBuffer 메서드. 자세한 내용은 연습: WPF에서 Direct3D9 콘텐츠 호스팅합니다.

d3dimg.Lock();
// Repeatedly calling SetBackBuffer with the same IntPtr is 
// a no-op. There is no performance penalty.
d3dimg.SetBackBuffer(D3DResourceType.IDirect3DSurface9, pSurface);
HRESULT.Check(Render());
d3dimg.AddDirtyRect(new Int32Rect(0, 0, d3dimg.PixelWidth, d3dimg.PixelHeight));
d3dimg.Unlock();

설명

사용 된 D3DResourceType Direct3D 화면을 할당 하는 경우는 D3DImage.SetBackBuffer 메서드.

적용 대상

추가 정보