APEX Framework: nvidia::apex::VertexColor Struct Reference

NVIDIA APEX

nvidia::apex::VertexColor Struct Reference

The full RGBA color of a vertex. More...

#include <RenderMeshAsset.h>

List of all members.

Public Member Functions

PX_INLINE VertexColor (const ColorRGBA c)
 Constructor.
PX_INLINE VertexColoroperator= (const VertexColor &c)
 Copy assignment operator.
PX_INLINE void set (float _r, float _g, float _b, float _a)
 set the color as RGBA floats
PX_INLINE ColorRGBA toColorRGBA () const
 return the color as a 32bit integer

Public Attributes

float r
 RED.
float g
 GREEN.
float b
 BLUE.
float a
 ALPHA.

Detailed Description

The full RGBA color of a vertex.


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

Generated on Fri Dec 15 2017 13:58:40

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