• Post Reply Bookmark Topic Watch Topic
  • New Topic

what does it mean to get a Rasters DataBuffer  RSS feed

 
abdul halim
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I've been trying to practice some active rendering involving triple buffering and manipulating a BufferedImage's raster. however, as I was watching some videos and reading articles, I noticed programers using this method invocation hierarchy to get the raster's pixels ((DataBufferInt) BufferedImage.getRaster().getDataBuffer()).getData() I know what does the method getRaster() return, but I'm confused about the other ones especially the getDataBuffer(). can somebody please explain what is a data buffer exactly, and what is happening when invoking those methods?

Thanks
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!