2024-04-02 22:40:58 +08:00
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
2024-07-30 23:04:58 +08:00
|
|
|
struct RwRaster { char _gap0; };
|
|
|
|
struct RwTexture { char _gap0; };
|
|
|
|
struct RwFrame { char _gap0; };
|
|
|
|
struct RwCamera { char _gap0; };
|
|
|
|
struct RpLight { char _gap0; };
|
|
|
|
struct RwRGBAReal { float r, g, b, a; };
|
2024-07-30 23:07:43 +08:00
|
|
|
struct RpAtomic { char _gap0; };
|
2024-08-04 22:28:46 +08:00
|
|
|
struct RwRGBA { char _gap0; };
|
2024-04-02 22:40:58 +08:00
|
|
|
|
|
|
|
RwRaster* RwRasterCreate(int width, int height, int depth, int flags);
|
|
|
|
RwTexture* RwTextureCreate(RwRaster *raster);
|
2024-07-30 23:06:46 +08:00
|
|
|
void RwTextureDestroy(RwTexture *texture);
|
2024-04-02 22:40:58 +08:00
|
|
|
RwFrame* RwFrameCreate();
|
2024-07-30 23:07:18 +08:00
|
|
|
void RwFrameDestroy(RwFrame *frame);
|
2024-07-30 23:07:43 +08:00
|
|
|
void RpAtomicDestroy(RpAtomic *atomic);
|
2024-04-02 22:40:58 +08:00
|
|
|
RwCamera* RwCameraCreate();
|
2024-08-04 22:27:01 +08:00
|
|
|
void RwRasterDestroy(RwRaster *raster);
|
2024-08-04 22:27:30 +08:00
|
|
|
void CShadowCamera_Create(int iRasterSize);
|
2024-04-02 22:40:58 +08:00
|
|
|
void RpWorldAddCamera(RwCamera *camera);
|
2024-08-04 22:28:46 +08:00
|
|
|
void RwCameraClear(RwCamera *camera, RwRGBA *color, int clearMode);
|
2024-08-04 22:29:16 +08:00
|
|
|
void RwCameraBeginUpdate(RwCamera *camera);
|
2024-04-02 22:40:58 +08:00
|
|
|
void RwObjectHasFrameSetFrame(RwCamera *camera, RwFrame *frame);
|
|
|
|
void SetCameraFrameAndZBuffer(RwCamera *camera, RwRaster *frameBuffer, RwRaster *zBuffer);
|
|
|
|
void RwCameraSetClipPlane(RwCamera *camera, float farClip, float nearClip);
|
|
|
|
void RwCameraSetViewWindow(RwCamera *camera, VECTOR2D *viewWindow);
|
|
|
|
RpLight* RpLightCreate(int type);
|
|
|
|
void RpLightSetColor(RpLight *light, RwRGBAReal *color);
|
|
|
|
void RwCameraSetProjection(RwCamera *camera, int projection);
|
|
|
|
void RwFrameTranslate(RwFrame *frame, VECTOR *v, int combine);
|
|
|
|
void RwFrameRotate(RwFrame* frame, int axis, float angle);
|