struct hiro::draw::BillboardStyle — HIRO 0.7.0 documentation

# struct hiro::draw::BillboardStyle

## Overview

Stylization of the rendered billboard. More…

    #include <BillboardRenderer.h>

    struct BillboardStyle: public hiro::draw::Style {
        // fields

        bool use_nearest_filtering { false };

        // methods

        virtual bool ReadFromStream(std::istream& str);
        virtual void WriteToStream(std::ostream& str);
    };

### Inherited Members

    public:
        // fields

        bool visible = true;
        cogs::Transform transform;

        // methods

        virtual bool ReadFromStream(std::istream& str);
        virtual void WriteToStream(std::ostream& str);

    protected:
        // methods

        bool ReadVersion(std::istream& str, const uint32_t expected_version);

## Detailed Documentation

Stylization of the rendered billboard.

### Fields

    bool use_nearest_filtering { false }

Denotes, whether to use nearest or linear filtering when rendering image.

### Methods

    virtual bool ReadFromStream(std::istream& str)

Imports state from stream.

    virtual void WriteToStream(std::ostream& str)

Exports state to stream.