Photon Engine 2.0.0-beta
A physically based renderer.
Loading...
Searching...
No Matches
ph::RegularPictureFormat Class Referencefinal

Format of common pictures. Typically closely related to how the picture is stored natively (e.g., on disk). More...

#include <RegularPicture.h>

Public Member Functions

 RegularPictureFormat ()
 
math::EColorSpace getColorSpace () const
 
bool isReversedComponents () const
 
bool hasAlpha () const
 
bool isGrayscale () const
 
void setColorSpace (math::EColorSpace colorSpace)
 
void setIsReversedComponents (bool isReversedComponents)
 
void setHasAlpha (bool hasAlpha)
 
void setIsGrayscale (bool isGrayscale)
 

Detailed Description

Format of common pictures. Typically closely related to how the picture is stored natively (e.g., on disk).

Constructor & Destructor Documentation

◆ RegularPictureFormat()

ph::RegularPictureFormat::RegularPictureFormat ( )

Member Function Documentation

◆ getColorSpace()

math::EColorSpace ph::RegularPictureFormat::getColorSpace ( ) const
inline

◆ hasAlpha()

bool ph::RegularPictureFormat::hasAlpha ( ) const
inline

◆ isGrayscale()

bool ph::RegularPictureFormat::isGrayscale ( ) const
inline

◆ isReversedComponents()

bool ph::RegularPictureFormat::isReversedComponents ( ) const
inline

◆ setColorSpace()

void ph::RegularPictureFormat::setColorSpace ( math::EColorSpace colorSpace)

◆ setHasAlpha()

void ph::RegularPictureFormat::setHasAlpha ( bool hasAlpha)

◆ setIsGrayscale()

void ph::RegularPictureFormat::setIsGrayscale ( bool isGrayscale)

◆ setIsReversedComponents()

void ph::RegularPictureFormat::setIsReversedComponents ( bool isReversedComponents)

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