Raven Engine v0.1
A modern 3D Game Engine
Loading...
Searching...
No Matches
Raven::ComputePass Class Referenceabstract

#include <ComputePass.h>

Inherits Raven::RefCounted.

Inherited by Raven::VulkanComputePass.

Public Member Functions

virtual ~ComputePass ()=default
virtual void SetInput (const Ref< UniformBuffer > &buffer, std::string_view name)=0
virtual void SetInput (const Ref< StorageBuffer > &buffer, std::string_view name)=0
virtual void SetInput (const Ref< Image2D > &image, std::string_view imageName, std::string_view samplerName)=0
virtual void SetInput (const Ref< Image2D > &image, std::string_view imageName)=0
virtual void Bake ()=0
virtual void UpdateShader (Ref< Shader > shader)=0
virtual void Release ()=0
virtual void Dispatch (u32 groupsX, u32 groupsY, u32 groupsZ=1)=0
virtual const ComputePassSpecificationGetSpecification () const =0
virtual ComputePassSpecificationGetSpecification ()=0
Public Member Functions inherited from Raven::RefCounted
 RefCounted ()
virtual ~RefCounted ()
void IncRefCount ()
void DecRefCount ()
u32 GetRefCount () const

Static Public Member Functions

static Ref< ComputePassCreate (const ComputePassSpecification &spec)

Constructor & Destructor Documentation

◆ ~ComputePass()

virtual Raven::ComputePass::~ComputePass ( )
virtualdefault

Member Function Documentation

◆ Bake()

virtual void Raven::ComputePass::Bake ( )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ Create()

Ref< ComputePass > Raven::ComputePass::Create ( const ComputePassSpecification & spec)
static

◆ Dispatch()

virtual void Raven::ComputePass::Dispatch ( u32 groupsX,
u32 groupsY,
u32 groupsZ = 1 )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ GetSpecification() [1/2]

virtual const ComputePassSpecification & Raven::ComputePass::GetSpecification ( ) const
pure virtual

Implemented in Raven::VulkanComputePass.

◆ GetSpecification() [2/2]

virtual ComputePassSpecification & Raven::ComputePass::GetSpecification ( )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ Release()

virtual void Raven::ComputePass::Release ( )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ SetInput() [1/4]

virtual void Raven::ComputePass::SetInput ( const Ref< Image2D > & image,
std::string_view imageName )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ SetInput() [2/4]

virtual void Raven::ComputePass::SetInput ( const Ref< Image2D > & image,
std::string_view imageName,
std::string_view samplerName )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ SetInput() [3/4]

virtual void Raven::ComputePass::SetInput ( const Ref< StorageBuffer > & buffer,
std::string_view name )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ SetInput() [4/4]

virtual void Raven::ComputePass::SetInput ( const Ref< UniformBuffer > & buffer,
std::string_view name )
pure virtual

Implemented in Raven::VulkanComputePass.

◆ UpdateShader()

virtual void Raven::ComputePass::UpdateShader ( Ref< Shader > shader)
pure virtual

Implemented in Raven::VulkanComputePass.


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