neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::gradient_sampler Class Reference

#include <gradient_manager.hpp>

Inheritance diagram for neogfx::gradient_sampler:

Public Member Functions

 gradient_sampler (i_shader_array< avec4u8 > const &aSampler, uint32_t aRow)
 
i_shader_array< avec4u8 > const & sampler () const override
 
uint32_t sampler_row () const override
 
bool used_by (gradient_id aGradient) const override
 
void add_ref (gradient_id aGradient) const override
 
void release (gradient_id aGradient) const override
 
void release_all () const override
 

Friends

class gradient_manager
 

Detailed Description

Definition at line 30 of file gradient_manager.hpp.

Constructor & Destructor Documentation

◆ gradient_sampler()

neogfx::gradient_sampler::gradient_sampler ( i_shader_array< avec4u8 > const &  aSampler,
uint32_t  aRow 
)
inline

Definition at line 34 of file gradient_manager.hpp.

Member Function Documentation

◆ add_ref()

void neogfx::gradient_sampler::add_ref ( gradient_id  aGradient) const
inlineoverride

Definition at line 53 of file gradient_manager.hpp.

◆ release()

void neogfx::gradient_sampler::release ( gradient_id  aGradient) const
inlineoverride

Definition at line 57 of file gradient_manager.hpp.

◆ release_all()

void neogfx::gradient_sampler::release_all ( ) const
inlineoverride

Definition at line 63 of file gradient_manager.hpp.

◆ sampler()

i_shader_array< avec4u8 > const & neogfx::gradient_sampler::sampler ( ) const
inlineoverride

Definition at line 40 of file gradient_manager.hpp.

◆ sampler_row()

uint32_t neogfx::gradient_sampler::sampler_row ( ) const
inlineoverride

Definition at line 44 of file gradient_manager.hpp.

◆ used_by()

bool neogfx::gradient_sampler::used_by ( gradient_id  aGradient) const
inlineoverride

Definition at line 49 of file gradient_manager.hpp.

Friends And Related Symbol Documentation

◆ gradient_manager

friend class gradient_manager
friend

Definition at line 32 of file gradient_manager.hpp.


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