Alchemy
Loading...
Searching...
No Matches

render_input.h File Reference

The sprite renderer's inputs and outputs: render inputs, OAM attributes and render output lists. More...

Go to the source code of this file.

Data Structures

struct  RenderInput
 A 16-byte record of a rectangle. More...
union  RenderTableValue
 A sprite's OAM attribute 2 (tile index, priority and palette) and the halfword after it, as one word or as fields. More...
struct  RenderOam
 Attributes zero through two copied to OAM, plus one unused word. More...
struct  RenderOutput
 A render output: a sprite in a window's output list (a character, an icon or a portrait), with its VRAM cache slot and OAM attributes. More...
struct  RenderOutputList
 A list of render outputs: its first output and the link to append after. More...

Functions

 STATIC_ASSERT (sizeof(struct RenderInput)==0x10)
 STATIC_ASSERT (offsetof(struct RenderInput, width)==8)
 STATIC_ASSERT (offsetof(struct RenderInput, x)==12)
 STATIC_ASSERT (sizeof(struct RenderOutputList)==8)
 STATIC_ASSERT (offsetof(struct RenderOutputList, tailLink)==4)
 STATIC_ASSERT (offsetof(struct RenderOutput, animStep)==0x0c)
 STATIC_ASSERT (offsetof(struct RenderOutput, sentinel)==0x0f)
 STATIC_ASSERT (offsetof(struct RenderOutput, oam)==0x14)
 STATIC_ASSERT (sizeof(struct RenderOutput)==0x1c)

Detailed Description

The sprite renderer's inputs and outputs: render inputs, OAM attributes and render output lists.

Definition in file render_input.h.

Function Documentation

◆ STATIC_ASSERT() [1/9]

STATIC_ASSERT ( sizeof(struct RenderInput) = =0x10)

◆ STATIC_ASSERT() [2/9]

STATIC_ASSERT ( offsetof(struct RenderInput, width) = =8)

◆ STATIC_ASSERT() [3/9]

STATIC_ASSERT ( offsetof(struct RenderInput, x) = =12)

◆ STATIC_ASSERT() [4/9]

STATIC_ASSERT ( sizeof(struct RenderOutputList) = =8)

◆ STATIC_ASSERT() [5/9]

STATIC_ASSERT ( offsetof(struct RenderOutputList, tailLink) = =4)

◆ STATIC_ASSERT() [6/9]

STATIC_ASSERT ( offsetof(struct RenderOutput, animStep) = =0x0c)

◆ STATIC_ASSERT() [7/9]

STATIC_ASSERT ( offsetof(struct RenderOutput, sentinel) = =0x0f)

◆ STATIC_ASSERT() [8/9]

STATIC_ASSERT ( offsetof(struct RenderOutput, oam) = =0x14)

◆ STATIC_ASSERT() [9/9]

STATIC_ASSERT ( sizeof(struct RenderOutput) = =0x1c)