Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::RenderSprite Class Referencefinal

#include <ClientRenderer11.h>

Inheritance diagram for Rendering::RenderSprite:
[legend]
Collaboration diagram for Rendering::RenderSprite:
[legend]

Public Member Functions

 RenderSprite (RenderDevice &owner)
RenderDevice & Device ()
HRESULT Initialize ()
HRESULT Begin (DWORD flags)
HRESULT Draw (RenderTexture *image, const RECT *rectangle, const RiseMath::Vector3 *center, const RiseMath::Vector3 *position, PackedColor color)
HRESULT SetTransform (const RiseMath::Matrix *value)
HRESULT GetTransform (RiseMath::Matrix *value) const
HRESULT Flush ()
HRESULT End ()
HRESULT SetSamplerState (DWORD state, DWORD value)
HRESULT OnLostDevice ()
HRESULT OnResetDevice ()
Sprite11 & Native ()
Public Member Functions inherited from Rendering::RenderResource
ULONG AddRef ()
ULONG Release ()
virtual ~RenderResource ()=default

Private Attributes

RenderDevice & owner
RenderSprite * previousSprite =nullptr
bool active =false
std::array< DWORD, 3 > filters {{Filter::ANISOTROPIC,Filter::ANISOTROPIC,Filter::LINEAR}}
Sprite11 sprite

Detailed Description

Definition at line 197 of file ClientRenderer11.h.

Constructor & Destructor Documentation

◆ RenderSprite()

Rendering::RenderSprite::RenderSprite ( RenderDevice & owner)
inlineexplicit

Definition at line 200 of file ClientRenderer11.h.

Member Function Documentation

◆ Begin()

HRESULT Rendering::RenderSprite::Begin ( DWORD flags)

Definition at line 213 of file ClientResources11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Device()

RenderDevice & Rendering::RenderSprite::Device ( )
inline

Definition at line 201 of file ClientRenderer11.h.

Here is the caller graph for this function:

◆ Draw()

HRESULT Rendering::RenderSprite::Draw ( RenderTexture * image,
const RECT * rectangle,
const RiseMath::Vector3 * center,
const RiseMath::Vector3 * position,
PackedColor color )
inline

Definition at line 204 of file ClientRenderer11.h.

Here is the call graph for this function:

◆ End()

HRESULT Rendering::RenderSprite::End ( )

Definition at line 230 of file ClientResources11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Flush()

HRESULT Rendering::RenderSprite::Flush ( )

Definition at line 224 of file ClientResources11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetTransform()

HRESULT Rendering::RenderSprite::GetTransform ( RiseMath::Matrix * value) const
inline

Definition at line 207 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Initialize()

HRESULT Rendering::RenderSprite::Initialize ( )
inline

Definition at line 202 of file ClientRenderer11.h.

Here is the call graph for this function:

◆ Native()

Sprite11 & Rendering::RenderSprite::Native ( )
inline

Definition at line 213 of file ClientRenderer11.h.

Here is the caller graph for this function:

◆ OnLostDevice()

HRESULT Rendering::RenderSprite::OnLostDevice ( )
inline

Definition at line 211 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ OnResetDevice()

HRESULT Rendering::RenderSprite::OnResetDevice ( )
inline

Definition at line 212 of file ClientRenderer11.h.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetSamplerState()

HRESULT Rendering::RenderSprite::SetSamplerState ( DWORD state,
DWORD value )

Definition at line 232 of file ClientRenderer11.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetTransform()

HRESULT Rendering::RenderSprite::SetTransform ( const RiseMath::Matrix * value)
inline

Definition at line 206 of file ClientRenderer11.h.

Here is the call graph for this function:

Member Data Documentation

◆ active

bool Rendering::RenderSprite::active =false
private

Definition at line 217 of file ClientRenderer11.h.

◆ filters

std::array<DWORD,3> Rendering::RenderSprite::filters {{Filter::ANISOTROPIC,Filter::ANISOTROPIC,Filter::LINEAR}}
private

Definition at line 218 of file ClientRenderer11.h.

◆ owner

RenderDevice& Rendering::RenderSprite::owner
private

Definition at line 215 of file ClientRenderer11.h.

◆ previousSprite

RenderSprite* Rendering::RenderSprite::previousSprite =nullptr
private

Definition at line 216 of file ClientRenderer11.h.

◆ sprite

Sprite11 Rendering::RenderSprite::sprite
private

Definition at line 219 of file ClientRenderer11.h.


The documentation for this class was generated from the following files: