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

#include <ClientRenderer11.h>

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

Public Member Functions

 RenderMaterial (RenderDevice &owner)
HRESULT SetTechnique (const char *name)
HRESULT SetMatrix (const char *name, const RiseMath::Matrix *value)
HRESULT SetVector (const char *name, const RiseMath::Vector4 *value)
HRESULT SetVectorArray (const char *name, const RiseMath::Vector4 *value, UINT count)
HRESULT SetIntArray (const char *name, const int *value, UINT count)
HRESULT SetFloat (const char *name, float value)
HRESULT SetInt (const char *name, int value)
HRESULT SetTexture (const char *name, RenderTexture *value)
HRESULT SetValue (const char *name, const void *value, UINT bytes)
HRESULT Begin (UINT *count, DWORD flags)
HRESULT BeginPass (UINT pass)
HRESULT EndPass ()
HRESULT CommitChanges ()
HRESULT End ()
HRESULT OnLostDevice ()
HRESULT OnResetDevice ()
Public Member Functions inherited from Rendering::RenderResource
ULONG AddRef ()
ULONG Release ()
virtual ~RenderResource ()=default

Private Attributes

RenderDevice & owner
bool active =false
int previousPass =-1

Detailed Description

Definition at line 172 of file ClientRenderer11.h.

Constructor & Destructor Documentation

◆ RenderMaterial()

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

Definition at line 175 of file ClientRenderer11.h.

Member Function Documentation

◆ Begin()

HRESULT Rendering::RenderMaterial::Begin ( UINT * count,
DWORD flags )

Definition at line 204 of file ClientResources11.cpp.

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

◆ BeginPass()

HRESULT Rendering::RenderMaterial::BeginPass ( UINT pass)
inline

Definition at line 186 of file ClientRenderer11.h.

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

◆ CommitChanges()

HRESULT Rendering::RenderMaterial::CommitChanges ( )
inline

Definition at line 188 of file ClientRenderer11.h.

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

◆ End()

HRESULT Rendering::RenderMaterial::End ( )

Definition at line 209 of file ClientResources11.cpp.

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

◆ EndPass()

HRESULT Rendering::RenderMaterial::EndPass ( )
inline

Definition at line 187 of file ClientRenderer11.h.

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

◆ OnLostDevice()

HRESULT Rendering::RenderMaterial::OnLostDevice ( )
inline

Definition at line 190 of file ClientRenderer11.h.

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

◆ OnResetDevice()

HRESULT Rendering::RenderMaterial::OnResetDevice ( )
inline

Definition at line 191 of file ClientRenderer11.h.

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

◆ SetFloat()

HRESULT Rendering::RenderMaterial::SetFloat ( const char * name,
float value )
inline

Definition at line 181 of file ClientRenderer11.h.

Here is the call graph for this function:

◆ SetInt()

HRESULT Rendering::RenderMaterial::SetInt ( const char * name,
int value )
inline

Definition at line 182 of file ClientRenderer11.h.

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

◆ SetIntArray()

HRESULT Rendering::RenderMaterial::SetIntArray ( const char * name,
const int * value,
UINT count )
inline

Definition at line 180 of file ClientRenderer11.h.

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

◆ SetMatrix()

HRESULT Rendering::RenderMaterial::SetMatrix ( const char * name,
const RiseMath::Matrix * value )
inline

Definition at line 177 of file ClientRenderer11.h.

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

◆ SetTechnique()

HRESULT Rendering::RenderMaterial::SetTechnique ( const char * name)
inline

Definition at line 176 of file ClientRenderer11.h.

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

◆ SetTexture()

HRESULT Rendering::RenderMaterial::SetTexture ( const char * name,
RenderTexture * value )

Definition at line 191 of file ClientResources11.cpp.

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

◆ SetValue()

HRESULT Rendering::RenderMaterial::SetValue ( const char * name,
const void * value,
UINT bytes )

Definition at line 189 of file ClientResources11.cpp.

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

◆ SetVector()

HRESULT Rendering::RenderMaterial::SetVector ( const char * name,
const RiseMath::Vector4 * value )
inline

Definition at line 178 of file ClientRenderer11.h.

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

◆ SetVectorArray()

HRESULT Rendering::RenderMaterial::SetVectorArray ( const char * name,
const RiseMath::Vector4 * value,
UINT count )
inline

Definition at line 179 of file ClientRenderer11.h.

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

Member Data Documentation

◆ active

bool Rendering::RenderMaterial::active =false
private

Definition at line 194 of file ClientRenderer11.h.

◆ owner

RenderDevice& Rendering::RenderMaterial::owner
private

Definition at line 193 of file ClientRenderer11.h.

◆ previousPass

int Rendering::RenderMaterial::previousPass =-1
private

Definition at line 195 of file ClientRenderer11.h.


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