What can I help you with?
NVIDIA Holoscan SDK v3.4.0

Template Struct convert< holoscan::ops::HolovizOp::ColorSpace >

template<>
struct convert<holoscan::ops::HolovizOp::ColorSpace>

Custom YAML parser for ColorSpace enum

Public Static Functions

static inline Node encode(const holoscan::ops::HolovizOp::ColorSpace &color_space)

Encodes a ColorSpace enum to a YAML Node.

Parameters

color_space – The ColorSpace enum to encode.

Returns

YAML Node representation of the ColorSpace.

static inline bool decode(const Node &node, holoscan::ops::HolovizOp::ColorSpace &color_space)

Decodes a YAML Node to a ColorSpace enum.

Parameters
  • node – The YAML Node to decode.

  • color_space – The ColorSpace enum to populate.

Returns

true if successful, false otherwise.

Previous Template Struct hash< pair< A, B > >
Next Template Struct convert< holoscan::ops::HolovizOp::FramebufferSizeCallbackFunction >
© Copyright 2022-2025, NVIDIA. Last updated on Jul 1, 2025.