|
OpenGothic
Open source reimplementation of Gothic I and II
|
#include <drawcommands.h>
Classes | |
| struct | DrawCmd |
Public Types | |
| enum | Type : uint8_t { Landscape , Static , Movable , Animated , Pfx , Morph } |
Public Member Functions | |
| DrawCommands (VisualObjects &owner, DrawBuckets &buckets, DrawClusters &clusters, const SceneGlobals &scene) | |
| ~DrawCommands () | |
| const DrawCmd & | operator[] (size_t i) const |
| size_t | maxMeshlets () const |
| void | commit (Tempest::Encoder< Tempest::CommandBuffer > &cmd) |
| uint16_t | commandId (const Material &m, Type type, uint32_t bucketId) |
| void | addClusters (uint16_t cmdId, uint32_t meshletCount) |
| void | resetRendering () |
| void | visibilityPass (Tempest::Encoder< Tempest::CommandBuffer > &cmd, int pass) |
| void | visibilityVsm (Tempest::Encoder< Tempest::CommandBuffer > &cmd) |
| void | drawHiZ (Tempest::Encoder< Tempest::CommandBuffer > &cmd) |
| void | drawCommon (Tempest::Encoder< Tempest::CommandBuffer > &cmd, SceneGlobals::VisCamera viewId, Material::AlphaFunc func) |
| void | drawVsm (Tempest::Encoder< Tempest::CommandBuffer > &cmd) |
Definition at line 13 of file drawcommands.h.
| enum DrawCommands::Type : uint8_t |
| Enumerator | |
|---|---|
| Landscape | |
| Static | |
| Movable | |
| Animated | |
| Pfx | |
| Morph | |
Definition at line 15 of file drawcommands.h.
| DrawCommands::DrawCommands | ( | VisualObjects & | owner, |
| DrawBuckets & | buckets, | ||
| DrawClusters & | clusters, | ||
| const SceneGlobals & | scene | ||
| ) |
Definition at line 50 of file drawcommands.cpp.
| DrawCommands::~DrawCommands | ( | ) |
Definition at line 64 of file drawcommands.cpp.
| void DrawCommands::addClusters | ( | uint16_t | cmdId, |
| uint32_t | meshletCount | ||
| ) |
Definition at line 178 of file drawcommands.cpp.
Definition at line 144 of file drawcommands.cpp.
| void DrawCommands::commit | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd | ) |
Definition at line 192 of file drawcommands.cpp.
| void DrawCommands::drawCommon | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd, |
| SceneGlobals::VisCamera | viewId, | ||
| Material::AlphaFunc | func | ||
| ) |
Definition at line 435 of file drawcommands.cpp.
| void DrawCommands::drawHiZ | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd | ) |
Definition at line 406 of file drawcommands.cpp.
| void DrawCommands::drawVsm | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd | ) |
Definition at line 359 of file drawcommands.cpp.
|
inline |
Definition at line 50 of file drawcommands.h.
|
inline |
Definition at line 49 of file drawcommands.h.
| void DrawCommands::resetRendering | ( | ) |
Definition at line 183 of file drawcommands.cpp.
| void DrawCommands::visibilityPass | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd, |
| int | pass | ||
| ) |
Definition at line 266 of file drawcommands.cpp.
| void DrawCommands::visibilityVsm | ( | Tempest::Encoder< Tempest::CommandBuffer > & | cmd | ) |
Definition at line 321 of file drawcommands.cpp.