| Support Forum G3D Web Page |
Classes | |
| class | SameFields |
| Can be used with G3D::Table as an Equals and Hash function for a GBuffer::Specification. More... | |
Public Member Functions | |
| Specification () | |
| All fields for specific buffers default to nullptr. More... | |
| virtual | ~Specification () |
| size_t | hashCode () const |
| size_t | memorySize () const |
| Memory Size in Bytes. More... | |
| bool | operator!= (const Specification &other) const |
| Specification & | operator= (const Specification &other) |
| bool | operator== (const Specification &other) const |
| Are these two specifications exactly the same. More... | |
Public Attributes | |
| int | depth |
| Number of layers in each texture. More... | |
| DepthEncoding | depthEncoding |
| Reserved for future use–not currently supported. More... | |
| Texture::Dimension | dimension |
| Texture::Encoding | encoding [Field::COUNT] |
| Indexed by Fields. More... | |
| bool | genMipMaps = false |
| int | numSamples |
| Number of MSAA samples. More... | |
|
inlinevirtual |
| G3D::GBuffer::Specification::Specification | ( | ) |
All fields for specific buffers default to nullptr.
In the future, more buffers may be added, which will also default to nullptr for backwards compatibility.
|
inline |
|
inline |
Memory Size in Bytes.
|
inline |
|
inline |
|
inline |
Are these two specifications exactly the same.
| int G3D::GBuffer::Specification::depth |
Number of layers in each texture.
Default is 1
Referenced by hashCode(), operator=(), and operator==().
| DepthEncoding G3D::GBuffer::Specification::depthEncoding |
Reserved for future use–not currently supported.
Referenced by hashCode(), operator=(), and operator==().
| Texture::Dimension G3D::GBuffer::Specification::dimension |
Referenced by hashCode(), operator=(), and operator==().
| Texture::Encoding G3D::GBuffer::Specification::encoding[Field::COUNT] |
Indexed by Fields.
Referenced by hashCode(), G3D::GBuffer::Specification::SameFields::hashCode(), memorySize(), operator=(), and operator==().
| bool G3D::GBuffer::Specification::genMipMaps = false |
Referenced by hashCode(), operator=(), and operator==().
| int G3D::GBuffer::Specification::numSamples |
Number of MSAA samples.
1.8.15