KWin
Loading...
Searching...
No Matches
Public Member Functions | List of all members
KWin::RenderTarget Class Reference

#include <rendertarget.h>

Public Member Functions

 RenderTarget (GLFramebuffer *fbo, const ColorDescription &colorDescription=ColorDescription::sRGB)
 
 RenderTarget (QImage *image, const ColorDescription &colorDescription=ColorDescription::sRGB)
 
QSize size () const
 
OutputTransform transform () const
 
const ColorDescriptioncolorDescription () const
 
QImage * image () const
 
GLFramebufferframebuffer () const
 
GLTexturetexture () const
 

Detailed Description

Definition at line 20 of file rendertarget.h.

Constructor & Destructor Documentation

◆ RenderTarget() [1/2]

KWin::RenderTarget::RenderTarget ( GLFramebuffer * fbo,
const ColorDescription & colorDescription = ColorDescription::sRGB )
explicit

Definition at line 13 of file rendertarget.cpp.

◆ RenderTarget() [2/2]

KWin::RenderTarget::RenderTarget ( QImage * image,
const ColorDescription & colorDescription = ColorDescription::sRGB )
explicit

Definition at line 20 of file rendertarget.cpp.

Member Function Documentation

◆ colorDescription()

const ColorDescription & KWin::RenderTarget::colorDescription ( ) const

Definition at line 57 of file rendertarget.cpp.

◆ framebuffer()

GLFramebuffer * KWin::RenderTarget::framebuffer ( ) const

Definition at line 42 of file rendertarget.cpp.

◆ image()

QImage * KWin::RenderTarget::image ( ) const

Definition at line 52 of file rendertarget.cpp.

◆ size()

QSize KWin::RenderTarget::size ( ) const

Definition at line 26 of file rendertarget.cpp.

◆ texture()

GLTexture * KWin::RenderTarget::texture ( ) const

Definition at line 47 of file rendertarget.cpp.

◆ transform()

OutputTransform KWin::RenderTarget::transform ( ) const

Definition at line 37 of file rendertarget.cpp.


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