sead
Loading...
Searching...
No Matches
agl::RenderTarget< T > Class Template Reference

#include <aglRenderTarget.h>

Public Member Functions

 RenderTarget ()
TextureDatagetTextureData ()
const TextureDatagetTextureData () const
u32 getMipLevel () const
u32 getSlice () const
void setSlice (u32 slice)
void setMipLevel (u32 mip_level)
void applyTextureData (const TextureData &texture_data)
void applyTextureData (const TextureData &texture_data, u32 mip_level, u32 slice)

Static Public Attributes

static const u32 cMipLevelMax = 14

Protected Member Functions

void applyTextureData_ (const TextureData &texture_data, u32 mip_level, u32 slice)

Protected Attributes

TextureData mTextureData
bool mUpdateRegs
u32 mMipLevel
u32 mSlice

Constructor & Destructor Documentation

◆ RenderTarget()

template<typename T>
agl::RenderTarget< T >::RenderTarget ( )
inline

Member Function Documentation

◆ getTextureData() [1/2]

template<typename T>
TextureData & agl::RenderTarget< T >::getTextureData ( )
inline

◆ getTextureData() [2/2]

template<typename T>
const TextureData & agl::RenderTarget< T >::getTextureData ( ) const
inline

◆ getMipLevel()

template<typename T>
u32 agl::RenderTarget< T >::getMipLevel ( ) const
inline

◆ getSlice()

template<typename T>
u32 agl::RenderTarget< T >::getSlice ( ) const
inline

◆ setSlice()

template<typename T>
void agl::RenderTarget< T >::setSlice ( u32 slice)
inline

◆ setMipLevel()

template<typename T>
void agl::RenderTarget< T >::setMipLevel ( u32 mip_level)
inline

◆ applyTextureData() [1/2]

template<typename T>
void agl::RenderTarget< T >::applyTextureData ( const TextureData & texture_data)

◆ applyTextureData() [2/2]

template<typename T>
void agl::RenderTarget< T >::applyTextureData ( const TextureData & texture_data,
u32 mip_level,
u32 slice )

◆ applyTextureData_()

template<typename T>
void agl::RenderTarget< T >::applyTextureData_ ( const TextureData & texture_data,
u32 mip_level,
u32 slice )
protected

Member Data Documentation

◆ cMipLevelMax

template<typename T>
const u32 agl::RenderTarget< T >::cMipLevelMax = 14
static

◆ mTextureData

template<typename T>
TextureData agl::RenderTarget< T >::mTextureData
protected

◆ mUpdateRegs

template<typename T>
bool agl::RenderTarget< T >::mUpdateRegs
mutableprotected

◆ mMipLevel

template<typename T>
u32 agl::RenderTarget< T >::mMipLevel
protected

◆ mSlice

template<typename T>
u32 agl::RenderTarget< T >::mSlice
protected