Photon Engine 2.0.0-beta
A physically based renderer.
|
#include <TIndexedPolygonBuffer.h>
Public Member Functions | |
TIndexedPolygonBuffer () | |
std::array< math::Vector3R, N > | getPositions (std::size_t faceIndex) const |
std::array< math::Vector3R, N > | getTexCoords (std::size_t faceIndex) const |
std::array< math::Vector3R, N > | getNormals (std::size_t faceIndex) const |
std::array< math::Vector3R, N > | getFaceAttribute (EVertexAttribute attribute, std::size_t faceIndex) const |
std::size_t | numFaces () const |
bool | hasTexCoord () const |
bool | hasNormal () const |
bool | hasFaceAttribute (EVertexAttribute attribute) const |
std::size_t | memoryUsage () const |
float | averagePerPolygonMemoryUsage () const |
IndexedVertexBuffer & | getVertexBuffer () |
const IndexedVertexBuffer & | getVertexBuffer () const |
IndexedUIntBuffer & | getIndexBuffer () |
const IndexedUIntBuffer & | getIndexBuffer () const |
Static Public Member Functions | |
static constexpr std::size_t | numPolygonVertices () |
static constexpr bool | isTriangular () |
N | Number of polygon vertices. |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestaticconstexpr |
|
inline |
|
inline |
|
inlinestaticconstexpr |