Changeset View
Changeset View
Standalone View
Standalone View
source/graphics/ParticleEmitter.h
Show First 20 Lines • Show All 114 Lines • ▼ Show 20 Lines | public: | ||||
void UpdateArrayData(int frameNumber); | void UpdateArrayData(int frameNumber); | ||||
/** | /** | ||||
* Make the vertex data available for subsequent binding and rendering. | * Make the vertex data available for subsequent binding and rendering. | ||||
*/ | */ | ||||
void PrepareForRendering(); | void PrepareForRendering(); | ||||
/** | /** | ||||
* Upload the vertex data to the backend. | |||||
*/ | |||||
void UploadData( | |||||
Renderer::Backend::IDeviceCommandContext* deviceCommandContext); | |||||
/** | |||||
* Bind rendering state (textures and blend modes). | * Bind rendering state (textures and blend modes). | ||||
*/ | */ | ||||
void Bind( | void Bind( | ||||
Renderer::Backend::IDeviceCommandContext* deviceCommandContext, | Renderer::Backend::IDeviceCommandContext* deviceCommandContext, | ||||
Renderer::Backend::IShaderProgram* shader); | Renderer::Backend::IShaderProgram* shader); | ||||
/** | /** | ||||
* Draw the vertex array. | * Draw the vertex array. | ||||
▲ Show 20 Lines • Show All 79 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator