#include <vkpt.h>
Public Attributes | |
uint32_t | world_idx_count |
bsp_model_t * | models |
int | num_models |
aabb_t | world_aabb |
uint32_t | world_transparent_offset |
uint32_t | world_transparent_count |
uint32_t | world_sky_offset |
uint32_t | world_sky_count |
uint32_t | world_custom_sky_offset |
uint32_t | world_custom_sky_count |
float * | positions |
float * | tex_coords |
float * | tangents |
int * | indices |
uint32_t * | materials |
float * | texel_density |
int | num_indices |
int | num_vertices |
int | num_clusters |
int * | clusters |
int | num_cluster_lights |
int * | cluster_light_offsets |
int * | cluster_lights |
int | num_light_polys |
int | allocated_light_polys |
light_poly_t * | light_polys |
uint32_t | sky_clusters [MAX_SKY_CLUSTERS] |
int | num_sky_clusters |
qboolean | all_lava_emissive |
struct { | |
vec3_t pos | |
vec3_t dir | |
} | cameras [MAX_CAMERAS] |
int | num_cameras |
char | sky_visibility [VIS_MAX_BYTES] |
aabb_t * | cluster_aabbs |
qboolean bsp_mesh_s::all_lava_emissive |
Definition at line 379 of file vkpt.h.
Referenced by is_sky_or_lava_cluster(), and load_sky_and_lava_clusters().
int bsp_mesh_s::allocated_light_polys |
Definition at line 374 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_load_custom_sky(), collect_ligth_polys(), and collect_sky_and_lava_ligth_polys().
struct { ... } bsp_mesh_s::cameras[MAX_CAMERAS] |
Referenced by load_cameras(), and prepare_ubo().
aabb_t* bsp_mesh_s::cluster_aabbs |
Definition at line 386 of file vkpt.h.
Referenced by bsp_mesh_destroy(), collect_cluster_lights(), and compute_cluster_aabbs().
int* bsp_mesh_s::cluster_light_offsets |
Definition at line 370 of file vkpt.h.
Referenced by bsp_mesh_destroy(), collect_cluster_lights(), inject_model_lights(), process_render_feedback(), and vkpt_light_buffer_upload_to_staging().
int* bsp_mesh_s::cluster_lights |
Definition at line 371 of file vkpt.h.
Referenced by bsp_mesh_destroy(), collect_cluster_lights(), inject_model_lights(), and vkpt_light_buffer_upload_to_staging().
int* bsp_mesh_s::clusters |
Definition at line 367 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), bsp_mesh_load_custom_sky(), collect_surfaces(), compute_cluster_aabbs(), compute_sky_visibility(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
vec3_t bsp_mesh_s::dir |
Definition at line 381 of file vkpt.h.
Referenced by load_cameras(), and prepare_ubo().
int* bsp_mesh_s::indices |
Definition at line 360 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), and compute_world_tangents().
light_poly_t* bsp_mesh_s::light_polys |
Definition at line 375 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), bsp_mesh_load_custom_sky(), collect_cluster_lights(), collect_ligth_polys(), collect_sky_and_lava_ligth_polys(), and vkpt_light_buffer_upload_to_staging().
uint32_t* bsp_mesh_s::materials |
Definition at line 361 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), bsp_mesh_load_custom_sky(), collect_surfaces(), compute_world_tangents(), is_model_transparent(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
bsp_model_t* bsp_mesh_s::models |
Definition at line 345 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), prepare_entities(), and process_bsp_entity().
int bsp_mesh_s::num_cameras |
Definition at line 382 of file vkpt.h.
Referenced by collect_surfaces(), load_cameras(), prepare_ubo(), and R_BeginRegistration_RTX().
int bsp_mesh_s::num_cluster_lights |
Definition at line 369 of file vkpt.h.
Referenced by collect_cluster_lights(), and vkpt_light_buffer_upload_to_staging().
int bsp_mesh_s::num_clusters |
Definition at line 366 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), collect_cluster_lights(), compute_cluster_aabbs(), inject_model_lights(), process_render_feedback(), vkpt_light_buffer_upload_to_staging(), vkpt_light_stats_create(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
int bsp_mesh_s::num_indices |
Definition at line 363 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and compute_world_tangents().
int bsp_mesh_s::num_light_polys |
Definition at line 373 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_load_custom_sky(), collect_cluster_lights(), collect_ligth_polys(), collect_sky_and_lava_ligth_polys(), prepare_ubo(), vkpt_light_buffer_upload_to_staging(), and vkpt_light_stats_create().
int bsp_mesh_s::num_models |
Definition at line 346 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp().
int bsp_mesh_s::num_sky_clusters |
Definition at line 378 of file vkpt.h.
Referenced by is_sky_or_lava_cluster(), and load_sky_and_lava_clusters().
int bsp_mesh_s::num_vertices |
Definition at line 364 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
vec3_t bsp_mesh_s::pos |
Definition at line 381 of file vkpt.h.
Referenced by load_cameras(), and prepare_ubo().
float* bsp_mesh_s::positions |
Definition at line 359 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), bsp_mesh_load_custom_sky(), collect_surfaces(), compute_cluster_aabbs(), compute_world_tangents(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
uint32_t bsp_mesh_s::sky_clusters[MAX_SKY_CLUSTERS] |
Definition at line 377 of file vkpt.h.
Referenced by is_sky_or_lava_cluster(), and load_sky_and_lava_clusters().
char bsp_mesh_s::sky_visibility[VIS_MAX_BYTES] |
Definition at line 384 of file vkpt.h.
Referenced by compute_sky_visibility(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
float * bsp_mesh_s::tangents |
Definition at line 359 of file vkpt.h.
Referenced by bsp_mesh_destroy(), compute_world_tangents(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
float * bsp_mesh_s::tex_coords |
Definition at line 359 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), bsp_mesh_destroy(), bsp_mesh_load_custom_sky(), collect_surfaces(), compute_world_tangents(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
float* bsp_mesh_s::texel_density |
Definition at line 362 of file vkpt.h.
Referenced by bsp_mesh_destroy(), compute_world_tangents(), and vkpt_vertex_buffer_upload_bsp_mesh_to_staging().
aabb_t bsp_mesh_s::world_aabb |
Definition at line 348 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and R_RenderFrame_RTX().
uint32_t bsp_mesh_s::world_custom_sky_count |
Definition at line 357 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and compute_sky_visibility().
uint32_t bsp_mesh_s::world_custom_sky_offset |
Definition at line 356 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp().
uint32_t bsp_mesh_s::world_idx_count |
Definition at line 344 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), compute_cluster_aabbs(), prepare_ubo(), R_RenderFrame_RTX(), and vkpt_vertex_buffer_create_instance().
uint32_t bsp_mesh_s::world_sky_count |
Definition at line 354 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and compute_sky_visibility().
uint32_t bsp_mesh_s::world_sky_offset |
Definition at line 353 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and compute_sky_visibility().
uint32_t bsp_mesh_s::world_transparent_count |
Definition at line 351 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), prepare_ubo(), R_RenderFrame_RTX(), and vkpt_vertex_buffer_create_instance().
uint32_t bsp_mesh_s::world_transparent_offset |
Definition at line 350 of file vkpt.h.
Referenced by bsp_mesh_create_from_bsp(), and R_RenderFrame_RTX().