# GetMeshMemblockVertexGreen

## Description

Provides a quick way to get the green value of the specified vertex from the memblock. It uses the attribute data from the beginning of the memblock to work out the vertex offset and the location of the color values.

## Definition

integer GetMeshMemblockVertexGreen( memID, vertexIndex )

int agk::GetMeshMemblockVertexGreen( UINT memID, UINT vertexIndex )

## Parameters

- memID - The ID of the memblock to check
- vertexIndex - The index of the vertex to check