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

#include <Program11.h>

Collaboration diagram for Rendering::Parameters11:
[legend]

Classes

struct  Value
struct  TextureValue

Public Member Functions

 Parameters11 ()=default
 Parameters11 (const Parameters11 &other)
Parameters11 & operator= (const Parameters11 &other)
 Parameters11 (Parameters11 &&other) noexcept
Parameters11 & operator= (Parameters11 &&other) noexcept
void Set (const std::string &name, const void *data, size_t bytes)
template<class T>
void Set (const std::string &name, const T &value)
bool ZeroOrUnset (const std::string &name) const
void Texture (const std::string &name, ID3D11ShaderResourceView *value)
ID3D11ShaderResourceView * Texture (const std::string &name) const
void Sampler (const std::string &name, ID3D11SamplerState *value)
void ClearTextures ()

Private Attributes

uint64_t version = 0
uint64_t layoutVersion = 0
std::map< std::string, Value > values
std::map< std::string, TextureValue > textures
std::map< std::string, Microsoft::WRL::ComPtr< ID3D11SamplerState > > samplers

Friends

class Program11

Detailed Description

Definition at line 14 of file Program11.h.

Constructor & Destructor Documentation

◆ Parameters11() [1/3]

Rendering::Parameters11::Parameters11 ( )
default
Here is the call graph for this function:
Here is the caller graph for this function:

◆ Parameters11() [2/3]

Rendering::Parameters11::Parameters11 ( const Parameters11 & other)

Definition at line 19 of file Program11.cpp.

Here is the call graph for this function:

◆ Parameters11() [3/3]

Rendering::Parameters11::Parameters11 ( Parameters11 && other)
noexcept

Definition at line 32 of file Program11.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ ClearTextures()

void Rendering::Parameters11::ClearTextures ( )

Definition at line 72 of file Program11.cpp.

Here is the caller graph for this function:

◆ operator=() [1/2]

Parameters11 & Rendering::Parameters11::operator= ( const Parameters11 & other)

Definition at line 20 of file Program11.cpp.

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

◆ operator=() [2/2]

Parameters11 & Rendering::Parameters11::operator= ( Parameters11 && other)
noexcept

Definition at line 33 of file Program11.cpp.

Here is the call graph for this function:

◆ Sampler()

void Rendering::Parameters11::Sampler ( const std::string & name,
ID3D11SamplerState * value )

Definition at line 66 of file Program11.cpp.

Here is the caller graph for this function:

◆ Set() [1/2]

template<class T>
void Rendering::Parameters11::Set ( const std::string & name,
const T & value )
inline

Definition at line 23 of file Program11.h.

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

◆ Set() [2/2]

void Rendering::Parameters11::Set ( const std::string & name,
const void * data,
size_t bytes )

Definition at line 45 of file Program11.cpp.

◆ Texture() [1/2]

ID3D11ShaderResourceView * Rendering::Parameters11::Texture ( const std::string & name) const
inline

Definition at line 33 of file Program11.h.

◆ Texture() [2/2]

void Rendering::Parameters11::Texture ( const std::string & name,
ID3D11ShaderResourceView * value )

Definition at line 55 of file Program11.cpp.

Here is the caller graph for this function:

◆ ZeroOrUnset()

bool Rendering::Parameters11::ZeroOrUnset ( const std::string & name) const
inline

Definition at line 26 of file Program11.h.

Here is the caller graph for this function:

◆ Program11

friend class Program11
friend

Definition at line 38 of file Program11.h.

Member Data Documentation

◆ layoutVersion

uint64_t Rendering::Parameters11::layoutVersion = 0
private

Definition at line 49 of file Program11.h.

◆ samplers

std::map<std::string, Microsoft::WRL::ComPtr<ID3D11SamplerState> > Rendering::Parameters11::samplers
private

Definition at line 52 of file Program11.h.

◆ textures

std::map<std::string, TextureValue> Rendering::Parameters11::textures
private

Definition at line 51 of file Program11.h.

◆ values

std::map<std::string, Value> Rendering::Parameters11::values
private

Definition at line 50 of file Program11.h.

◆ version

uint64_t Rendering::Parameters11::version = 0
private

Definition at line 45 of file Program11.h.


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