Quake II RTX doxygen  1.0 dev
bsp_mesh_s Struct Reference

#include <vkpt.h>

Public Attributes

uint32_t world_idx_count
 
bsp_model_tmodels
 
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
 
intindices
 
uint32_t * materials
 
float * texel_density
 
int num_indices
 
int num_vertices
 
int num_clusters
 
intclusters
 
int num_cluster_lights
 
intcluster_light_offsets
 
intcluster_lights
 
int num_light_polys
 
int allocated_light_polys
 
light_poly_tlight_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_tcluster_aabbs
 

Detailed Description

Definition at line 343 of file vkpt.h.

Member Data Documentation

◆ all_lava_emissive

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().

◆ allocated_light_polys

int bsp_mesh_s::allocated_light_polys

◆ cameras

struct { ... } bsp_mesh_s::cameras[MAX_CAMERAS]

Referenced by load_cameras(), and prepare_ubo().

◆ cluster_aabbs

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().

◆ cluster_light_offsets

int* bsp_mesh_s::cluster_light_offsets

◆ cluster_lights

int* bsp_mesh_s::cluster_lights

◆ clusters

◆ dir

vec3_t bsp_mesh_s::dir

Definition at line 381 of file vkpt.h.

Referenced by load_cameras(), and prepare_ubo().

◆ indices

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_polys

◆ materials

◆ models

bsp_model_t* bsp_mesh_s::models

◆ num_cameras

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().

◆ num_cluster_lights

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().

◆ num_clusters

◆ num_indices

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().

◆ num_light_polys

◆ num_models

int bsp_mesh_s::num_models

Definition at line 346 of file vkpt.h.

Referenced by bsp_mesh_create_from_bsp().

◆ num_sky_clusters

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().

◆ num_vertices

int bsp_mesh_s::num_vertices

◆ pos

vec3_t bsp_mesh_s::pos

Definition at line 381 of file vkpt.h.

Referenced by load_cameras(), and prepare_ubo().

◆ positions

◆ sky_clusters

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().

◆ sky_visibility

char bsp_mesh_s::sky_visibility[VIS_MAX_BYTES]

◆ tangents

float * bsp_mesh_s::tangents

◆ tex_coords

◆ texel_density

float* bsp_mesh_s::texel_density

◆ world_aabb

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().

◆ world_custom_sky_count

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().

◆ world_custom_sky_offset

uint32_t bsp_mesh_s::world_custom_sky_offset

Definition at line 356 of file vkpt.h.

Referenced by bsp_mesh_create_from_bsp().

◆ world_idx_count

uint32_t bsp_mesh_s::world_idx_count

◆ world_sky_count

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().

◆ world_sky_offset

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().

◆ world_transparent_count

uint32_t bsp_mesh_s::world_transparent_count

◆ world_transparent_offset

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().