neoGFX
Cross-platform C++ app/game engine
Loading...
Searching...
No Matches
neogfx::shader_stage< Base > Class Template Reference

#include <shader_program.hpp>

Inheritance diagram for neogfx::shader_stage< Base >:
neolib::reference_counted< Base, DeallocateOnRelease >

Public Types

typedef neolib::ref_ptr< i_shader > shader_t
 
typedef neolib::vector< shader_tshaders_t
 
typedef neolib::i_ref_ptr< i_shader > i_shader_t
 
typedef neolib::i_vector< i_shader_ti_shaders_t
 

Public Member Functions

 shader_stage (shader_type aType)
 
shader_type type () const override
 
shaders_t const & shaders () const override
 
shaders_tshaders () override
 
- Public Member Functions inherited from neolib::reference_counted< Base, DeallocateOnRelease >
 reference_counted () noexcept
 
 reference_counted (const reference_counted &aOther) noexcept
 
 ~reference_counted ()
 
reference_countedoperator= (const reference_counted &)
 
void add_ref () const noexcept override
 
void release () const override
 
int32_t use_count () const noexcept override
 
const base_type * release_and_take_ownership () const override
 
base_type * release_and_take_ownership () override
 
void pin () const noexcept override
 
void unpin () const override
 
i_ref_control_blockcontrol_block () override
 

Detailed Description

template<typename Base = i_shader_stage>
class neogfx::shader_stage< Base >

Definition at line 31 of file shader_program.hpp.

Member Typedef Documentation

◆ i_shader_t

template<typename Base = i_shader_stage>
typedef neolib::i_ref_ptr<i_shader> neogfx::i_shader_stage::i_shader_t

Definition at line 56 of file i_shader_program.hpp.

◆ i_shaders_t

template<typename Base = i_shader_stage>
typedef neolib::i_vector<i_shader_t> neogfx::i_shader_stage::i_shaders_t

Definition at line 57 of file i_shader_program.hpp.

◆ shader_t

template<typename Base = i_shader_stage>
typedef neolib::ref_ptr<i_shader> neogfx::shader_stage< Base >::shader_t

Definition at line 36 of file shader_program.hpp.

◆ shaders_t

template<typename Base = i_shader_stage>
typedef neolib::vector<shader_t> neogfx::shader_stage< Base >::shaders_t

Definition at line 37 of file shader_program.hpp.

Constructor & Destructor Documentation

◆ shader_stage()

template<typename Base >
neogfx::shader_stage< Base >::shader_stage ( shader_type  aType)
inline

Definition at line 29 of file shader_program.inl.

Member Function Documentation

◆ shaders() [1/2]

template<typename Base >
shader_stage< Base >::shaders_t const & neogfx::shader_stage< Base >::shaders ( ) const
inlineoverride

Definition at line 41 of file shader_program.inl.

◆ shaders() [2/2]

template<typename Base >
shader_stage< Base >::shaders_t & neogfx::shader_stage< Base >::shaders ( )
inlineoverride

Definition at line 47 of file shader_program.inl.

◆ type()

template<typename Base >
shader_type neogfx::shader_stage< Base >::type ( ) const
inlineoverride

Definition at line 35 of file shader_program.inl.


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