Advertisement Jump to content
  • Advertisement

JardaF

Member
  • Content Count

    1
  • Joined

  • Last visited

Community Reputation

0 Neutral

About JardaF

  • Rank
    Newbie

Personal Information

  • Role
    Programmer
  • 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.
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!