![]() |
Cinder
0.9.1
|
#include <Fbo.h>
Inherits cinder::gl::Fbo::Format.
Public Member Functions | |
Format () | |
Format & | textureCubeMapFormat (const TextureCubeMap::Format &format) |
const TextureCubeMap::Format & | getTextureCubeMapFormat () const |
Format & | disableDepth () |
Format & | label (const std::string &label) |
Protected Attributes | |
gl::TextureCubeMap::Format | mTextureCubeMapFormat |
Private Member Functions | |
Format & | colorTexture (const Texture::Format &textureFormat=getDefaultColorTextureFormat(true)) |
Format & | disableColor () |
Format & | depthBuffer (GLenum internalFormat=getDefaultDepthInternalFormat()) |
Format & | depthTexture (const Texture::Format &textureFormat=getDefaultDepthTextureFormat()) |
Format & | samples (int samples) |
Format & | coverageSamples (int coverageSamples) |
Format & | stencilBuffer (bool stencilBuffer=true) |
Format & | attachment (GLenum attachmentPoint, const RenderbufferRef &buffer, RenderbufferRef multisampleBuffer=RenderbufferRef()) |
Format & | attachment (GLenum attachmentPoint, const TextureBaseRef &texture, RenderbufferRef multisampleBuffer=RenderbufferRef()) |
void | setDepthBufferInternalFormat (GLint depthInternalFormat) |
void | setSamples (int samples) |
void | setCoverageSamples (int coverageSamples) |
void | setColorTextureFormat (const Texture::Format &format) |
void | enableDepthBuffer (bool depthBuffer=true) |
void | enableStencilBuffer (bool stencilBuffer=true) |
void | removeAttachment (GLenum attachmentPoint) |
GLint | getDepthBufferInternalFormat () const |
const Texture::Format & | getColorTextureFormat () const |
const Texture::Format & | getDepthTextureFormat () const |
int | getSamples () const |
int | getCoverageSamples () const |
bool | hasColorTexture () const |
bool | hasDepthBuffer () const |
bool | hasStencilBuffer () const |
const std::string & | getLabel () const |
void | setLabel (const std::string &label) |
Static Private Member Functions | |
static Texture::Format | getDefaultColorTextureFormat (bool alpha=true) |
static Texture::Format | getDefaultDepthTextureFormat () |
static GLint | getDefaultColorInternalFormat (bool alpha=true) |
static GLint | getDefaultDepthInternalFormat () |
static void | getDepthStencilFormats (GLint depthInternalFormat, GLint *resultInternalFormat, GLenum *resultPixelDataType) |
Private Attributes | |
GLenum | mDepthBufferInternalFormat |
int | mSamples |
int | mCoverageSamples |
bool | mColorTexture |
bool | mDepthTexture |
bool | mDepthBuffer |
bool | mStencilBuffer |
Texture::Format | mColorTextureFormat |
Texture::Format | mDepthTextureFormat |
std::string | mLabel |
std::map< GLenum, RenderbufferRef > | mAttachmentsBuffer |
std::map< GLenum, RenderbufferRef > | mAttachmentsMultisampleBuffer |
std::map< GLenum, TextureBaseRef > | mAttachmentsTexture |
Friends | |
class | FboCubeMap |
cinder::gl::FboCubeMap::Format::Format | ( | ) |
Format& cinder::gl::FboCubeMap::Format::textureCubeMapFormat | ( | const TextureCubeMap::Format & | format | ) |
Sets the TextureCubeMap format for the default CubeMap.
const TextureCubeMap::Format& cinder::gl::FboCubeMap::Format::getTextureCubeMapFormat | ( | ) | const |
Returns the TextureCubeMap format for the default CubeMap.
Format& cinder::gl::FboCubeMap::Format::label | ( | const std::string & | label | ) |
Sets the debugging label associated with the Fbo. Calls glObjectLabel() when available.
|
friend |
|
protected |