APEX Framework: nvidia::apex::UserRenderSurface Class Reference

NVIDIA APEX

nvidia::apex::UserRenderSurface Class Reference

User render surface. More...

#include <UserRenderCallback.h>

Inheritance diagram for nvidia::apex::UserRenderSurface:
nvidia::apex::UserRenderStorage

List of all members.

Classes

struct  MappedInfo
 Mapped information. More...

Public Member Functions

virtual Type getType () const
 Returns SURFACE type.
virtual bool map (RenderMapType::Enum mapType, MappedInfo &info)=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 surface.


Member Function Documentation

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

Returns graphics resource for CUDA Interop.

Note:
GPU access
virtual bool nvidia::apex::UserRenderSurface::map ( RenderMapType::Enum  mapType,
MappedInfo info 
) [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.