SuperMarioOdysseyOnline/include/nn/ui2d/detail/TexCoordArray.h
2022-06-16 14:33:18 -07:00

38 lines
No EOL
884 B
C++

/**
* @file TexCoordArray.h
* @brief Texture coordinate array implementation.
*/
#pragma once
#include "types.h"
#include "../util/Float2.h"
namespace nn
{
namespace ui2d
{
class Layout;
namespace detail
{
class TexCoordArray
{
public:
void Initialize();
void Free();
void Reserve(s32);
void SetSize(s32 size);
void GetCoord(nn::util::Float2 *, s32) const;
void SetCoord(s32, nn::util::Float2 const *);
void Copy(void const *, s32);
bool CompareCopiedInstanceTest(nn::ui2d::detail::TexCoordArray const &) const;
u16 _0;
u16 _2;
u32 _4; // padding?
nn::ui2d::Layout* mLayout; // _8
};
};
};
};