Changeset View
Changeset View
Standalone View
Standalone View
source/renderer/ParticleRenderer.h
Show First 20 Lines • Show All 42 Lines • ▼ Show 20 Lines | public: | ||||
/** | /** | ||||
* Prepare internal data structures for rendering. | * Prepare internal data structures for rendering. | ||||
* Must be called after all Submit calls for a frame, and before | * Must be called after all Submit calls for a frame, and before | ||||
* any rendering calls. | * any rendering calls. | ||||
*/ | */ | ||||
void PrepareForRendering(const CShaderDefines& context); | void PrepareForRendering(const CShaderDefines& context); | ||||
/** | /** | ||||
* Upload internal data to the backend. Must be called after the data is | |||||
* prepared and before any rendering calls. | |||||
*/ | |||||
void Upload( | |||||
Renderer::Backend::IDeviceCommandContext* deviceCommandContext); | |||||
/** | |||||
* Reset the list of submitted overlays. | * Reset the list of submitted overlays. | ||||
*/ | */ | ||||
void EndFrame(); | void EndFrame(); | ||||
/** | /** | ||||
* Render all the submitted particles. | * Render all the submitted particles. | ||||
*/ | */ | ||||
void RenderParticles( | void RenderParticles( | ||||
Show All 13 Lines |
Wildfire Games · Phabricator