Qt
Internal/Contributor docs for the Qt SDK. <b>Note:</b> These are NOT official API docs; those are found <a href='https://doc.qt.io/'>here</a>.
|
#include <qssgrhiparticles_p.h>
Definition at line 34 of file qssgrhiparticles_p.h.
|
static |
Definition at line 547 of file qssgrhiparticles.cpp.
References QSSGRhiShaderResourceBindingList::addTexture(), QSSGRhiShaderPipeline::bindingForTexture(), QRhiSampler::ClampToEdge, QSSGRhiContext::commandBuffer(), QSSGRhiParticleData::convertData, convertParticleData(), QRhiTexture::create(), QSSGParticleBuffer::data(), QSSGRhiContextPrivate::get(), QRhi::isTextureFormatSupported(), model, QRhiSampler::Nearest, QRhi::newTexture(), QRhi::nextResourceUpdateBatch(), QRhiSampler::None, QSSGParticleBuffer::particleCount(), QSSGRhiParticleData::particleCount, QRhiSampler::Repeat, QRhiCommandBuffer::resourceUpdate(), QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QSSGRhiContext::rhi(), QSSGRhiContext::sampler(), QSSGParticleBuffer::serial(), QSSGRhiParticleData::serial, QRhiTextureSubresourceUploadDescription::setData(), QRhiTexture::setPixelSize(), QSSGParticleBuffer::size(), QSSGRhiParticleData::texture, and QRhiShaderResourceBinding::VertexStage.
Referenced by RenderHelpers::rhiPrepareRenderable(), QSSGCustomMaterialSystem::rhiPrepareRenderable(), and rhiPrepareResourcesForShadowMap().
|
static |
Definition at line 335 of file qssgrhiparticles.cpp.
References QSSGRhiShaderResourceBindingList::addTexture(), QSSGRhiShaderResourceBindingList::addUniformBuffer(), QSSGRenderParticles::Animated, QSSGRhiShaderPipeline::bindingForTexture(), QRhiSampler::ClampToEdge, QByteArray::clear(), QList< T >::clear(), QSSGRhiContext::commandBuffer(), QSSGRhiParticleData::convertData, convertParticleData(), QRhiTexture::create(), QSSGGraphicsPipelineStateKey::create(), QSSGRhiGraphicsPipelineState::cullMode, QSSGParticleBuffer::data(), QSSGRhiContext::dummyTexture(), QSSGRhiShaderPipeline::ensureUniformBuffer(), fillTargetBlend(), QRhiTexture::flags(), QRhiShaderResourceBinding::FragmentStage, QSSGRhiInputAssemblerStatePrivate::get(), QSSGRhiContextPrivate::get(), QSSGBaseTypeHelpers::indexOfCubeFace(), QRhi::isTextureFormatSupported(), QRhiTexture::MipMapped, QRhiSampler::Nearest, QRhi::newTexture(), QRhi::nextResourceUpdateBatch(), QRhiSampler::None, QRhiGraphicsPipeline::None, QSSGParticleBuffer::particleCount(), QSSGRhiParticleData::particleCount, QSSGRenderTextureCubeFaceNone, QRhiSampler::Repeat, QRhiCommandBuffer::resourceUpdate(), QRhiTexture::RGBA16F, QRhiTexture::RGBA32F, QSSGRhiContext::rhi(), QSSGRhiContext::sampler(), QSSGRhiGraphicsPipelineState::samples, QRhiTextureSubresourceUploadDescription::setData(), QRhiTexture::setPixelSize(), QSSGParticleBuffer::size(), QSSGRhiParticleData::sortData, QSSGRhiParticleData::sortedData, QSSGRhiParticleData::sorting, sortParticles(), QSSGRhiGraphicsPipelineState::targetBlend, QSSGRhiParticleData::texture, QSSGRhiHelpers::toRhi(), QRhiGraphicsPipeline::TriangleStrip, QSSGRhiShaderPipeline::ub0Size(), updateUniformsForParticles(), QRhiShaderResourceBinding::VertexStage, QSSGRhiGraphicsPipelineState::viewCount, VISIBILITY_ALL, and Qt::white.
Referenced by RenderHelpers::rhiPrepareRenderable().
|
static |
Definition at line 596 of file qssgrhiparticles.cpp.
References cb, QSSGRhiContext::commandBuffer(), draw(), QSSGBaseTypeHelpers::indexOfCubeFace(), QSSGRenderParticles::Line, Q_QUICK3D_PROFILE_END_WITH_ID, Q_QUICK3D_PROFILE_START, QSSGRenderTextureCubeFaceNone, QSSGRHICTX_STAT, and state.
Referenced by RenderHelpers::rhiRenderRenderable().
|
static |
Definition at line 155 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 >::count(), direction, QSSGRenderShaderValue::Matrix4x4, ParticleLightData::pointLightColor, ParticleLightData::pointLightConstantAtt, ParticleLightData::pointLightLinearAtt, ParticleLightData::pointLightPos, ParticleLightData::pointLightQuadAtt, qDegreesToRadians(), QSSG_MAX_NUM_LIGHTS, QSSGRhiContext::rhi(), segmentCount(), ParticleLightData::spotLightColor, ParticleLightData::spotLightConeAngle, ParticleLightData::spotLightConstantAtt, ParticleLightData::spotLightDir, ParticleLightData::spotLightInnerConeAngle, ParticleLightData::spotLightLinearAtt, ParticleLightData::spotLightPos, ParticleLightData::spotLightQuadAtt, QSSGUtils::aux::translateConstantAttenuation(), QSSGUtils::aux::translateLinearAttenuation(), and QSSGUtils::aux::translateQuadraticAttenuation().
Referenced by rhiPrepareRenderable().