7#ifndef MI_NEURAYLIB_RENDER_TARGET_TRAITS_H
8#define MI_NEURAYLIB_RENDER_TARGET_TRAITS_H
21template <Canvas_parameter P>
using Canvas_parameter_type
26template <>
struct Canvas_parameter_type_t<
PARAM_INDEX> {
using Type = ISint32; };
27template <>
struct Canvas_parameter_type_t<
PARAM_EDGE_COLOR> {
using Type = IFloat32_4; };
28template <>
struct Canvas_parameter_type_t<
PARAM_EDGE_COLOR_2> {
using Type = IFloat32_4; };
29template <>
struct Canvas_parameter_type_t<
PARAM_SHADE_COLOR> {
using Type = IFloat32_4; };
30template <>
struct Canvas_parameter_type_t<
PARAM_SCALE> {
using Type = IFloat32; };
31template <>
struct Canvas_parameter_type_t<
PARAM_BIAS> {
using Type = IFloat32_2; };
34template <>
struct Canvas_parameter_type_t<
PARAM_MULTI_INDEX> {
using Type = ISint32_4; };
A simple string class.
Definition: istring.h:22
@ PARAM_EDGE_COLOR_2
IFloat32_4 secondary edge color.
Definition: irender_target.h:75
@ PARAM_MULTI_INDEX
ISint32_4 multidimensional index.
Definition: irender_target.h:92
@ PARAM_PROCESSING_DISABLED
Disables all processing for the canvas.
Definition: irender_target.h:78
@ PARAM_SELECTION_SUBSET
internal use only
Definition: irender_target.h:93
@ PARAM_INDEX
ISint32 channel index or canvas index.
Definition: irender_target.h:73
@ PARAM_COLOR_LPE
IString color LPE.
Definition: irender_target.h:71
@ PARAM_EDGE_COLOR
IFloat32_4 edge color.
Definition: irender_target.h:74
@ PARAM_BIAS
IFloat32_2 bias, meaning depends on type of canvas.
Definition: irender_target.h:94
@ PARAM_ALPHA_LPE
IString alpha channel LPE.
Definition: irender_target.h:72
@ PARAM_SHADE_COLOR
IFloat32_4 shading color.
Definition: irender_target.h:76
@ PARAM_SCALE
IFloat32 scale, meaning depends on type of canvas.
Definition: irender_target.h:77
Abstract interface for render targets.
Common namespace for APIs of NVIDIA Advanced Rendering Center GmbH.
Definition: neuraylib.h:179
Types of canvas parameters.
Definition: render_target_traits.h:20