Parameters for rendering a resident GPU particle emitter. 更多...
#include <GpuParticles.h>
Public 属性 | |
| Texture * | texture = nullptr |
| Texture * | sceneDepth = nullptr |
| BlendMode | blend = BlendMode::Alpha |
| float | viewportWidth = 1.f |
| float | viewportHeight = 1.f |
| float | cameraX = 0.f |
| float | cameraY = 0.f |
| float | cameraZoom = 1.f |
| bool | cameraEnabled = false |
| float | particleWidth = 1.f |
| float | particleHeight = 1.f |
| float | sizeStart = 1.f |
| float | sizeEnd = 1.f |
| float | stretchFactor = 1.f |
| GpuParticleFacingMode | facing = GpuParticleFacingMode::ParticleRotation |
| float | axisRotationRadians = 0.f |
| GpuParticleSortMode | sortMode = GpuParticleSortMode::None |
| float | ribbonWidth = 1.f |
| float | ribbonMinSegmentLength = 1.f |
| bool | softParticles = false |
| float | particleDepth = 0.5f |
| float | softFadeDistance = 0.05f |
| float | colorStart [4] = {1.f, 1.f, 1.f, 1.f} |
| float | colorEnd [4] = {1.f, 1.f, 1.f, 0.f} |
| int | hframes = 1 |
| int | vframes = 1 |
详细描述
Parameters for rendering a resident GPU particle emitter.
在文件 GpuParticles.h 第 83 行定义.
类成员变量说明
◆ axisRotationRadians
| float eve::graphics::GpuParticleDraw::axisRotationRadians = 0.f |
在文件 GpuParticles.h 第 99 行定义.
◆ blend
| BlendMode eve::graphics::GpuParticleDraw::blend = BlendMode::Alpha |
在文件 GpuParticles.h 第 86 行定义.
◆ cameraEnabled
| bool eve::graphics::GpuParticleDraw::cameraEnabled = false |
在文件 GpuParticles.h 第 92 行定义.
◆ cameraX
| float eve::graphics::GpuParticleDraw::cameraX = 0.f |
在文件 GpuParticles.h 第 89 行定义.
◆ cameraY
| float eve::graphics::GpuParticleDraw::cameraY = 0.f |
在文件 GpuParticles.h 第 90 行定义.
◆ cameraZoom
| float eve::graphics::GpuParticleDraw::cameraZoom = 1.f |
在文件 GpuParticles.h 第 91 行定义.
◆ colorEnd
在文件 GpuParticles.h 第 107 行定义.
◆ colorStart
在文件 GpuParticles.h 第 106 行定义.
◆ facing
| GpuParticleFacingMode eve::graphics::GpuParticleDraw::facing = GpuParticleFacingMode::ParticleRotation |
在文件 GpuParticles.h 第 98 行定义.
◆ hframes
| int eve::graphics::GpuParticleDraw::hframes = 1 |
在文件 GpuParticles.h 第 108 行定义.
◆ particleDepth
| float eve::graphics::GpuParticleDraw::particleDepth = 0.5f |
在文件 GpuParticles.h 第 104 行定义.
◆ particleHeight
| float eve::graphics::GpuParticleDraw::particleHeight = 1.f |
在文件 GpuParticles.h 第 94 行定义.
◆ particleWidth
| float eve::graphics::GpuParticleDraw::particleWidth = 1.f |
在文件 GpuParticles.h 第 93 行定义.
◆ ribbonMinSegmentLength
| float eve::graphics::GpuParticleDraw::ribbonMinSegmentLength = 1.f |
在文件 GpuParticles.h 第 102 行定义.
◆ ribbonWidth
| float eve::graphics::GpuParticleDraw::ribbonWidth = 1.f |
在文件 GpuParticles.h 第 101 行定义.
◆ sceneDepth
| Texture* eve::graphics::GpuParticleDraw::sceneDepth = nullptr |
在文件 GpuParticles.h 第 85 行定义.
◆ sizeEnd
| float eve::graphics::GpuParticleDraw::sizeEnd = 1.f |
在文件 GpuParticles.h 第 96 行定义.
◆ sizeStart
| float eve::graphics::GpuParticleDraw::sizeStart = 1.f |
在文件 GpuParticles.h 第 95 行定义.
◆ softFadeDistance
| float eve::graphics::GpuParticleDraw::softFadeDistance = 0.05f |
在文件 GpuParticles.h 第 105 行定义.
◆ softParticles
| bool eve::graphics::GpuParticleDraw::softParticles = false |
在文件 GpuParticles.h 第 103 行定义.
◆ sortMode
| GpuParticleSortMode eve::graphics::GpuParticleDraw::sortMode = GpuParticleSortMode::None |
在文件 GpuParticles.h 第 100 行定义.
◆ stretchFactor
| float eve::graphics::GpuParticleDraw::stretchFactor = 1.f |
在文件 GpuParticles.h 第 97 行定义.
◆ texture
| Texture* eve::graphics::GpuParticleDraw::texture = nullptr |
在文件 GpuParticles.h 第 84 行定义.
◆ vframes
| int eve::graphics::GpuParticleDraw::vframes = 1 |
在文件 GpuParticles.h 第 109 行定义.
◆ viewportHeight
| float eve::graphics::GpuParticleDraw::viewportHeight = 1.f |
在文件 GpuParticles.h 第 88 行定义.
◆ viewportWidth
| float eve::graphics::GpuParticleDraw::viewportWidth = 1.f |
在文件 GpuParticles.h 第 87 行定义.
该结构体的文档由以下文件生成:
- src/modules/graphics/GpuParticles.h