#include <Grass.h>
List of all members.
Static Public Member Functions |
|
static void | CreateTexture () |
|
static void | CreateShader () |
|
static void | SetDefinitionOfTerrain (osg::Texture *definition) |
|
static void | SetHeightofTerrain (osg::Texture *heightmap) |
Static Public Attributes |
|
static osg::ref_ptr< osg::Program > | m_grassProg |
static osg::ref_ptr
< osg::Texture2D > | tex_tree |
|
static float * | heightmap_data = 0 |
|
static osg::Vec4 * | definition_data = 0 |
|
static int | heightmap_height = 0 |
|
static int | heightmap_width = 0 |
Protected Member Functions |
|
void | SetArrays () |
|
void | SetUniforms (osg::ref_ptr< osg::StateSet > nodess4) |
Protected Attributes |
|
osg::ref_ptr< osg::Geode > | geode |
|
osg::ref_ptr< osg::Geometry > | geometry |
|
osg::ref_ptr< osg::Vec3Array > | m_vertices |
|
osg::ref_ptr< osg::UIntArray > | m_indices |
osg::ref_ptr
< osg::MatrixTransform > | trans |
Detailed Description
The documentation for this class was generated from the following files:
- WangCloud/Grass.h
- WangCloud/Grass.cpp