NW4F Eft
Loading...
Searching...
No Matches
nw::eft::Rendercontext Class Reference

#include <eft_CafeWrapper.h>

Public Member Functions

 Rendercontext ()
void SetupCommonState ()
void SetupBlendType (BlendType blendType)
void SetupZBufATest (ZBufATestType zBufATestType)
void SetupDisplaySideType (DisplaySideType displaySideType) const
void SetupTexture (const TextureRes *texture, TextureSlot slot, FragmentTextureLocation location)
void SetupTexture (const Texture texture, TextureSlot slot, FragmentTextureLocation location)
const TextureSamplerGetDefautSampler () const

Private Attributes

TextureSampler mTextureSampler
TextureSampler mDefaultTextureSampler
BlendType mBlendType
ZBufATestType mZBufATestType

Constructor & Destructor Documentation

◆ Rendercontext()

nw::eft::Rendercontext::Rendercontext ( )

Member Function Documentation

◆ SetupCommonState()

void nw::eft::Rendercontext::SetupCommonState ( )

◆ SetupBlendType()

void nw::eft::Rendercontext::SetupBlendType ( BlendType blendType)

◆ SetupZBufATest()

void nw::eft::Rendercontext::SetupZBufATest ( ZBufATestType zBufATestType)

◆ SetupDisplaySideType()

void nw::eft::Rendercontext::SetupDisplaySideType ( DisplaySideType displaySideType) const

◆ SetupTexture() [1/2]

void nw::eft::Rendercontext::SetupTexture ( const TextureRes * texture,
TextureSlot slot,
FragmentTextureLocation location )

◆ SetupTexture() [2/2]

void nw::eft::Rendercontext::SetupTexture ( const Texture texture,
TextureSlot slot,
FragmentTextureLocation location )

◆ GetDefautSampler()

const TextureSampler * nw::eft::Rendercontext::GetDefautSampler ( ) const
inline

Member Data Documentation

◆ mTextureSampler

TextureSampler nw::eft::Rendercontext::mTextureSampler
private

◆ mDefaultTextureSampler

TextureSampler nw::eft::Rendercontext::mDefaultTextureSampler
private

◆ mBlendType

BlendType nw::eft::Rendercontext::mBlendType
private

◆ mZBufATestType

ZBufATestType nw::eft::Rendercontext::mZBufATestType
private