Framebuffer attachment settings. More...
#include <kanzi/core.ui/platform/graphics_backend/gl/framebuffer.hpp>
Public Member Functions | |
Attachment () | |
Attachment (TextureSharedPtr texture) | |
Construct Attachment from 2D Texture base level image. More... | |
Attachment (TextureSharedPtr texture, unsigned int mipmapLevel) | |
Construct Attachment from a 2D texture. More... | |
Attachment (TextureSharedPtr texture, Surface::Face face, unsigned int mipmapLevel) | |
Construct Attachment from a 2D texture. More... | |
Attachment (RenderbufferSharedPtr renderbuffer) | |
Construct Attachment from Renderbuffer. More... | |
Public Attributes | |
SurfaceSharedPtr | surface |
Surface. This can be either Texture or Renderbuffer. More... | |
Surface::Face | face |
For cubemap textures, the cubemap face to use. More... | |
unsigned int | mipmapLevel |
Mipmap level to use, for Textures. More... | |
Framebuffer attachment settings.
|
explicit |
|
explicit |
Construct Attachment from 2D Texture base level image.
texture | Texture to use. |
|
explicit |
Construct Attachment from a 2D texture.
texture | Texture to use. |
mipmapLevel | Mipmap level of texture to use. |
|
explicit |
Construct Attachment from a 2D texture.
texture | Texture to use. |
mipmapLevel | Mipmap level of texture to use. |
|
explicit |
Construct Attachment from Renderbuffer.
renderbuffer | Renderbuffer to use. |
SurfaceSharedPtr kanzi::Framebuffer::Attachment::surface |
Surface. This can be either Texture or Renderbuffer.
Surface::Face kanzi::Framebuffer::Attachment::face |
For cubemap textures, the cubemap face to use.
unsigned int kanzi::Framebuffer::Attachment::mipmapLevel |
Mipmap level to use, for Textures.