Berserk
|
GL set of pipeline resources. More...
#include <GLResourceSet.hpp>
Public Types | |
using | TextureBinding = RHIResourceSetDesc::TextureBinding |
using | SamplerBinding = RHIResourceSetDesc::SamplerBinding |
using | BufferBinding = RHIResourceSetDesc::BufferBinding |
Public Member Functions | |
BRK_API | GLResourceSet (const RHIResourceSetDesc &desc) |
BRK_API | ~GLResourceSet () override=default |
BRK_API void | Update (const RHIResourceSetDesc &desc) |
BRK_API void | Bind (GLResourceBindingState &state, const Ref< GLShader > &shader) const |
const std::vector< TextureBinding > & | GetTextures () const |
const std::vector< SamplerBinding > & | GetSamplers () const |
const std::vector< BufferBinding > & | GetBuffers () const |
![]() | |
BRK_API | ~RHIResourceSet () override=default |
![]() | |
BRK_API | ~RHIResource () override=default |
![]() | |
virtual | ~RefCnt () |
bool | IsUnique () const |
std::int32_t | GetRefs () const |
std::int32_t | AddRef () const |
std::int32_t | RelRef () const |
Additional Inherited Members | |
![]() | |
void | Destroy () const override |
GL set of pipeline resources.
|
explicit |
|
overridedefault |
void GLResourceSet::Bind | ( | GLResourceBindingState & | state, |
const Ref< GLShader > & | shader | ||
) | const |
|
inline |
|
inline |
|
inline |
void GLResourceSet::Update | ( | const RHIResourceSetDesc & | desc | ) |