![]() |
Qt 6.x
The Qt SDK
|
#include <qssgrhiparticles_p.h>
Definition at line 34 of file qssgrhiparticles_p.h.
|
static |
Definition at line 531 of file qssgrhiparticles.cpp.
References QSSGRhiShaderResourceBindingList::addTexture(), QSSGRhiShaderPipeline::bindingForTexture(), QRhiSampler::ClampToEdge, QSSGRhiContext::commandBuffer(), QSSGRhiParticleData::convertData, convertParticleData(), QRhiTexture::create(), QSSGParticleBuffer::data(), QRhi::isTextureFormatSupported(), model, QRhiSampler::Nearest, QRhi::newTexture(), QRhi::nextResourceUpdateBatch(), QRhiSampler::None, QSSGParticleBuffer::particleCount(), QSSGRhiParticleData::particleCount, QSSGRhiContext::particleData(), QRhiSampler::Repeat, QRhiCommandBuffer::resourceUpdate(), QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QSSGRhiContext::rhi(), QSSGRhiContext::sampler(), QSSGParticleBuffer::serial(), QSSGRhiParticleData::serial, QRhiTextureSubresourceUploadDescription::setData(), QRhiTexture::setPixelSize(), QSSGParticleBuffer::size(), QSSGRhiParticleData::texture, QRhiResourceUpdateBatch::uploadTexture(), and QRhiShaderResourceBinding::VertexStage.
Referenced by RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
|
static |
Definition at line 324 of file qssgrhiparticles.cpp.
References QSSGRhiShaderResourceBindingList::addTexture(), QSSGRhiShaderResourceBindingList::addUniformBuffer(), QSSGRenderParticles::Animated, QRhiBuffer::beginFullDynamicBufferUpdateForCurrentFrame(), QSSGRhiShaderPipeline::bindingForTexture(), QSSGRhiDrawCallData::bindings, camera, QSSGLayerRenderData::camera, QSSGLayerRenderData::cameraData, QRhiSampler::ClampToEdge, QByteArray::clear(), QList< T >::clear(), QVarLengthArray< T, Prealloc >::clear(), QSSGParticlesRenderable::colorTable, QSSGRhiContext::commandBuffer(), QSSGRhiParticleData::convertData, convertParticleData(), QRhiTexture::create(), QSSGGraphicsPipelineStateKey::create(), QSSGRhiGraphicsPipelineState::cullMode, QSSGParticleBuffer::data(), QSSGRhiContext::drawCallData(), QSSGRhiContext::dummyTexture(), QRhiBuffer::endFullDynamicBufferUpdateForCurrentFrame(), QSSGRhiShaderPipeline::ensureUniformBuffer(), QSSGGraphicsPipelineStateKey::extra, fillTargetBlend(), QSSGParticlesRenderable::firstImage, QRhiTexture::flags(), QRhiShaderResourceBinding::FragmentStage, QSSGRenderableObjectFlags::hasTransparency(), QSSGRhiGraphicsPipelineState::ia, QSSGRhiInputAssemblerState::inputLayout, QSSGRhiInputAssemblerState::inputs, QRhi::isTextureFormatSupported(), QSSGRenderParticles::m_blendMode, QSSGRenderParticles::m_depthSorting, QSSGRenderParticles::m_featureLevel, QSSGRenderImage::m_horizontalTilingMode, QSSGRenderableImage::m_imageNode, QSSGRenderImage::m_magFilterType, QSSGRenderImage::m_minFilterType, QSSGRenderImage::m_mipFilterType, QSSGRenderParticles::m_particleBuffer, QSSGRenderableImage::m_texture, QSSGRenderImageTexture::m_texture, QSSGRenderImage::m_verticalTilingMode, QSSGRhiDrawCallDataKey::Main, QSSGParticlesRenderable::mainPass, QRhiTexture::MipMapped, QRhiSampler::Nearest, QRhi::newTexture(), QRhi::nextResourceUpdateBatch(), QRhiSampler::None, QRhiGraphicsPipeline::None, QSSGParticleBuffer::particleCount(), QSSGRhiParticleData::particleCount, QSSGRhiContext::particleData(), QSSGParticlesRenderable::particles, QSSGRhiDrawCallData::pipeline, QSSGRhiContext::pipeline(), QSSGParticlesRenderable::pipeline, QSSGRhiDrawCallData::ps, QSSGRhiDrawCallDataKey::Reflection, QSSGParticlesRenderable::reflectionPass, QSSGRenderableObject::renderableFlags, QSSGGraphicsPipelineStateKey::renderTargetDescription, QSSGRhiDrawCallData::renderTargetDescription, QSSGGraphicsPipelineStateKey::renderTargetDescriptionHash, QSSGRhiDrawCallData::renderTargetDescriptionHash, QRhiSampler::Repeat, QRhiCommandBuffer::resourceUpdate(), QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QSSGRhiContext::rhi(), QSSGParticlesRenderable::rhiRenderData, QSSGRhiContext::sampler(), QSSGRhiGraphicsPipelineState::samples, QRhiTextureSubresourceUploadDescription::setData(), QRhiTexture::setPixelSize(), QSSGParticleBuffer::size(), QSSGRhiParticleData::sortData, QSSGRhiParticleData::sortedData, QSSGRhiParticleData::sorting, sortParticles(), QSSGRhiDrawCallData::srb, QSSGRhiContext::srb(), QSSGParticlesRenderable::srb, QSSGRhiGraphicsPipelineState::targetBlend, QSSGRhiParticleData::texture, QSSGRhiInputAssemblerState::topology, toRhi(), QRhiGraphicsPipeline::TriangleStrip, QSSGRhiShaderPipeline::ub0Size(), QSSGRhiDrawCallData::ubuf, updateUniformsForParticles(), QRhiResourceUpdateBatch::uploadTexture(), QRhiShaderResourceBinding::VertexStage, VISIBILITY_ALL, and Qt::white.
Referenced by RenderHelpers::rhiPrepareRenderable().
|
static |
Definition at line 579 of file qssgrhiparticles.cpp.
References cb, QSSGRhiContext::commandBuffer(), draw(), QSSGRenderParticles::Line, QSSGRenderParticles::m_featureLevel, QSSGRenderParticles::m_particleBuffer, QSSGParticlesRenderable::mainPass, QSSGParticleBuffer::particleCount(), QSSGParticlesRenderable::particles, QSSGParticlesRenderable::pipeline, Q_QUICK3D_PROFILE_END_WITH_ID, Q_QUICK3D_PROFILE_START, QSSGRHICTX_STAT, QSSGParticlesRenderable::reflectionPass, QSSGParticlesRenderable::rhiRenderData, QSSGParticleBuffer::segments(), QSSGParticlesRenderable::srb, and state.
Referenced by RenderHelpers::rhiRenderRenderable().
|
static |
Definition at line 144 of file qssgrhiparticles.cpp.
References model, and QSSGRhiShaderPipeline::setUniform().
Referenced by RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
|
static |
Definition at line 37 of file qssgrhiparticles.cpp.
References QRhi::clipSpaceCorrMatrix(), QMatrix4x4::constData(), QVarLengthArray< T, Prealloc >::contains(), direction, QSSGParticlesRenderable::firstImage, QSSGRenderNode::getGlobalPos(), QSSGRenderNode::globalTransform, QSSGRenderableObject::globalTransform, QMatrix4x4::inverted(), QVarLengthArray< T, Prealloc >::isEmpty(), QSSGRhiShaderPipeline::CommonUniformIndices::light_ambient_totalIdx, QSSGParticlesRenderable::lights, QSSGRenderParticles::m_alphaFade, QSSGRenderLight::m_ambientColor, QSSGRenderParticles::m_billboard, QSSGRenderParticles::m_blendImages, QSSGRenderLight::m_brightness, QSSGRenderLight::m_coneAngle, QSSGRenderLight::m_constantFade, QSSGRenderLight::m_diffuseColor, QSSGRenderLight::m_innerConeAngle, QSSGRenderParticles::m_lights, QSSGRenderLight::m_linearFade, QSSGRenderParticles::m_particleBuffer, QSSGRenderLight::m_quadraticFade, QSSGRenderParticles::m_sizeModifier, QSSGRenderParticles::m_spriteImageCount, QSSGRenderParticles::m_texcoordScale, QSSGRhiShaderPipeline::CommonUniformIndices::modelMatrixIdx, QSSGParticlesRenderable::opacity, QSSGParticlesRenderable::particles, QSSGParticleBuffer::particlesPerSlice(), ParticleLightData::pointLightColor, ParticleLightData::pointLightConstantAtt, ParticleLightData::pointLightLinearAtt, ParticleLightData::pointLightPos, ParticleLightData::pointLightQuadAtt, QSSGRenderCamera::projection, QSSGRhiShaderPipeline::CommonUniformIndices::projectionMatrixIdx, qDegreesToRadians(), QSSG_MAX_NUM_LIGHTS, QSSGRhiContext::rhi(), segmentCount(), ParticleLightData::spotLightColor, ParticleLightData::spotLightConeAngle, ParticleLightData::spotLightConstantAtt, ParticleLightData::spotLightDir, ParticleLightData::spotLightInnerConeAngle, ParticleLightData::spotLightLinearAtt, ParticleLightData::spotLightPos, ParticleLightData::spotLightQuadAtt, aux::translateConstantAttenuation(), aux::translateLinearAttenuation(), aux::translateQuadraticAttenuation(), QSSGRenderGraphObject::type, and QSSGRhiShaderPipeline::CommonUniformIndices::viewMatrixIdx.
Referenced by rhiPrepareRenderable().