Jump to content

View more

Image of the Day

雑魚は多めにして、爽快感重視にしつつ・・・(´・ω・`)
早いとこ、ベースを作って、完成にもっていかないとね。
タイトルもまだ迷ってるだよなぁ。 
#indiedev  #indiegame #screenshotsaturday https://t.co/IwVbswGrhe
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

presenting framebuffer colorattachment immdeiately

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
3 replies to this topic

#1 JohnnyCode   Members   

1161
Like
0Likes
Like

Posted 19 December 2013 - 08:51 PM

Hi.

 

I have a question wheather it is possible to output a framebuffer color attachment texture to the front buffer instantly, without drawing a screen aligned quad in front buffer that samples this attachment.

 

 



#2 L. Spiro   Members   

25463
Like
0Likes
Like

Posted 20 December 2013 - 12:01 AM

No.

Only render buffers can be presented.

 

 

L. Spiro



#3 JohnnyCode   Members   

1161
Like
0Likes
Like

Posted 21 December 2013 - 04:12 PM

No.

Only render buffers can be presented.

 

 

L. Spiro

can you tell how?



#4 L. Spiro   Members   

25463
Like
1Likes
Like

Posted 23 December 2013 - 12:04 AM

You created one at initialization internally when you called (on Windows®) ::SetPixelFormat().  Swap it while bound (it may not need to be specifically bound on Windows®).  For Windows® that means ::SwapBuffers().

 

 

L. Spiro


Edited by L. Spiro, 23 December 2013 - 01:19 AM.





Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.