Rasterfarm-SDK
Loading...
Searching...
No Matches
FrameBuffer::Attribute Class Reference

#include <framebuffer.h>

Public Member Functions

 Attribute (uint width=0, uint height=0, PixelFormat colorFormat=UNDEFINED, PixelFormat depthFormat=UNDEFINED, PixelFormat stencilFormat=UNDEFINED)
 
 Attribute (uint width=0, uint height=0, PixelFormat colorFormat=UNDEFINED, PixelFormat depthFormat=UNDEFINED, PixelFormat stencilFormat=UNDEFINED)
 

Public Attributes

uint width
 
uint height
 
PixelFormat colorFormat
 
PixelFormat depthFormat
 
PixelFormat stencilFormat
 
GLenum internalFormat
 

Detailed Description

Describes attributes of a texture face.

Constructor & Destructor Documentation

◆ Attribute() [1/2]

FrameBuffer::Attribute::Attribute ( uint width = 0,
uint height = 0,
PixelFormat colorFormat = UNDEFINED,
PixelFormat depthFormat = UNDEFINED,
PixelFormat stencilFormat = UNDEFINED )
inline

This attributes define the attribute for added Textures if not already allocated.

Parameters
Thewidth of the frame-buffer.
Theheight of the frame-buffer.
Thepixel-format of the color-attachment. If unused specify PixelFormat::UNDEFINED.
Thepixel-format of the depth-attachment. If unused specify PixelFormat::UNDEFINED.
Thepixel-format of the stencil-attachment. If unused specify PixelFormat::UNDEFINED.

◆ Attribute() [2/2]

FrameBuffer::Attribute::Attribute ( uint width = 0,
uint height = 0,
PixelFormat colorFormat = UNDEFINED,
PixelFormat depthFormat = UNDEFINED,
PixelFormat stencilFormat = UNDEFINED )
inline

This attributes define the attribute for added Textures if not already allocated.

Parameters
Thewidth of the frame-buffer.
Theheight of the frame-buffer.
Thepixel-format of the color-attachment. If unused specify PixelFormat::UNDEFINED.
Thepixel-format of the depth-attachment. If unused specify PixelFormat::UNDEFINED.
Thepixel-format of the stencil-attachment. If unused specify PixelFormat::UNDEFINED.

Member Data Documentation

◆ colorFormat

PixelFormat FrameBuffer::Attribute::colorFormat

◆ depthFormat

PixelFormat FrameBuffer::Attribute::depthFormat

◆ height

uint FrameBuffer::Attribute::height

◆ internalFormat

GLenum FrameBuffer::Attribute::internalFormat

◆ stencilFormat

PixelFormat FrameBuffer::Attribute::stencilFormat

◆ width

uint FrameBuffer::Attribute::width

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