18     ID3D11ClassLinkage* linkage = 
nullptr;
    19     ID3D11PixelShader* dxShader = 
nullptr;
    20     HRESULT hr = device->CreatePixelShader(&code[0], code.size(), linkage, &dxShader);
    30         return std::make_shared<DX11PixelShader>(
    31             reinterpret_cast<ID3D11Device*
>(device),
    32             static_cast<Shader const*>(
object));
    43         ID3D11ClassInstance* instances[1] = { 
nullptr };
    44         UINT numInstances = 0;
    45         ID3D11PixelShader* dxShader = 
static_cast<ID3D11PixelShader*
>(
mDXObject);
    46         context->PSSetShader(dxShader, instances, numInstances);
    54         ID3D11ClassInstance* instances[1] = { 
nullptr };
    55         UINT numInstances = 0;
    56         ID3D11PixelShader* dxShader = 
nullptr;
    57         context->PSSetShader(dxShader, instances, numInstances);
    62     unsigned int bindPoint, ID3D11Buffer* 
buffer)
    66         ID3D11Buffer* 
buffers[1] = { buffer };
    67         context->PSSetConstantBuffers(bindPoint, 1, buffers);
    72     unsigned int bindPoint)
    76         ID3D11Buffer* 
buffers[1] = { 
nullptr };
    77         context->PSSetConstantBuffers(bindPoint, 1, buffers);
    82     unsigned int bindPoint, ID3D11ShaderResourceView* srView)
    86         ID3D11ShaderResourceView* views[1] = { srView };
    87         context->PSSetShaderResources(bindPoint, 1, views);
    92     unsigned int bindPoint)
    96         ID3D11ShaderResourceView* views[1] = { 
nullptr };
    97         context->PSSetShaderResources(bindPoint, 1, views);
   102     unsigned int bindPoint, ID3D11UnorderedAccessView* uaView,
   103     unsigned int initialCount)
   107         ID3D11UnorderedAccessView* uaViews[1] = { uaView };
   108         unsigned int initialCounts[1] = { initialCount };
   109         context->OMSetRenderTargetsAndUnorderedAccessViews(
   110             D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL, 
nullptr, 
nullptr,
   111             bindPoint, 1, uaViews, initialCounts);
   116     unsigned int bindPoint)
   120         ID3D11UnorderedAccessView* uaViews[1] = { 
nullptr };
   121         unsigned int initialCounts[1] = { 0xFFFFFFFFu };
   122         context->OMSetRenderTargetsAndUnorderedAccessViews(
   123             D3D11_KEEP_RENDER_TARGETS_AND_DEPTH_STENCIL, 
nullptr, 
nullptr,
   124             bindPoint, 1, uaViews, initialCounts);
   129     unsigned int bindPoint, ID3D11SamplerState* state)
   133         ID3D11SamplerState* states[1] = { state };
   134         context->PSSetSamplers(bindPoint, 1, states);
   139     unsigned int bindPoint)
   143         ID3D11SamplerState* states[1] = { 
nullptr };
   144         context->PSSetSamplers(bindPoint, 1, states);
 #define CHECK_HR_RETURN_NONE(msg)
 
virtual void DisableSampler(ID3D11DeviceContext *context, unsigned int bindPoint) override
 
virtual void Enable(ID3D11DeviceContext *context) override
 
GraphicsObjectType GetType() const 
 
virtual void DisableCBuffer(ID3D11DeviceContext *context, unsigned int bindPoint) override
 
DX11PixelShader(ID3D11Device *device, Shader const *shader)
 
#define LogError(message)
 
ID3D11DeviceChild * mDXObject
 
virtual void EnableSampler(ID3D11DeviceContext *context, unsigned int bindPoint, ID3D11SamplerState *state) override
 
virtual void DisableUAView(ID3D11DeviceContext *context, unsigned int bindPoint) override
 
virtual void EnableSRView(ID3D11DeviceContext *context, unsigned int bindPoint, ID3D11ShaderResourceView *srView) override
 
virtual void DisableSRView(ID3D11DeviceContext *context, unsigned int bindPoint) override
 
static std::shared_ptr< GEObject > Create(void *device, GraphicsObject const *object)
 
typedef UINT(WINAPI *PFNWGLGETGPUIDSAMDPROC)(UINT maxCount
 
virtual void EnableCBuffer(ID3D11DeviceContext *context, unsigned int bindPoint, ID3D11Buffer *buffer) override
 
virtual void Disable(ID3D11DeviceContext *context) override
 
virtual void EnableUAView(ID3D11DeviceContext *context, unsigned int bindPoint, ID3D11UnorderedAccessView *uaView, unsigned int initialCount) override
 
std::vector< unsigned char > const & GetCompiledCode() const