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

#include <i_render_target.hpp>

Inheritance diagram for neogfx::i_render_target:
neogfx::i_device_metrics neogfx::i_device_resolution neogfx::i_native_surface

Classes

struct  already_active
 
struct  logical_coordinates_not_specified
 
struct  not_active
 

Public Member Functions

virtual render_target_type target_type () const =0
 
virtual void * target_handle () const =0
 
virtual void * target_device_handle () const =0
 
virtual pixel_format_t pixel_format () const =0
 
virtual const i_texturetarget_texture () const =0
 
virtual point target_origin () const =0
 
virtual size target_extents () const =0
 
virtual neogfx::logical_coordinate_system logical_coordinate_system () const =0
 
virtual void set_logical_coordinate_system (neogfx::logical_coordinate_system aSystem)=0
 
virtual neogfx::logical_coordinates logical_coordinates () const =0
 
virtual void set_logical_coordinates (const neogfx::logical_coordinates &aCoordinates)=0
 
virtual rect_i32 viewport () const =0
 
virtual rect_i32 set_viewport (const rect_i32 &aViewport) const =0
 
virtual bool target_active () const =0
 
virtual void activate_target () const =0
 
virtual void deactivate_target () const =0
 
virtual neogfx::color_space color_space () const =0
 
virtual color read_pixel (const point &aPosition) const =0
 
virtual std::unique_ptr< i_rendering_contextcreate_graphics_context (blending_mode aBlendingMode=blending_mode::Default) const =0
 
- Public Member Functions inherited from neogfx::i_device_metrics
virtual bool metrics_available () const =0
 
virtual size extents () const =0
 
virtual dimension em_size () const =0
 
- Public Member Functions inherited from neogfx::i_device_resolution
virtual dimension horizontal_dpi () const =0
 
virtual dimension vertical_dpi () const =0
 
virtual dimension ppi () const =0
 

Detailed Description

Definition at line 39 of file i_render_target.hpp.

Member Function Documentation

◆ activate_target()

virtual void neogfx::i_render_target::activate_target ( ) const
pure virtual

◆ color_space()

virtual neogfx::color_space neogfx::i_render_target::color_space ( ) const
pure virtual

◆ create_graphics_context()

virtual std::unique_ptr< i_rendering_context > neogfx::i_render_target::create_graphics_context ( blending_mode  aBlendingMode = blending_mode::Default) const
pure virtual

Implemented in neogfx::i_native_surface.

◆ deactivate_target()

virtual void neogfx::i_render_target::deactivate_target ( ) const
pure virtual

◆ logical_coordinate_system()

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

◆ logical_coordinates()

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

◆ pixel_format()

virtual pixel_format_t neogfx::i_render_target::pixel_format ( ) const
pure virtual

◆ read_pixel()

virtual color neogfx::i_render_target::read_pixel ( const point aPosition) const
pure virtual

◆ set_logical_coordinate_system()

virtual void neogfx::i_render_target::set_logical_coordinate_system ( neogfx::logical_coordinate_system  aSystem)
pure virtual

◆ set_logical_coordinates()

virtual void neogfx::i_render_target::set_logical_coordinates ( const neogfx::logical_coordinates aCoordinates)
pure virtual

◆ set_viewport()

virtual rect_i32 neogfx::i_render_target::set_viewport ( const rect_i32 aViewport) const
pure virtual

◆ target_active()

virtual bool neogfx::i_render_target::target_active ( ) const
pure virtual

◆ target_device_handle()

virtual void * neogfx::i_render_target::target_device_handle ( ) const
pure virtual

◆ target_extents()

virtual size neogfx::i_render_target::target_extents ( ) const
pure virtual

◆ target_handle()

virtual void * neogfx::i_render_target::target_handle ( ) const
pure virtual

◆ target_origin()

virtual point neogfx::i_render_target::target_origin ( ) const
pure virtual

◆ target_texture()

virtual const i_texture & neogfx::i_render_target::target_texture ( ) const
pure virtual

◆ target_type()

virtual render_target_type neogfx::i_render_target::target_type ( ) const
pure virtual

◆ viewport()

virtual rect_i32 neogfx::i_render_target::viewport ( ) const
pure virtual

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