nw::gfx::ParticleCollection::GetStreamOrParameter Member Function

Syntax

template <class T>
NW_FORCE_INLINE bool GetStreamOrParameter(
     ParticleUsage usage,
     T ** stream,
     T * param,
     ParticleBuffer side
);

Arguments

Name Description
in usage Usage type.
out stream Pointer storing a pointer when using streams.
out param Pointer storing a pointer when using parameters.
in side Purpose of using the buffer.

Return Values

Returns a pointer to a stream in the case of a stream. Returns a parameter in the case of a parameter.

Description

Gets the stream or parameter for the specified attribute.


CONFIDENTIAL