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

This is a helper class implementation of PxRenderBuffer that holds the counts and pointers for renderable data. Does not own the memory, simply used to transfer the state. The append method is not supported. More...

#include <RenderDebugInterface.h>

List of all members.

Public Member Functions

virtual uint32_t getNbPoints () const
 Get number of points in the render buffer.
virtual const PxDebugPoint * getPoints () const
 Get points data.
virtual uint32_t getNbLines () const
 Get number of lines in the render buffer.
virtual const PxDebugLine * getLines () const
 Get lines data.
virtual uint32_t getNbTriangles () const
 Get number of triangles in the render buffer.
virtual const PxDebugTriangle * getTriangles () const
 Get triangles data.
virtual uint32_t getNbTexts () const
 Get number of texts in the render buffer.
virtual const PxDebugText * getTexts () const
 Get texts data.
virtual void append (const PxRenderBuffer &other)
 Append PhysX render buffer.
virtual void clear ()
 Clear this buffer.

Public Attributes

uint32_t mNbPoints
 Number of points.
PxDebugPoint * mPoints
 Points data.
uint32_t mNbLines
 Number of lines.
PxDebugLine * mLines
 Lines data.
uint32_t mNbTriangles
 Number of triangles.
PxDebugTriangle * mTriangles
 Triangles data.
uint32_t mNbTexts
 Number of texts.
PxDebugText * mTexts
 Text data.

Detailed Description

This is a helper class implementation of PxRenderBuffer that holds the counts and pointers for renderable data. Does not own the memory, simply used to transfer the state. The append method is not supported.


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

Generated on Sat Dec 1 2018 15:52:10

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