DCDecomp
A decompilation of Dark Cloud for the PlayStation 2
Loading...
Searching...
No Matches
renderinfo.hpp
1#pragma once
2
3#include "common.h"
4
5#include <libvu0.h>
6
16struct RenderInfo {
17 float projection;
18 int unk_04[3];
19 sceVu0FMATRIX view_scaled;
20 sceVu0FMATRIX screen;
21 sceVu0FMATRIX view;
22 sceVu0FMATRIX view_screen;
23 sceVu0FMATRIX light_direction;
24 sceVu0FMATRIX light_color;
25 sceVu0FVECTOR ambient;
26 sceVu0FVECTOR scale;
27 sceVu0FVECTOR offset;
28 sceVu0FVECTOR near;
29 sceVu0FVECTOR far;
30 sceVu0FVECTOR position;
31 sceVu0FVECTOR view_position;
32 float pitch;
33 float yaw;
34 int unk_208[2];
35 sceVu0FVECTOR clip_max;
36 sceVu0FVECTOR clip_min;
37 sceVu0FMATRIX perspective;
38 sceVu0FMATRIX viewport;
43 sceVu0FVECTOR shadow_point;
44 sceVu0FVECTOR shadow_normal;
45 sceVu0FMATRIX shadow;
53 int scissor;
62 float fog_a;
63 float fog_b;
64 float fog_far;
65 float fog_near;
66 u_char fog_red;
67 u_char fog_green;
68 u_char fog_blue;
69 u_char unk_33B;
71 int unlit;
72 int unk_344[3];
73
74 RenderInfo() {
75 scissor = false;
76 clip_flags = 0;
77 scissoring = 0;
78 frame_far_z = 0.0f;
79 shadow_pass = 0;
80 fog_enabled = false;
81 fog_b = 0.0f;
82 fog_a = 0.0f;
83 fog_far = 0.0f;
84 fog_near = 255.0f;
85 fog_blue = 255;
86 fog_green = 255;
87 fog_red = 255;
88 unlit = 0;
89 }
90};
sceVu0FMATRIX light_color
sceVu0FVECTOR scale
sceVu0FMATRIX light_direction
sceVu0FMATRIX perspective
sceVu0FVECTOR near
float fog_far
float frame_far_z
sceVu0FVECTOR far
sceVu0FMATRIX view
sceVu0FVECTOR clip_min
sceVu0FVECTOR view_position
u_char fog_blue
sceVu0FMATRIX view_screen
sceVu0FMATRIX screen
u_char fog_red
u_char fog_green
float fog_near
sceVu0FVECTOR shadow_point
sceVu0FMATRIX shadow
sceVu0FVECTOR position
float projection
sceVu0FMATRIX viewport
sceVu0FMATRIX view_scaled
sceVu0FVECTOR clip_max
sceVu0FVECTOR ambient
sceVu0FVECTOR shadow_normal
sceVu0FVECTOR offset