Public Member Functions | Public Attributes
nvidia::apex::ApexDesc Class Reference

Base class for all APEX Descriptor classes. More...

#include <ApexDesc.h>

Inheritance diagram for nvidia::apex::ApexDesc:

List of all members.

Public Member Functions

PX_INLINE ApexDesc ()
 constructor sets to default.
PX_INLINE void setToDefault ()
 (re)sets the structure to the default.
PX_INLINE bool isValid () const
 Returns true if the descriptor is valid.

Public Attributes

void * userData
 for standard init of user data member

Detailed Description

Base class for all APEX Descriptor classes.

A descriptor class of type NxXDesc is typically passed to a createX() function. Descriptors have several advantages over simply passing a number of explicit parameters to create():

Care should be taken that derived descriptor classes do not initialize their base class members multiple times, once in the constructor, and once in setToDefault()!


Member Function Documentation

PX_INLINE bool nvidia::apex::ApexDesc::isValid ( ) const [inline]

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

Generated on Sat Dec 1 2018 15:52:06

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