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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!