SuperMarioOdysseyOnline/include/nn/ui2d/detail/TexCoordArray.h

38 lines
884 B
C
Raw Normal View History

2022-06-16 21:33:18 +00:00
/**
* @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
};
};
};
};