persona-3-dual
A DS demake of Persona 3
Loading...
Searching...
No Matches
View3DConfig Struct Reference

Data structure to store 3D view configuration parameters. More...

#include <RenderTypes.hpp>

Collaboration diagram for View3DConfig:

Public Attributes

int settings
 This is a bitmask of various settings, which will be passed to glEnable().
uint32_t polyParams = POLY_ALPHA(31) | POLY_CULL_BACK
 This is a bitmask of various polygon parameters, which will be passed to glPolyFmt().
RGBA clearColor = RGBA(0, 0, 0, 31)
int clearDepth = 0x7FFF
int clearPolyID = 0
int fov = 55
ae::q20_12_t aspect = ae::q20_12_t{256} / ae::q20_12_t{192}
ae::q20_12_t nearPlane = ae::q20_12_t{0.1}
 Defines how close the cmaera can see.
int farPlane = 40
 Defines how far the camera can see.
rgb outlineColor = -1
 Outline color in RGB15 format. If -1, outline will not be enabled.
RGBA fogColor = RGBA(-1, 0, 0, 0)
 RGBA values for the foh color. If the r value is -1, fog will not be enabled.
uint8_t shift = 1
uint8_t mass = 1
 How thick (translucent) the fog is.
uint16_t depth = 0x6000
 How far the fog is (0x0000 to 0x8000).

Detailed Description

Data structure to store 3D view configuration parameters.

Definition at line 35 of file RenderTypes.hpp.

Member Data Documentation

◆ aspect

ae::q20_12_t View3DConfig::aspect = ae::q20_12_t{256} / ae::q20_12_t{192}

Definition at line 47 of file RenderTypes.hpp.

◆ clearColor

RGBA View3DConfig::clearColor = RGBA(0, 0, 0, 31)

Definition at line 42 of file RenderTypes.hpp.

◆ clearDepth

int View3DConfig::clearDepth = 0x7FFF

Definition at line 43 of file RenderTypes.hpp.

◆ clearPolyID

int View3DConfig::clearPolyID = 0

Definition at line 44 of file RenderTypes.hpp.

◆ depth

uint16_t View3DConfig::depth = 0x6000

How far the fog is (0x0000 to 0x8000).

Definition at line 62 of file RenderTypes.hpp.

◆ farPlane

int View3DConfig::farPlane = 40

Defines how far the camera can see.

Definition at line 51 of file RenderTypes.hpp.

◆ fogColor

RGBA View3DConfig::fogColor = RGBA(-1, 0, 0, 0)

RGBA values for the foh color. If the r value is -1, fog will not be enabled.

Definition at line 57 of file RenderTypes.hpp.

◆ fov

int View3DConfig::fov = 55

Definition at line 46 of file RenderTypes.hpp.

◆ mass

uint8_t View3DConfig::mass = 1

How thick (translucent) the fog is.

Definition at line 60 of file RenderTypes.hpp.

◆ nearPlane

ae::q20_12_t View3DConfig::nearPlane = ae::q20_12_t{0.1}

Defines how close the cmaera can see.

Definition at line 49 of file RenderTypes.hpp.

◆ outlineColor

rgb View3DConfig::outlineColor = -1

Outline color in RGB15 format. If -1, outline will not be enabled.

Definition at line 54 of file RenderTypes.hpp.

◆ polyParams

uint32_t View3DConfig::polyParams = POLY_ALPHA(31) | POLY_CULL_BACK

This is a bitmask of various polygon parameters, which will be passed to glPolyFmt().

Definition at line 40 of file RenderTypes.hpp.

◆ settings

int View3DConfig::settings

This is a bitmask of various settings, which will be passed to glEnable().

Definition at line 38 of file RenderTypes.hpp.

◆ shift

uint8_t View3DConfig::shift = 1

Definition at line 58 of file RenderTypes.hpp.


The documentation for this struct was generated from the following file: