IDirect3DDevice9::GetIndices 메서드(d3d9helper.h)

인덱스 데이터를 검색합니다.

구문

HRESULT GetIndices(
  IDirect3DIndexBuffer9 **ppIndexData
);

매개 변수

ppIndexData

형식: [out] IDirect3DIndexBuffer9**

반환된 인덱스 데이터를 나타내는 IDirect3DIndexBuffer9 인터페이스에 대한 포인터의 주소입니다.

반환 값

형식: HRESULT

메서드가 성공하면 반환 값이 D3D_OK. 메서드가 실패하면 반환 값을 D3DERR_INVALIDCALL 수 있습니다.

설명

이 메서드를 호출하면 IDirect3DIndexBuffer9 인터페이스의 내부 참조 수가 증가합니다. 이 IDirect3DIndexBuffer9 인터페이스 사용을 마쳤을 때 IUnknown::Release를 호출하지 못하면 메모리 누수가 발생합니다.

요구 사항

요구 사항
대상 플랫폼 Windows
헤더 d3d9helper.h(D3D9.h 포함)
라이브러리 D3D9.lib

추가 정보

IDirect3DDevice9

IDirect3DDevice9::DrawIndexedPrimitive

IDirect3DDevice9::DrawIndexedPrimitiveUP

IDirect3DDevice9::DrawPrimitive

IDirect3DDevice9::DrawPrimitiveUP

IDirect3DDevice9::SetIndices

인덱스 버퍼(Direct3D 9)