Skip to Content
GPGPU Programming for Games and Science
book

GPGPU Programming for Games and Science

by David H. Eberly
August 2014
Intermediate to advanced
469 pages
16h 30m
English
A K Peters/CRC Press
Content preview from GPGPU Programming for Games and Science
GPU Computing 173
The views determine which portions of the buffers are set to the constant
values. The color and depth-stencil views created for the back buffer have
views that cover the entire buffer, so all buffer values are set. It is possible
to have multiple views for a single buffer, so if you want to clear only a
subrectangle of a buffer, you must create a view of that size and pass that to
the clear calls.
Once you are finished using the color buffer, color view, depth-stencil
buffer, and depth-stencil view, remember to call their
Release() functions so
that their reference counts are decremented. If you plan on resizing the win-
dow during runtime,
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Graphics Gems V (IBM Version)

Graphics Gems V (IBM Version)

Alan W. Paeth
GPU Pro 6

GPU Pro 6

Wolfgang Engel

Publisher Resources

ISBN: 9781466595354