Rise
The Vieneo Province
Loading...
Searching...
No Matches
Rendering::Materials11 Class Reference

#include <Materials11.h>

Collaboration diagram for Rendering::Materials11:
[legend]

Classes

struct  Key

Public Member Functions

HRESULT Initialize (ID3D11Device *device, const std::filesystem::path &shaderDirectory={})
HRESULT Bind (ID3D11DeviceContext *context, UINT pass, const VertexLayout11 &layout, const D3D11_VIEWPORT &viewport)
Parameters11 & Values ()
void Reset ()
const std::string & Status () const

Private Attributes

Microsoft::WRL::ComPtr< ID3D11Device > device
std::filesystem::path directory
Parameters11 values
std::map< Key, std::unique_ptr< Program11 > > programs
std::vector< Microsoft::WRL::ComPtr< ID3D11SamplerState > > samplers
std::string status

Detailed Description

Definition at line 9 of file Materials11.h.

Member Function Documentation

◆ Bind()

HRESULT Rendering::Materials11::Bind ( ID3D11DeviceContext * context,
UINT pass,
const VertexLayout11 & layout,
const D3D11_VIEWPORT & viewport )

Definition at line 25 of file Materials11.cpp.

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

◆ Initialize()

HRESULT Rendering::Materials11::Initialize ( ID3D11Device * device,
const std::filesystem::path & shaderDirectory = {} )

Definition at line 14 of file Materials11.cpp.

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

◆ Reset()

void Rendering::Materials11::Reset ( )

Definition at line 9 of file Materials11.cpp.

Here is the caller graph for this function:

◆ Status()

const std::string & Rendering::Materials11::Status ( ) const
inline

Definition at line 16 of file Materials11.h.

Here is the caller graph for this function:

◆ Values()

Parameters11 & Rendering::Materials11::Values ( )
inline

Definition at line 14 of file Materials11.h.

Here is the caller graph for this function:

Member Data Documentation

◆ device

Microsoft::WRL::ComPtr<ID3D11Device> Rendering::Materials11::device
private

Definition at line 24 of file Materials11.h.

◆ directory

std::filesystem::path Rendering::Materials11::directory
private

Definition at line 25 of file Materials11.h.

◆ programs

std::map<Key,std::unique_ptr<Program11> > Rendering::Materials11::programs
private

Definition at line 27 of file Materials11.h.

◆ samplers

std::vector<Microsoft::WRL::ComPtr<ID3D11SamplerState> > Rendering::Materials11::samplers
private

Definition at line 28 of file Materials11.h.

◆ status

std::string Rendering::Materials11::status
private

Definition at line 29 of file Materials11.h.

◆ values

Parameters11 Rendering::Materials11::values
private

Definition at line 26 of file Materials11.h.


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