Blender  V3.3
eevee_velocity_info.hh File Reference
#include "gpu_shader_create_info.hh"

Go to the source code of this file.

Surface Velocity

Combined with the depth prepass shader. Outputs the view motion vectors for animated objects.

smooth(Type::VEC3, "prev") .smooth(Type CameraData
 
smooth(Type::VEC3, "prev") .smooth(Type camera_prev camera_next
 
 mat4
 
 velocity_obj_prev_buf []
 
Frequency::PASS vec4
 
Frequency::PASS velocity_geo_prev_buf []
 
Frequency::PASS Frequency::PASS VelocityIndex
 
Frequency::PASS Frequency::PASS velocity_indirection_buf []
 
smooth(Type::VEC3, "prev") .smooth(Type define ("VELOCITY_CAMERA") .uniform_buf(1
 
smooth(Type::VEC3, "prev") .smooth(Type camera_prev uniform_buf (2, "CameraData", "camera_curr") .uniform_buf(3
 
 define ("MAT_VELOCITY") .auto_resource_location(true) .storage_buf(4
 
Frequency::PASS storage_buf (5, Qualifier::READ, "mat4", "velocity_obj_next_buf[]", Frequency::PASS) .storage_buf(6
 
Frequency::PASS Frequency::PASS storage_buf (7, Qualifier::READ, "vec4", "velocity_geo_next_buf[]", Frequency::PASS) .storage_buf(7
 
Frequency::PASS Frequency::PASS Frequency::PASS vertex_out (eevee_velocity_surface_iface) .fragment_out(0
 
Frequency::PASS Frequency::PASS Frequency::PASS out_velocity additional_info ("eevee_velocity_camera")
 

Function Documentation

◆ additional_info()

Frequency::PASS Frequency::PASS Frequency::PASS out_velocity additional_info ( "eevee_velocity_camera"  )

◆ define() [1/2]

define ( "MAT_VELOCITY"  )

◆ define() [2/2]

smooth (Type::VEC3, "prev") .smooth(Type define ( "VELOCITY_CAMERA"  )

◆ storage_buf() [1/2]

Frequency::PASS storage_buf ( ,
Qualifier::READ  ,
"mat4"  ,
"velocity_obj_next_buf"  [],
Frequency::PASS   
)

◆ storage_buf() [2/2]

Frequency::PASS Frequency::PASS storage_buf ( ,
Qualifier::READ  ,
"vec4"  ,
"velocity_geo_next_buf"  [],
Frequency::PASS   
)

◆ uniform_buf()

smooth (Type::VEC3, "prev") .smooth(Type camera_prev uniform_buf ( ,
"CameraData"  ,
"camera_curr"   
)

◆ vertex_out()

Frequency::PASS Frequency::PASS Frequency::PASS vertex_out ( eevee_velocity_surface_iface  )

Variable Documentation

◆ camera_next

smooth (Type::VEC3, "prev") .smooth(Type camera_prev camera_next

Definition at line 22 of file eevee_velocity_info.hh.

◆ CameraData

smooth (Type::VEC3, "prev") .smooth(Type camera_prev CameraData

◆ mat4

mat4

◆ vec4

Frequency::PASS vec4

◆ velocity_geo_prev_buf

Frequency::PASS velocity_geo_prev_buf[]

Definition at line 29 of file eevee_velocity_info.hh.

◆ velocity_indirection_buf

Frequency::PASS Frequency::PASS velocity_indirection_buf[]

Definition at line 32 of file eevee_velocity_info.hh.

◆ velocity_obj_prev_buf

velocity_obj_prev_buf[]

Definition at line 27 of file eevee_velocity_info.hh.

◆ VelocityIndex

Frequency::PASS Frequency::PASS VelocityIndex

Definition at line 32 of file eevee_velocity_info.hh.