Berserk
Public Member Functions | List of all members
GLSampler Class Referencefinal

GL sampler implementation. More...

#include <GLSampler.hpp>

Inheritance diagram for GLSampler:
Inheritance graph
[legend]
Collaboration diagram for GLSampler:
Collaboration graph
[legend]

Public Member Functions

BRK_API GLSampler (const RHISamplerDesc &desc)
 
BRK_API ~GLSampler () override
 
BRK_API void Initialize ()
 
BRK_API void Bind (uint32 slot) const
 
GLuint GetHandle () const
 
- Public Member Functions inherited from RHISampler
BRK_API ~RHISampler () override=default
 
const RHISamplerDescGetDesc () const
 
- Public Member Functions inherited from RHIResource
BRK_API ~RHIResource () override=default
 
- Public Member Functions inherited from RefCnt
virtual ~RefCnt ()
 
bool IsUnique () const
 
std::int32_t GetRefs () const
 
std::int32_t AddRef () const
 
std::int32_t RelRef () const
 

Additional Inherited Members

- Protected Member Functions inherited from RHIResource
void Destroy () const override
 
- Protected Attributes inherited from RHISampler
RHISamplerDesc mState
 

Detailed Description

GL sampler implementation.

Constructor & Destructor Documentation

◆ GLSampler()

BRK_NS_BEGIN GLSampler::GLSampler ( const RHISamplerDesc desc)
explicit

◆ ~GLSampler()

GLSampler::~GLSampler ( )
override

Member Function Documentation

◆ Bind()

void GLSampler::Bind ( uint32  slot) const

◆ GetHandle()

GLuint GLSampler::GetHandle ( ) const
inline

◆ Initialize()

void GLSampler::Initialize ( )

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