Blender V5.0
blender::eevee::VelocityModule::VelocityGeometryData Struct Reference

#include <eevee_velocity.hh>

Public Member Functions

gpu::VertBufpos_buf_get () const
bool has_data () const

Public Attributes

std::variant< std::monostate, gpu::Batch *, gpu::VertBuf * > pos_buf
int ofs = 0
int len = 0

Detailed Description

Definition at line 47 of file eevee_velocity.hh.

Member Function Documentation

◆ has_data()

bool blender::eevee::VelocityModule::VelocityGeometryData::has_data ( ) const
inline

Definition at line 72 of file eevee_velocity.hh.

◆ pos_buf_get()

gpu::VertBuf * blender::eevee::VelocityModule::VelocityGeometryData::pos_buf_get ( ) const
inline

Member Data Documentation

◆ len

int blender::eevee::VelocityModule::VelocityGeometryData::len = 0

◆ ofs

int blender::eevee::VelocityModule::VelocityGeometryData::ofs = 0

◆ pos_buf

std::variant<std::monostate, gpu::Batch *, gpu::VertBuf *> blender::eevee::VelocityModule::VelocityGeometryData::pos_buf

VertBuf not yet ready to be copied to the VelocityGeometryBuf.

Definition at line 49 of file eevee_velocity.hh.


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