webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Public Member Functions | List of all members
gl::FramebufferAttachment Class Referencefinal

#include <FramebufferAttachment.h>

Classes

class  Target
 

Public Member Functions

 FramebufferAttachment ()
 
 FramebufferAttachment (GLenum type, GLenum binding, const ImageIndex &textureIndex, FramebufferAttachmentObject *resource)
 
 FramebufferAttachment (const FramebufferAttachment &other)
 
FramebufferAttachmentoperator= (const FramebufferAttachment &other)
 
 ~FramebufferAttachment ()
 
void detach ()
 
void attach (GLenum type, GLenum binding, const ImageIndex &textureIndex, FramebufferAttachmentObject *resource)
 
GLuint getRedSize () const
 
GLuint getGreenSize () const
 
GLuint getBlueSize () const
 
GLuint getAlphaSize () const
 
GLuint getDepthSize () const
 
GLuint getStencilSize () const
 
GLenum getComponentType () const
 
GLenum getColorEncoding () const
 
bool isTextureWithId (GLuint textureId) const
 
bool isRenderbufferWithId (GLuint renderbufferId) const
 
GLenum getBinding () const
 
GLuint id () const
 
const ImageIndexgetTextureImageIndex () const
 
GLenum cubeMapFace () const
 
GLint mipLevel () const
 
GLint layer () const
 
Extents getSize () const
 
const FormatgetFormat () const
 
GLsizei getSamples () const
 
GLenum type () const
 
bool isAttached () const
 
RenderbuffergetRenderbuffer () const
 
TexturegetTexture () const
 
const egl::SurfacegetSurface () const
 
template<typename T >
gl::Error getRenderTarget (T **rtOut) const
 
bool operator== (const FramebufferAttachment &other) const
 
bool operator!= (const FramebufferAttachment &other) const
 

Constructor & Destructor Documentation

◆ FramebufferAttachment() [1/3]

gl::FramebufferAttachment::FramebufferAttachment ( )

◆ FramebufferAttachment() [2/3]

gl::FramebufferAttachment::FramebufferAttachment ( GLenum  type,
GLenum  binding,
const ImageIndex textureIndex,
FramebufferAttachmentObject resource 
)

◆ FramebufferAttachment() [3/3]

gl::FramebufferAttachment::FramebufferAttachment ( const FramebufferAttachment other)

◆ ~FramebufferAttachment()

gl::FramebufferAttachment::~FramebufferAttachment ( )

Member Function Documentation

◆ attach()

void gl::FramebufferAttachment::attach ( GLenum  type,
GLenum  binding,
const ImageIndex textureIndex,
FramebufferAttachmentObject resource 
)

◆ cubeMapFace()

GLenum gl::FramebufferAttachment::cubeMapFace ( ) const

◆ detach()

void gl::FramebufferAttachment::detach ( )

◆ getAlphaSize()

GLuint gl::FramebufferAttachment::getAlphaSize ( ) const

◆ getBinding()

GLenum gl::FramebufferAttachment::getBinding ( ) const
inline

◆ getBlueSize()

GLuint gl::FramebufferAttachment::getBlueSize ( ) const

◆ getColorEncoding()

GLenum gl::FramebufferAttachment::getColorEncoding ( ) const

◆ getComponentType()

GLenum gl::FramebufferAttachment::getComponentType ( ) const

◆ getDepthSize()

GLuint gl::FramebufferAttachment::getDepthSize ( ) const

◆ getFormat()

const Format & gl::FramebufferAttachment::getFormat ( ) const
inline

◆ getGreenSize()

GLuint gl::FramebufferAttachment::getGreenSize ( ) const

◆ getRedSize()

GLuint gl::FramebufferAttachment::getRedSize ( ) const

◆ getRenderbuffer()

Renderbuffer * gl::FramebufferAttachment::getRenderbuffer ( ) const

◆ getRenderTarget()

template<typename T >
gl::Error gl::FramebufferAttachment::getRenderTarget ( T **  rtOut) const
inline

◆ getSamples()

GLsizei gl::FramebufferAttachment::getSamples ( ) const
inline

◆ getSize()

Extents gl::FramebufferAttachment::getSize ( ) const
inline

◆ getStencilSize()

GLuint gl::FramebufferAttachment::getStencilSize ( ) const

◆ getSurface()

const egl::Surface * gl::FramebufferAttachment::getSurface ( ) const

◆ getTexture()

Texture * gl::FramebufferAttachment::getTexture ( ) const

◆ getTextureImageIndex()

const ImageIndex & gl::FramebufferAttachment::getTextureImageIndex ( ) const

◆ id()

GLuint gl::FramebufferAttachment::id ( ) const

◆ isAttached()

bool gl::FramebufferAttachment::isAttached ( ) const
inline

◆ isRenderbufferWithId()

bool gl::FramebufferAttachment::isRenderbufferWithId ( GLuint  renderbufferId) const
inline

◆ isTextureWithId()

bool gl::FramebufferAttachment::isTextureWithId ( GLuint  textureId) const
inline

◆ layer()

GLint gl::FramebufferAttachment::layer ( ) const

◆ mipLevel()

GLint gl::FramebufferAttachment::mipLevel ( ) const

◆ operator!=()

bool gl::FramebufferAttachment::operator!= ( const FramebufferAttachment other) const

◆ operator=()

FramebufferAttachment & gl::FramebufferAttachment::operator= ( const FramebufferAttachment other)

◆ operator==()

bool gl::FramebufferAttachment::operator== ( const FramebufferAttachment other) const

◆ type()

GLenum gl::FramebufferAttachment::type ( ) const
inline

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