Quake II RTX doxygen  1.0 dev
god_rays_shared.h File Reference

Go to the source code of this file.

Macros

#define IMG_GODRAYS_INTERMEDIATE   IMG_ASVGF_COLOR
 
#define TEX_GODRAYS_INTERMEDIATE   TEX_ASVGF_COLOR
 

Functions

 layout (set=GOD_RAYS_DESC_SET_IDX, binding=0) uniform sampler2DArray TEX_SHADOW_MAP
 
 layout (push_constant, std140) uniform PushConstants
 
ivec2 GetRotatedGridOffset (ivec2 pixelPos)
 

Variables

 push
 

Macro Definition Documentation

◆ IMG_GODRAYS_INTERMEDIATE

#define IMG_GODRAYS_INTERMEDIATE   IMG_ASVGF_COLOR

Definition at line 13 of file god_rays_shared.h.

◆ TEX_GODRAYS_INTERMEDIATE

#define TEX_GODRAYS_INTERMEDIATE   TEX_ASVGF_COLOR

Definition at line 14 of file god_rays_shared.h.

Function Documentation

◆ GetRotatedGridOffset()

ivec2 GetRotatedGridOffset ( ivec2  pixelPos)

Definition at line 8 of file god_rays_shared.h.

9 {
10  return ivec2(pixelPos.y & 0x1, 1 - (pixelPos.x & 0x1));
11 }

◆ layout() [1/2]

layout ( push_constant  ,
std140   
)

Definition at line 4 of file god_rays_shared.h.

4  {
5  uint pass_index;
6 } push;

◆ layout() [2/2]

layout ( set  = GOD_RAYS_DESC_SET_IDX,
binding  = 0 
)

Variable Documentation

◆ push

push

Definition at line 6 of file god_rays_shared.h.

Referenced by SV_PushEntity().

push
push
Definition: god_rays_shared.h:6
uint
uint32_t uint
Definition: global_ubo.h:233