2#ifndef PCDOGS_GRAPHICS_TYPES_H
3#define PCDOGS_GRAPHICS_TYPES_H
27_Static_assert(
sizeof(
struct Font_Resource) == 20,
"Font_Resource size");
317_Static_assert(
sizeof(
struct Shadow_EdgePlane) == 8,
"Shadow_EdgePlane size");
342_Static_assert(
sizeof(
struct Submesh_Entry) == 20,
"Submesh_Entry size");
384_Static_assert(
sizeof(
struct Font_Context) == 12,
"Font_Context size");
395_Static_assert(
sizeof(
struct Font_Glyph) == 8,
"Font_Glyph size");
410_Static_assert(
sizeof(
struct Font_GlyphData) == 20,
"Font_GlyphData size");
void(* Graphics_Render_ListCallback)(struct Graphics_Render_ListState *render_list_state)
struct Font_Resource * font_ptr
struct Math_ScreenPointI32 screen_position
struct Font_GlyphPixelData * pixel_data_ptr
struct Math_DimensionsU8 size
uint32_t texture_handle_alt
uint32_t pixel_data_offset
IDirectDrawSurface7 * surfaces[0x2]
struct Math_Vec2I16 offset
struct Font_Resource::@071301172131301073221222133207330055341131362214 alignment
struct Font_Glyph * glyph_table_base
struct Material_Entry * material_resource
struct Font_Context * font_context
uint32_t vertex_colors[0x4]
uint32_t screen_coords[0xc]
float view_space_pos[0xc]
struct Graphics_Render_ClipUVData::@023376075025305303004023351221071265255112104314 uv
struct Graphics_Render_ClipUVData::@022035370067147244205346032150300335311007074002 screen
struct Graphics_Render_ClipVertex::@004041224161122311126136335344051354147207176224 pos
struct Graphics_Render_ClipVertex::@065344116142077061363306200302256134000125147124 uv
struct Graphics_Render_Color32::@273377047123157232316215374164200124230324366032 bgra
struct Material_Entry * texture_ptr
struct Mesh_Polygon * index_buffer
struct Mesh_Node * mesh_data_ptr
int32_t * transform_matrix
struct Actor * parent_actor
struct Mesh_Vertex * vertex_buffer
struct Material_TableEntry * material
struct Math_Vec2I16 half_extents
struct Math_Matrix3x3I16 rot_mat
struct Math_Vec3I32 position
struct Graphics_Render_FrustumClipPlane::@002324077244057217040013003070153264014256137317 normal
struct Graphics_Render_PolygonBatchRecord * sorted_list_head
struct Graphics_Render_PolygonBatchRecord * sorted_list_buckets[0x4000]
int16_t roll_effect_duration
uint16_t roll_effect_countdown
struct Math_Vec3I32XZY target_pos
int32_t projection_near_fp
struct Graphics_Render_FrustumClipPlane frustum_planes[0x5]
struct Graphics_Render_PolygonBatchRecord * polygon_queue_heads[0x4001]
struct Math_Vec3I32 node_view_translation
int16_t roll_effect_magnitude
int16_t node_view_matrix_pad
uint32_t render_pass_flags
int32_t dynamic_level_scale
Graphics_Render_ListCallback pre_shadow_callback
struct Actor * render_actor_ptr
struct Camera_FrustumDirTable frustum_dirs
struct Math_Matrix3x3I16 node_view_matrix
struct Math_ViewportI16 viewport
struct Math_Vec3I32XZY eye_pos
Graphics_Render_ListCallback post_sorted_callback
uint32_t sorted_bucket_tail
struct Math_Vec3I16 offset
struct Material_Node ** controller_slots
struct Material_TableEntry * material_ptr
struct Mesh_CmdList * command_list
uint16_t vertex_indices[0x3]
struct Graphics_Render_ScreenVertexI16Z screen_vertices[0x4]
struct Material_RuntimeDescriptor * texture_desc
uint8_t render_flags_high
uint16_t extended_render_flags
struct Graphics_Render_PolygonBatchRecord::@145031042204155336373271307321163127250224235021::@310256361111253022321370021321105232356207344074 texture_repeat_count
struct Graphics_Render_PolygonBatchRecord * next_in_bucket
uint32_t render_state_flags
struct Math_UV8 tex_uvs[0x4]
struct Math_Vec3F view_vertices[0x4]
uint32_t vertex_colors[0x4]
struct Material_TableEntry * material_ref
int16_t uv_index_or_sentinel
struct Mesh_FaceNormal * face_normal
uint16_t vertex_indices[0x4]
uint16_t vertex_indices[0x4]
struct Mesh_FaceNormal * face_normal
struct Material_Entry * material
struct Math_ScreenPointI16 screen
uint8_t texture_coords[0x10]
uint32_t vertex_data[0x10]
uint16_t quad_reserved_0E
struct Material_Entry * material_ptr
uint32_t vertex_colors[0x4]
struct Graphics_Render_QuadData::@132302012266351333153261276057006245373366200272 texture_size
struct Math_ScreenPointI16 vertex3_screen
struct Math_ScreenPointI16 vertex2_screen
uint32_t render_flags[0x5]
struct Math_ScreenPointI16 vertex1_screen
struct Math_ScreenPointI16 vertex0_screen
struct Graphics_Render_ScreenVertexI16Z::@276010272006271151340046314217100172252315123166::@167176104245357063215260323150214177117323053225 screen
struct Math_ColorRGB8 color_mod
int16_t glyph_advance_adjust
struct Material_RuntimeDescriptor * textureDescriptor
struct Math_UV8 subrect_uv
struct Graphics_Render_SpriteData::@272046065154225003001104375006164272337035200350 pos
struct Graphics_Render_SpriteLayer * next_layer_ptr
struct Graphics_Render_SpriteData * sprite_list_ptr
struct Math_Vec3I16 offset
struct Material_TableEntry * material_ptr
struct Math_Vec2I16 bound_extent
struct Math_ColorRGB8 color
struct Math_ColorRGBF colors[0x4]
uint8_t transform_scratch[0x90]
uint8_t vertex_scratch[0x68]
float clip_double_buffer[0x2][0xa0]
struct Math_Vec3I32 position
struct Shadow_EdgePlane * edge_planes
struct Mesh_Polygon * source_polygon
struct Shadow_OccluderView * source_next
struct Shadow_OccluderView * next_occluder
struct Mesh_RuntimeVertex * runtime_vertices
int16_t plane_group_count
struct Math_UV8 subrect_uv
struct Material_RuntimeDescriptor * textureDescriptor
uint16_t vert_start_index
struct Submesh_Entry::@331046024113245050322224223152126230313143201354 scale
char render_node_entry_index
int16_t polygon_ref_start_index
int16_t weighted_vertex_count
int16_t weighted_vertex_start_index
int16_t polygon_ref_count
struct Pkg_MaterialIndexList * material_indices
struct Material_TableEntry * material
struct Material_SectionHeader * texture_db