Class Shader

Class Documentation

class Shader

Public Functions

Shader()
Shader(const String &vertexPath, const String &pixelPath, const BufferFormat &vertexBufferFormat)
~Shader()
void bind() const
bool isValid() const

Public Members

Microsoft::WRL::ComPtr<ID3D11VertexShader> m_VertexShader
Microsoft::WRL::ComPtr<ID3D11PixelShader> m_PixelShader
Microsoft::WRL::ComPtr<ID3D11InputLayout> m_InputLayout
bool m_IsValid = true