Jump to content

  • Log In with Google      Sign In   
  • Create Account


presenting framebuffer colorattachment immdeiately


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   -  Reputation: 210

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.

 

 



Sponsor:

#2 L. Spiro   Crossbones+   -  Reputation: 12746

Like
0Likes
Like

Posted 20 December 2013 - 12:01 AM

No.

Only render buffers can be presented.

 

 

L. Spiro


It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums

#3 JohnnyCode   Members   -  Reputation: 210

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   Crossbones+   -  Reputation: 12746

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.

It is amazing how often people try to be unique, and yet they are always trying to make others be like them. - L. Spiro 2011
I spent most of my life learning the courage it takes to go out and get what I want. Now that I have it, I am not sure exactly what it is that I want. - L. Spiro 2013
I went to my local Subway once to find some guy yelling at the staff. When someone finally came to take my order and asked, “May I help you?”, I replied, “Yeah, I’ll have one asshole to go.”
L. Spiro Engine: http://lspiroengine.com
L. Spiro Engine Forums: http://lspiroengine.com/forums




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.



PARTNERS