Flutter Engine
The Flutter Engine
|
#include <GrSimpleMesh.h>
Public Member Functions | |
void | set (sk_sp< const GrBuffer > vertexBuffer, int vertexCount, int baseVertex) |
void | setIndexed (sk_sp< const GrBuffer > indexBuffer, int indexCount, int baseIndex, uint16_t minIndexValue, uint16_t maxIndexValue, GrPrimitiveRestart, sk_sp< const GrBuffer > vertexBuffer, int baseVertex) |
void | setIndexedPatterned (sk_sp< const GrBuffer > indexBuffer, int indexCount, int patternRepeatCount, int maxPatternRepetitionsInIndexBuffer, sk_sp< const GrBuffer > vertexBuffer, int patternVertexCount, int baseVertex) |
Public Attributes | |
sk_sp< const GrBuffer > | fIndexBuffer |
int | fIndexCount |
int | fPatternRepeatCount |
int | fMaxPatternRepetitionsInIndexBuffer |
int | fBaseIndex |
uint16_t | fMinIndexValue |
uint16_t | fMaxIndexValue |
GrPrimitiveRestart | fPrimitiveRestart = GrPrimitiveRestart::kNo |
sk_sp< const GrBuffer > | fVertexBuffer |
int | fVertexCount |
int | fBaseVertex = 0 |
Used to communicate simple (non-instanced, direct) draws from GrOp to GrOpsRenderPass. TODO: Consider migrating every Op to make the appropriate draw directly on GrOpsRenderPass.
Definition at line 21 of file GrSimpleMesh.h.
|
inline |
Definition at line 47 of file GrSimpleMesh.h.
|
inline |
Definition at line 56 of file GrSimpleMesh.h.
|
inline |
Definition at line 77 of file GrSimpleMesh.h.
int GrSimpleMesh::fBaseIndex |
Definition at line 35 of file GrSimpleMesh.h.
int GrSimpleMesh::fBaseVertex = 0 |
Definition at line 42 of file GrSimpleMesh.h.
Definition at line 31 of file GrSimpleMesh.h.
int GrSimpleMesh::fIndexCount |
Definition at line 32 of file GrSimpleMesh.h.
uint16_t GrSimpleMesh::fMaxIndexValue |
Definition at line 37 of file GrSimpleMesh.h.
int GrSimpleMesh::fMaxPatternRepetitionsInIndexBuffer |
Definition at line 34 of file GrSimpleMesh.h.
uint16_t GrSimpleMesh::fMinIndexValue |
Definition at line 36 of file GrSimpleMesh.h.
int GrSimpleMesh::fPatternRepeatCount |
Definition at line 33 of file GrSimpleMesh.h.
GrPrimitiveRestart GrSimpleMesh::fPrimitiveRestart = GrPrimitiveRestart::kNo |
Definition at line 38 of file GrSimpleMesh.h.
Definition at line 40 of file GrSimpleMesh.h.
int GrSimpleMesh::fVertexCount |
Definition at line 41 of file GrSimpleMesh.h.