APEX Framework: nvidia::apex::UserRenderBuffer Class Reference

NVIDIA APEX

nvidia::apex::UserRenderBuffer Class Reference

User render buffer. More...

#include <UserRenderCallback.h>

Inheritance diagram for nvidia::apex::UserRenderBuffer:
nvidia::apex::UserRenderStorage

List of all members.

Public Member Functions

virtual Type getType () const
 Returns BUFFER type.
virtual void * map (RenderMapType::Enum mapType, size_t offset=0, size_t size=SIZE_MAX)=0
 Returns CPU memory pointer to buffer content.
virtual void unmap ()=0
 Flush CPU buffer to GPU.
virtual bool getCUDAgraphicsResource (CUgraphicsResource &ret)=0
 Returns graphics resource for CUDA Interop.

Detailed Description

User render buffer.


Member Function Documentation

virtual bool nvidia::apex::UserRenderBuffer::getCUDAgraphicsResource ( CUgraphicsResource ret) [pure virtual]

Returns graphics resource for CUDA Interop.

Note:
GPU access
virtual void* nvidia::apex::UserRenderBuffer::map ( RenderMapType::Enum  mapType,
size_t  offset = 0,
size_t  size = SIZE_MAX 
) [pure virtual]

Returns CPU memory pointer to buffer content.

Note:
CPU access

The documentation for this class was generated from the following file:

Generated on Fri Dec 15 2017 13:58:41

Copyright © 2012-2017 NVIDIA Corporation, 2701 San Tomas Expressway, Santa Clara, CA 95050 U.S.A. All rights reserved.