#include <gfx_image_pixelformat.h>
PixelFormatsInterface is a static interface which provides general functions for pixel format management.
公共成员函数 |
|
template<typename PIXELTYPE > | |
Result < PixelFormat > | FindOrCreatePixelFormat (const Block < const ImageChannelType > &imageChannelTypes) |
template<typename PIXELTYPE , typename... CHANNELS> | |
Result < PixelFormat > | FindOrCreatePixelFormat () |
静态公共成员函数 |
|
static MAXON_METHOD Result < PixelFormat > | FindOrCreatePixelFormat (const Block < const ImageChannel > &channels) |
template<typename PIXELTYPE , typename... CHANNELS> | |
static MAXON_FUNCTION Result < PixelFormat > | FindOrCreatePixelFormat () |
template<typename PIXELTYPE > | |
static MAXON_FUNCTION Result < PixelFormat > | FindOrCreatePixelFormat (const Block < const ImageChannelType > &imageChannelTypes) |
static MAXON_FUNCTION Result < PixelFormat > | FindOrCreatePixelFormat (const DataType &pixelType, const Block < const ImageChannelType > &imageChannelTypes) |
私有成员函数 |
|
MAXON_INTERFACE_NONVIRTUAL ( PixelFormatsInterface , MAXON_REFERENCE_NONE , "net.maxon.image.interface.pixelformats") |
|
private |
|
static |
Create of find a pixel format.
[in] | channels | Block with image channels to look for or to create. |
|
static |
Create of find a pixel format. This function simplifies the usage without the need to create the block of channels on the stack:
PixelFormat formatGBR32f = PixelFormatsInterface::FindOrCreatePixelFormat<ImageChannels::Green, ImageChannels::Blue, ImageChannels::Red>() iferr_return ;
|
static |
Create of find a pixel format. This function simplifies the usage without the need to create the array of channels on the stack:
[in] | imageChannelTypes | Image Channel types. PixelFormat formatGBR32f = PixelFormatsInterface::FindOrCreatePixelFormat<ImageChannels::Green, ImageChannels::Blue, ImageChannels::Red>() iferr_return ; |