sead
Loading...
Searching...
No Matches
agl::lyr::DrawMethod Class Reference

#include <aglDrawMethod.h>

Inherits sead::IDisposer, and sead::INamable.

Classes

class  Dummy

Public Member Functions

 DrawMethod ()
virtual ~DrawMethod ()
template<typename T>
void bind (T *obj, typename sead::Delegate1Const< T, const RenderInfo & >::MethodPtr method, const sead::SafeString &name)
template<typename T>
void bind (T *obj, typename sead::Delegate1< T, const RenderInfo & >::MethodPtr method, const sead::SafeString &name)
void setPriority (s32 priority)
s32 getPriority () const
void invoke (const RenderInfo &render_info)
void operator() (const RenderInfo &render_info)
Public Member Functions inherited from sead::IDisposer
 IDisposer ()
virtual ~IDisposer ()
Public Member Functions inherited from sead::INamable
 INamable ()
 INamable (const SafeString &name)
void setName (const SafeString &name)
const SafeStringgetName () const

Static Public Member Functions

static s32 compare (const DrawMethod *a, const DrawMethod *b)

Private Types

enum  DelegateType { cDelegateType_Dummy = 0 , cDelegateType_Const = 1 , cDelegateType_NonConst = 2 }

Private Attributes

DelegateType mDelegateType
s32 mPriority
struct { 
   u32   data_ [8] 
mDelegateHolder

Member Enumeration Documentation

◆ DelegateType

Enumerator
cDelegateType_Dummy 
cDelegateType_Const 
cDelegateType_NonConst 

Constructor & Destructor Documentation

◆ DrawMethod()

agl::lyr::DrawMethod::DrawMethod ( )
inline

◆ ~DrawMethod()

agl::lyr::DrawMethod::~DrawMethod ( )
virtual

Member Function Documentation

◆ bind() [1/2]

template<typename T>
void agl::lyr::DrawMethod::bind ( T * obj,
typename sead::Delegate1Const< T, const RenderInfo & >::MethodPtr method,
const sead::SafeString & name )
inline

◆ bind() [2/2]

template<typename T>
void agl::lyr::DrawMethod::bind ( T * obj,
typename sead::Delegate1< T, const RenderInfo & >::MethodPtr method,
const sead::SafeString & name )
inline

◆ setPriority()

void agl::lyr::DrawMethod::setPriority ( s32 priority)
inline

◆ getPriority()

s32 agl::lyr::DrawMethod::getPriority ( ) const
inline

◆ invoke()

void agl::lyr::DrawMethod::invoke ( const RenderInfo & render_info)
inline

◆ operator()()

void agl::lyr::DrawMethod::operator() ( const RenderInfo & render_info)
inline

◆ compare()

s32 agl::lyr::DrawMethod::compare ( const DrawMethod * a,
const DrawMethod * b )
static

Member Data Documentation

◆ mDelegateType

DelegateType agl::lyr::DrawMethod::mDelegateType
private

◆ mPriority

s32 agl::lyr::DrawMethod::mPriority
private

◆ data_

u32 agl::lyr::DrawMethod::data_[8]

◆ [struct]

struct { ... } agl::lyr::DrawMethod::mDelegateHolder