JardaF

Members
  • Content count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JardaF

  • Rank
    Newbie

Personal Information

  • Interests
    Programming
  1. In D3D11_Renderer::BeginFrame set render target: m_pDeviceContext->OMSetRenderTargets(1, &m_renderTargetView.p, nullptr); In Triangle::Draw, set primitive topology and vertex-buffer: deviceContext->IASetPrimitiveTopology(D3D_PRIMITIVE_TOPOLOGY_TRIANGLELIST); deviceContext->IASetVertexBuffers(0, 1, &m_vertexBuffer.p, &stride, &offset); See CComPtr with ID3D11RenderTargetView.