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