Gems/AtomTressFX/Code/Passes/HairPPLLRasterPass.cpp
void HairPPLLRasterPass::BuildInternal()
            {
                RasterPass::BuildInternal();    // change this to call parent if the method exists

                if (!AcquireFeatureProcessor())
                {
                    return;
                }

                if (!LoadShaderAndPipelineState())
                {
                    return;
                }

                // Output
                AttachBufferToSlot(Name{ "PerPixelLinkedList" }, m_featureProcessor->GetPerPixelListBuffer());
            }
//! This method is used for attaching the PPLL data buffer which is a transient buffer.
//! It is done this ways because Atom doesn't support transient structured buffers declaration
//! via Pass yet.
//! Once supported, this will be done via data driven code and the method can be removed.
This method is used for attaching the PPLL data buffer which is a transient buffer.
It is done this ways because Atom doesn't support transient structured buffers declaration
via Pass yet.
Once supported, this will be done via data driven code and the method can be removed.
This method is used for attaching the PPLL data buffer which is a transient buffer . It is done this ways because Atom doesn ' t support transient structured buffers declaration via Pass yet . Once supported this will be done via data driven code and the method can be removed .
void HairPPLLRasterPass::BuildInternal()
            {
                RasterPass::BuildInternal();    
                if (!AcquireFeatureProcessor())
                {
                    return;
                }
                if (!LoadShaderAndPipelineState())
                {
                    return;
                }
                AttachBufferToSlot(Name{ "PerPixelLinkedList" }, m_featureProcessor->GetPerPixelListBuffer());
            }
void HairPPLLRasterPass :: BuildInternal ( ) { RasterPass :: BuildInternal ( ) ; if ( ! AcquireFeatureProcessor ( ) ) { return ; } if ( ! LoadShaderAndPipelineState ( ) ) { return ; } AttachBufferToSlot ( Name { " " } , m_featureProcessor -> GetPerPixelListBuffer ( ) ) ; }
This method is used for attaching the PPLL data buffer which is a transient buffer.
This method is used for attaching the PPLL data buffer which is a transient buffer .
// change this to call parent if the method exists // Output