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

#include <i_rendering_context.hpp>

Inheritance diagram for neogfx::i_rendering_context:
neogfx::i_graphics_context neogfx::graphics_context

Classes

struct  texture_not_resident
 

Public Member Functions

virtual ~i_rendering_context ()=default
 
virtual std::unique_ptr< i_rendering_contextclone () const =0
 
virtual i_rendering_enginerendering_engine () const =0
 
virtual const i_render_targetrender_target () const =0
 
virtual rect rendering_area (bool aConsiderScissor=true) const =0
 
virtual const graphics_operation::queuequeue () const =0
 
virtual graphics_operation::queuequeue ()=0
 
virtual void enqueue (const graphics_operation::operation &aOperation)=0
 
virtual void flush ()=0
 
virtual neogfx::logical_coordinate_system logical_coordinate_system () const =0
 
virtual neogfx::logical_coordinates logical_coordinates () const =0
 
virtual vec2 offset () const =0
 
virtual void set_offset (const optional_vec2 &aOffset)=0
 
virtual bool gradient_set () const =0
 
virtual void apply_gradient (i_gradient_shader &aShader)=0
 
virtual neogfx::subpixel_format subpixel_format () const =0
 

Detailed Description

Definition at line 34 of file i_rendering_context.hpp.

Constructor & Destructor Documentation

◆ ~i_rendering_context()

virtual neogfx::i_rendering_context::~i_rendering_context ( )
virtualdefault

Member Function Documentation

◆ apply_gradient()

virtual void neogfx::i_rendering_context::apply_gradient ( i_gradient_shader aShader)
pure virtual

Implemented in neogfx::graphics_context.

◆ clone()

virtual std::unique_ptr< i_rendering_context > neogfx::i_rendering_context::clone ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ enqueue()

virtual void neogfx::i_rendering_context::enqueue ( const graphics_operation::operation aOperation)
pure virtual

Implemented in neogfx::graphics_context.

◆ flush()

virtual void neogfx::i_rendering_context::flush ( )
pure virtual

Implemented in neogfx::graphics_context.

◆ gradient_set()

virtual bool neogfx::i_rendering_context::gradient_set ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ logical_coordinate_system()

virtual neogfx::logical_coordinate_system neogfx::i_rendering_context::logical_coordinate_system ( ) const
pure virtual

◆ logical_coordinates()

virtual neogfx::logical_coordinates neogfx::i_rendering_context::logical_coordinates ( ) const
pure virtual

◆ offset()

virtual vec2 neogfx::i_rendering_context::offset ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ queue() [1/2]

virtual const graphics_operation::queue & neogfx::i_rendering_context::queue ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ queue() [2/2]

virtual graphics_operation::queue & neogfx::i_rendering_context::queue ( )
pure virtual

Implemented in neogfx::graphics_context.

◆ render_target()

virtual const i_render_target & neogfx::i_rendering_context::render_target ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ rendering_area()

virtual rect neogfx::i_rendering_context::rendering_area ( bool  aConsiderScissor = true) const
pure virtual

Implemented in neogfx::graphics_context.

◆ rendering_engine()

virtual i_rendering_engine & neogfx::i_rendering_context::rendering_engine ( ) const
pure virtual

Implemented in neogfx::graphics_context.

◆ set_offset()

virtual void neogfx::i_rendering_context::set_offset ( const optional_vec2 aOffset)
pure virtual

Implemented in neogfx::graphics_context.

◆ subpixel_format()

virtual neogfx::subpixel_format neogfx::i_rendering_context::subpixel_format ( ) const
pure virtual

Implemented in neogfx::graphics_context.


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