// Copyright (c) 2021, NVIDIA CORPORATION. All rights reserved.
//
// NVIDIA CORPORATION and its licensors retain all intellectual property
// and proprietary rights in and to this software, related documentation
// and any modifications thereto. Any use, reproduction, disclosure or
// distribution of this software and related documentation without an express
// license agreement from NVIDIA CORPORATION is strictly prohibited.
//
#pragma once

#include "Api.h"
#include "Math.h"

#include <stdint.h>


OMNIUI_SCENE_NAMESPACE_OPEN_SCOPE

class DrawBuffer;

/**
 * @brief The InvisibleButton widget provides a transparent command button.
 */
class OMNIUI_SCENE_CLASS_API AbstractDrawSystem
{
public:
    OMNIUI_SCENE_API
    virtual ~AbstractDrawSystem();

    virtual void setup() = 0;
    virtual void beginFrame() = 0;
    virtual void render(const DrawBuffer* const* buffers,
                        size_t bufferCount,
                        const Matrix44& projection,
                        const Matrix44& view,
                        float width,
                        float height,
                        float dpiScale) = 0;
    virtual void endFrame() = 0;
    virtual void destroy() = 0;
};

OMNIUI_SCENE_NAMESPACE_CLOSE_SCOPE
