OpenGothic
Open source reimplementation of Gothic I and II
Loading...
Searching...
No Matches
DrawBuckets Class Reference

#include <drawbuckets.h>

Classes

struct  Bucket
 
class  Id
 

Public Member Functions

 DrawBuckets ()
 
Id alloc (const Material &mat, const StaticMesh &mesh)
 
Id alloc (const Material &mat, const AnimMesh &mesh)
 
const Bucketoperator[] (size_t i)
 
auto ssbo () const -> const Tempest::StorageBuffer &
 
auto buckets () -> const std::vector< Bucket > &
 
auto & textures () const
 
auto & vbo () const
 
auto & ibo () const
 
auto & morphId () const
 
auto & morph () const
 
bool commit (Tempest::Encoder< Tempest::CommandBuffer > &cmd, uint8_t fId)
 

Detailed Description

Definition at line 11 of file drawbuckets.h.

Constructor & Destructor Documentation

◆ DrawBuckets()

DrawBuckets::DrawBuckets ( )

Definition at line 37 of file drawbuckets.cpp.

Member Function Documentation

◆ alloc() [1/2]

DrawBuckets::Id DrawBuckets::alloc ( const Material mat,
const AnimMesh mesh 
)

Definition at line 56 of file drawbuckets.cpp.

◆ alloc() [2/2]

DrawBuckets::Id DrawBuckets::alloc ( const Material mat,
const StaticMesh mesh 
)

Definition at line 40 of file drawbuckets.cpp.

◆ buckets()

const std::vector< DrawBuckets::Bucket > & DrawBuckets::buckets ( ) -> const std::vector<Bucket>&

Definition at line 72 of file drawbuckets.cpp.

◆ commit()

bool DrawBuckets::commit ( Tempest::Encoder< Tempest::CommandBuffer > &  cmd,
uint8_t  fId 
)

Definition at line 119 of file drawbuckets.cpp.

◆ ibo()

auto & DrawBuckets::ibo ( ) const
inline

Definition at line 52 of file drawbuckets.h.

◆ morph()

auto & DrawBuckets::morph ( ) const
inline

Definition at line 54 of file drawbuckets.h.

◆ morphId()

auto & DrawBuckets::morphId ( ) const
inline

Definition at line 53 of file drawbuckets.h.

◆ operator[]()

const Bucket & DrawBuckets::operator[] ( size_t  i)
inline

Definition at line 45 of file drawbuckets.h.

◆ ssbo()

auto DrawBuckets::ssbo ( ) const -> const Tempest::StorageBuffer&
inline

Definition at line 47 of file drawbuckets.h.

◆ textures()

auto & DrawBuckets::textures ( ) const
inline

Definition at line 50 of file drawbuckets.h.

◆ vbo()

auto & DrawBuckets::vbo ( ) const
inline

Definition at line 51 of file drawbuckets.h.

Member Data Documentation

◆ ibo

Tempest::DescriptorArray DrawBuckets::ibo

Definition at line 82 of file drawbuckets.h.

◆ morph

Tempest::DescriptorArray DrawBuckets::morph

Definition at line 84 of file drawbuckets.h.

◆ morphId

Tempest::DescriptorArray DrawBuckets::morphId

Definition at line 83 of file drawbuckets.h.

◆ tex

Tempest::DescriptorArray DrawBuckets::tex

Definition at line 80 of file drawbuckets.h.

◆ vbo

Tempest::DescriptorArray DrawBuckets::vbo

Definition at line 81 of file drawbuckets.h.


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