Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
Boids Class Reference

#include <Main.h>

Inheritance diagram for Boids:
Common::BaseProject Common::ImGuiUI

Private Member Functions

bool Init () override
 
bool Update () override
 
bool Draw () override
 
void Quit () override
 
const std::string & getName () override
 
bool DrawUI () override
 

Private Attributes

std::string name = "Boids"
 
SDL_GPUGraphicsPipeline * renderPipeline
 
SDL_GPUTransferBuffer * boidsDataTransferBuffer
 
SDL_GPUBuffer * boidsDataBuffer
 
BoidsContainer boidsContainer {}
 

Additional Inherited Members

- Public Member Functions inherited from Common::BaseProject
virtual ~BaseProject ()=default
 
- Public Member Functions inherited from Common::ImGuiUI
virtual ~ImGuiUI ()=default
 
- Static Public Attributes inherited from Common::BaseProject
static bool hasUI = false
 

Member Function Documentation

◆ Draw()

bool Boids::Draw ( )
overrideprivatevirtual

Implements Common::BaseProject.

◆ DrawUI()

bool Boids::DrawUI ( )
overrideprivatevirtual

Implements Common::ImGuiUI.

◆ getName()

const std::string & Boids::getName ( )
inlinenodiscardoverrideprivatevirtual

Implements Common::BaseProject.

◆ Init()

bool Boids::Init ( )
overrideprivatevirtual

Implements Common::BaseProject.

◆ Quit()

void Boids::Quit ( )
overrideprivatevirtual

Implements Common::BaseProject.

◆ Update()

bool Boids::Update ( )
overrideprivatevirtual

Implements Common::BaseProject.

Member Data Documentation

◆ boidsContainer

BoidsContainer Boids::boidsContainer {}
private

◆ boidsDataBuffer

SDL_GPUBuffer* Boids::boidsDataBuffer
private

◆ boidsDataTransferBuffer

SDL_GPUTransferBuffer* Boids::boidsDataTransferBuffer
private

◆ name

std::string Boids::name = "Boids"
private

◆ renderPipeline

SDL_GPUGraphicsPipeline* Boids::renderPipeline
private

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