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

#include <Program11.h>

Collaboration diagram for Rendering::Program11:
[legend]

Classes

struct  Variable
struct  ConstantBuffer
struct  Resource
struct  Stage

Public Member Functions

HRESULT Create (ID3D11Device *device, const void *vertexCode, size_t vertexSize, const void *pixelCode, size_t pixelSize, const D3D11_INPUT_ELEMENT_DESC *elements=nullptr, UINT elementCount=0, UINT bgraColorMask=0)
HRESULT Bind (ID3D11DeviceContext *context, const Parameters11 &parameters)
void Reset ()
bool Ready () const
const std::string & Status () const

Private Member Functions

HRESULT Reflect (ID3D11Device *device, const void *code, size_t size, Stage &stage)
HRESULT BindStage (ID3D11DeviceContext *context, const Parameters11 &parameters, Stage &stage, bool vertexStage)
HRESULT Error (const std::string &message, HRESULT hr)

Private Attributes

bool ready =false
Stage vertexStage
Stage pixelStage
UINT bgraColorMask = 0
Microsoft::WRL::ComPtr< ID3D11VertexShader > vertex
Microsoft::WRL::ComPtr< ID3D11PixelShader > pixel
Microsoft::WRL::ComPtr< ID3D11InputLayout > layout
std::string status

Detailed Description

Definition at line 55 of file Program11.h.

Member Function Documentation

◆ Bind()

HRESULT Rendering::Program11::Bind ( ID3D11DeviceContext * context,
const Parameters11 & parameters )

Definition at line 351 of file Program11.cpp.

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

◆ BindStage()

HRESULT Rendering::Program11::BindStage ( ID3D11DeviceContext * context,
const Parameters11 & parameters,
Stage & stage,
bool vertexStage )
private

Definition at line 192 of file Program11.cpp.

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

◆ Create()

HRESULT Rendering::Program11::Create ( ID3D11Device * device,
const void * vertexCode,
size_t vertexSize,
const void * pixelCode,
size_t pixelSize,
const D3D11_INPUT_ELEMENT_DESC * elements = nullptr,
UINT elementCount = 0,
UINT bgraColorMask = 0 )

Definition at line 134 of file Program11.cpp.

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

◆ Error()

HRESULT Rendering::Program11::Error ( const std::string & message,
HRESULT hr )
private

Definition at line 79 of file Program11.cpp.

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

◆ Ready()

bool Rendering::Program11::Ready ( ) const
inline

Definition at line 66 of file Program11.h.

Here is the caller graph for this function:

◆ Reflect()

HRESULT Rendering::Program11::Reflect ( ID3D11Device * device,
const void * code,
size_t size,
Stage & stage )
private

Definition at line 84 of file Program11.cpp.

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

◆ Reset()

void Rendering::Program11::Reset ( )

Definition at line 80 of file Program11.cpp.

Here is the caller graph for this function:

◆ Status()

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

Definition at line 67 of file Program11.h.

Here is the caller graph for this function:

Member Data Documentation

◆ bgraColorMask

UINT Rendering::Program11::bgraColorMask = 0
private

Definition at line 105 of file Program11.h.

◆ layout

Microsoft::WRL::ComPtr<ID3D11InputLayout> Rendering::Program11::layout
private

Definition at line 108 of file Program11.h.

◆ pixel

Microsoft::WRL::ComPtr<ID3D11PixelShader> Rendering::Program11::pixel
private

Definition at line 107 of file Program11.h.

◆ pixelStage

Stage Rendering::Program11::pixelStage
private

Definition at line 104 of file Program11.h.

◆ ready

bool Rendering::Program11::ready =false
private

Definition at line 70 of file Program11.h.

◆ status

std::string Rendering::Program11::status
private

Definition at line 109 of file Program11.h.

◆ vertex

Microsoft::WRL::ComPtr<ID3D11VertexShader> Rendering::Program11::vertex
private

Definition at line 106 of file Program11.h.

◆ vertexStage

Stage Rendering::Program11::vertexStage
private

Definition at line 104 of file Program11.h.


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