New Super Mario Bros. U Headers
Loading...
Searching...
No Matches
ModelEnvView Class Reference

#include <ModelEnvView.h>

Classes

struct  Member

Public Types

enum  MemberIndex {
  cMemberIndex_View = 0 , cMemberIndex_ViewProj , cMemberIndex_LightDiffDir , cMemberIndex_LightDiffColor ,
  cMemberIndex_AmbColor , cMemberIndex_FogColor , cMemberIndex_FogStart , cMemberIndex_FogStartEndInv ,
  cMemberIndex_ShadowMtx , cMemberIndex_FogDir , cMemberIndex_TexProjMtx , cMemberNum
}

Public Member Functions

 ModelEnvView ()
 ~ModelEnvView ()
void setUniformData (s32 view_index, const sead::Matrix34f &view_mtx, const sead::Matrix44f &proj_mtx, const sead::Matrix44f *depth_shadow_mtx, const agl::env::EnvObjSet *env_obj_set, void *reflection_fog)
s32 getViewNum () const
const agl::UniformBlockgetUniformBlock (s32 view_index) const

Static Public Attributes

static const Member cMember [cMemberNum]
static const s32 cLightObjMax = 8
static const s32 cChannelMax = 2
static const s32 cFogMax = 8

Private Attributes

s32 mViewNum
sead::Buffer< agl::UniformBlockmUniformBlock

Member Enumeration Documentation

◆ MemberIndex

Enumerator
cMemberIndex_View 
cMemberIndex_ViewProj 
cMemberIndex_LightDiffDir 
cMemberIndex_LightDiffColor 
cMemberIndex_AmbColor 
cMemberIndex_FogColor 
cMemberIndex_FogStart 
cMemberIndex_FogStartEndInv 
cMemberIndex_ShadowMtx 
cMemberIndex_FogDir 
cMemberIndex_TexProjMtx 
cMemberNum 

Constructor & Destructor Documentation

◆ ModelEnvView()

ModelEnvView::ModelEnvView ( )

◆ ~ModelEnvView()

ModelEnvView::~ModelEnvView ( )
inline

Member Function Documentation

◆ setUniformData()

void ModelEnvView::setUniformData ( s32 view_index,
const sead::Matrix34f & view_mtx,
const sead::Matrix44f & proj_mtx,
const sead::Matrix44f * depth_shadow_mtx,
const agl::env::EnvObjSet * env_obj_set,
void * reflection_fog )

◆ getViewNum()

s32 ModelEnvView::getViewNum ( ) const
inline

◆ getUniformBlock()

const agl::UniformBlock & ModelEnvView::getUniformBlock ( s32 view_index) const
inline

Member Data Documentation

◆ cMember

const Member ModelEnvView::cMember[cMemberNum]
static

◆ cLightObjMax

const s32 ModelEnvView::cLightObjMax = 8
static

◆ cChannelMax

const s32 ModelEnvView::cChannelMax = 2
static

◆ cFogMax

const s32 ModelEnvView::cFogMax = 8
static

◆ mViewNum

s32 ModelEnvView::mViewNum
private

◆ mUniformBlock

sead::Buffer<agl::UniformBlock> ModelEnvView::mUniformBlock
private