Overload  1.1
Game engine with editor
Public Member Functions | List of all members
OvRendering::Buffers::ShaderStorageBuffer Class Reference

#include <ShaderStorageBuffer.h>

Public Member Functions

 ShaderStorageBuffer (EAccessSpecifier p_accessSpecifier)
 
 ~ShaderStorageBuffer ()
 
void Bind (uint32_t p_bindingPoint)
 
void Unbind ()
 
template<typename T >
void SendBlocks (T *p_data, size_t p_size)
 

Detailed Description

Wraps OpenGL SSBO

Constructor & Destructor Documentation

◆ ShaderStorageBuffer()

OvRendering::Buffers::ShaderStorageBuffer::ShaderStorageBuffer ( EAccessSpecifier  p_accessSpecifier)

Create a SSBO with the given access specifier hint

@project: Overload

Author
: Overload Tech. @restrictions: This software may not be resold, redistributed or otherwise conveyed to a third party.

◆ ~ShaderStorageBuffer()

OvRendering::Buffers::ShaderStorageBuffer::~ShaderStorageBuffer ( )

Destroy the SSBO

Member Function Documentation

◆ Bind()

void OvRendering::Buffers::ShaderStorageBuffer::Bind ( uint32_t  p_bindingPoint)

Bind the SSBO to the given binding point

Parameters
p_bindingPoint

◆ SendBlocks()

template<typename T >
void OvRendering::Buffers::ShaderStorageBuffer::SendBlocks ( T *  p_data,
size_t  p_size 
)
inline

Send the block data

◆ Unbind()

void OvRendering::Buffers::ShaderStorageBuffer::Unbind ( )

Unbind the SSBO from the currently binding point


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