Blender V5.3
eevee::motion_blur::TileBuf Struct Reference

#include <eevee_motion_blur.bsl.hh>

Public Member Functions

void store (MotionStep motion_step, uint2 tile, MotionTilePayload payload)
int2 load (MotionStep motion_step, uint2 tile) const

Static Public Member Functions

static uint indirection_index (uint motion_step, uint2 tile)
static MotionTilePayload pack_payload (float2 motion, uint2 payload)
static int2 unpack_payload (uint data)

Public Attributes

uint(& tile_indirection_buf )[]

Detailed Description

Definition at line 29 of file eevee_motion_blur.bsl.hh.

Member Function Documentation

◆ indirection_index()

uint eevee::motion_blur::TileBuf::indirection_index ( uint motion_step,
uint2 tile )
inlinestatic

Definition at line 44 of file eevee_motion_blur.bsl.hh.

References index, MOTION_BLUR_MAX_TILE, and tile.

Referenced by load(), and store().

◆ load()

int2 eevee::motion_blur::TileBuf::load ( MotionStep motion_step,
uint2 tile ) const
inline

◆ pack_payload()

MotionTilePayload eevee::motion_blur::TileBuf::pack_payload ( float2 motion,
uint2 payload )
inlinestatic

◆ store()

void eevee::motion_blur::TileBuf::store ( MotionStep motion_step,
uint2 tile,
MotionTilePayload payload )
inline

◆ unpack_payload()

int2 eevee::motion_blur::TileBuf::unpack_payload ( uint data)
inlinestatic

Definition at line 63 of file eevee_motion_blur.bsl.hh.

Referenced by load().

Member Data Documentation

◆ tile_indirection_buf

uint(& eevee::motion_blur::TileBuf::tile_indirection_buf)[]

Definition at line 30 of file eevee_motion_blur.bsl.hh.

Referenced by load(), and store().


The documentation for this struct was generated from the following file: