You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

30 lines
1.5 KiB
C

/***************************************************************************
* *
* Module : D3D82drend.h *
* *
* Purpose : 2D primitive rendering functions. *
* *
**************************************************************************/
#ifndef D3D82DREND_H
#define D3D82DREND_H
extern RwBool _rwD3D8Im2DRenderOpen(void);
extern RwBool _rwD3D8Im2DRenderLine(RwIm2DVertex *verts, RwInt32 numVerts,
RwInt32 vert1, RwInt32 vert2);
extern RwBool _rwD3D8Im2DRenderTriangle(RwIm2DVertex *verts, RwInt32 numVerts,
RwInt32 vert1, RwInt32 vert2, RwInt32 vert3);
extern RwBool _rwD3D8Im2DRenderPrimitive(RwPrimitiveType primType,
RwIm2DVertex *verts,
RwInt32 numVerts);
extern RwBool _rwD3D8Im2DRenderIndexedPrimitive(RwPrimitiveType primType,
RwIm2DVertex *verts,
RwInt32 numVerts,
RwImVertexIndex *indices,
RwInt32 numIndices);
extern void _rwD3D8Im2DRenderClose(void);
#endif /* D3D82DREND_H */