OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
PfxObjects Class Referencefinal

#include <pfxobjects.h>

Public Member Functions

 PfxObjects (WorldView &world, const SceneGlobals &scene, VisualObjects &visual)
 
 ~PfxObjects ()
 
void setViewerPos (const Tempest::Vec3 &pos)
 
void resetTicks ()
 
void tick (uint64_t ticks)
 
bool isInPfxRange (const Tempest::Vec3 &pos) const
 
void preFrameUpdate (uint8_t fId)
 
void drawGBuffer (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId)
 
void drawShadow (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId, int layer)
 
void drawTranslucent (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId)
 

Static Public Attributes

static constexpr const float viewRage = 4000.f
 

Friends

class PfxEmitter
 
class TrlObjects
 

Detailed Description

Definition at line 17 of file pfxobjects.h.

Constructor & Destructor Documentation

◆ PfxObjects()

PfxObjects::PfxObjects ( WorldView world,
const SceneGlobals scene,
VisualObjects visual 
)

Definition at line 13 of file pfxobjects.cpp.

◆ ~PfxObjects()

PfxObjects::~PfxObjects ( )

Definition at line 17 of file pfxobjects.cpp.

Member Function Documentation

◆ drawGBuffer()

void PfxObjects::drawGBuffer ( Tempest::Encoder< Tempest::CommandBuffer > &  cmd,
uint8_t  fId 
)

Definition at line 69 of file pfxobjects.cpp.

◆ drawShadow()

void PfxObjects::drawShadow ( Tempest::Encoder< Tempest::CommandBuffer > &  cmd,
uint8_t  fId,
int  layer 
)

Definition at line 74 of file pfxobjects.cpp.

◆ drawTranslucent()

void PfxObjects::drawTranslucent ( Tempest::Encoder< Tempest::CommandBuffer > &  cmd,
uint8_t  fId 
)

Definition at line 79 of file pfxobjects.cpp.

◆ isInPfxRange()

bool PfxObjects::isInPfxRange ( const Tempest::Vec3 &  pos) const

Definition at line 51 of file pfxobjects.cpp.

◆ preFrameUpdate()

void PfxObjects::preFrameUpdate ( uint8_t  fId)

Definition at line 56 of file pfxobjects.cpp.

◆ resetTicks()

void PfxObjects::resetTicks ( )

Definition at line 24 of file pfxobjects.cpp.

◆ setViewerPos()

void PfxObjects::setViewerPos ( const Tempest::Vec3 &  pos)

Definition at line 20 of file pfxobjects.cpp.

◆ tick()

void PfxObjects::tick ( uint64_t  ticks)

Definition at line 28 of file pfxobjects.cpp.

Friends And Related Symbol Documentation

◆ PfxEmitter

friend class PfxEmitter
friend

Definition at line 58 of file pfxobjects.h.

◆ TrlObjects

friend class TrlObjects
friend

Definition at line 59 of file pfxobjects.h.

Member Data Documentation

◆ viewRage

constexpr const float PfxObjects::viewRage = 4000.f
staticconstexpr

Definition at line 22 of file pfxobjects.h.


The documentation for this class was generated from the following files: