libultraship
Reimplementations of libultra (N64 SDK) functions for modern hardware
Loading...
Searching...
No Matches
Vertex.h
Go to the documentation of this file.
1#pragma once
2
4#include <vector>
5
6union Vtx;
7
8namespace Fast {
9class Vertex final : public Ship::Resource<Vtx> {
10 public:
11 using Resource::Resource;
12
14
15 Vtx* GetPointer() override;
16 size_t GetPointerSize() override;
17
18 std::vector<Vtx> VertexList;
19};
20} // namespace Fast
Definition Vertex.h:9
Vtx * GetPointer() override
Returns a typed pointer to the resource payload.
size_t GetPointerSize() override
Returns the size (in bytes) of the type pointed to by GetRawPointer().
std::vector< Vtx > VertexList
Definition Vertex.h:18
Typed resource base class that provides a strongly-typed pointer accessor.
Definition Resource.h:73
Definition gfx_direct3d_common.h:19