Home | nevrax.com |
|
NL3D::CPSAttribMaker Class Template ReferenceThis is a base class for any attrib maker. More...
Inheritance diagram for NL3D::CPSAttribMaker:
Detailed Descriptiontemplate<typename T>
This is a base class for any attrib maker.
|
|
construct the attrib maker specifying the number of cycles to do.
Definition at line 130 of file ps_attrib_maker.h. Referenced by NL3D::CPSAttribMakerMemory< sint32 >::CPSAttribMakerMemory, and NL3D::CPSAttribMakerT< uint32, CPSValueBlendFunc< uint32 > >::CPSAttribMakerT. |
|
dtor.
Definition at line 145 of file ps_attrib_maker.h. |
|
delete an element, given its index. this must be called only if memory management is used.
Reimplemented in NL3D::CPSAttribMakerBinOp. Definition at line 278 of file ps_attrib_maker.h. |
|
Direct lookup of the result value from a float input (if it makes sense). This bypass what was set with setInput The input must be in [0, 1[ Reimplemented in NL3D::CPSAttribMakerT. Definition at line 156 of file ps_attrib_maker.h. |
|
compute one value of the attribute from the given located at the given index.
Implemented in NL3D::CPSAttribMakerBinOp. |
|
Test if the clamping is enabled. The default is false (clamping unsupported)
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 265 of file ps_attrib_maker.h. |
|
get the type of input (if supported). The default return attrDate
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 244 of file ps_attrib_maker.h. |
|
get the max value (meaningful for ordered set only).
Reimplemented in NL3D::CPSValueBlender. Definition at line 210 of file ps_attrib_maker.h. |
|
Retrieve the number of cycles.
Definition at line 229 of file ps_attrib_maker.h. |
|
inherited from CPSAttribMakerBase. Template specialization will do the job.
Implements NL3D::CPSAttribMakerBase. Definition at line 142 of file ps_attrib_maker.h. |
|
tells wether one may choose one attribute from a CPSLocated to use as an input. If false, the input(s) is fixed.
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 232 of file ps_attrib_maker.h. |
|
Some attribute makers may hold memory. this return true when this is the case. This also mean that you must call newElement, deleteElement, and resize, when it is called for the owning object (which is likely to be a CPSLocatedBindable) Definition at line 275 of file ps_attrib_maker.h. |
|
tells wether clamping is supported for the input (value can't go above MaxInputValue) The default is false.
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 251 of file ps_attrib_maker.h. |
|
Fill tab with an attribute by using the given stride. It fills numAttrib attributes.
Implemented in NL3D::CPSAttribMakerBinOp. |
|
The same as make, but it replicate each attribute 4 times, thus filling 4*numAttrib. Useful for facelookat and the like
Implemented in NL3D::CPSAttribMakerBinOp. |
|
The same as make4, but with n replication instead of 4.
Implemented in NL3D::CPSAttribMakerBinOp. |
|
create a new element, and provides the emitter, this must be called only if this attribute maker has its own memory.
Reimplemented in NL3D::CPSAttribMakerBinOp. Definition at line 283 of file ps_attrib_maker.h. |
|
set a new capacity for the memorized attribute, and a number of used element. This usually is 0 , but during edition, this may not be ... so new element are created. this must be called only if this attribute maker has its own memory Reimplemented in NL3D::CPSAttribMakerBinOp. Definition at line 289 of file ps_attrib_maker.h. |
|
serialisation of the object. Derivers MUST call this, (if they use the attribute of this class at least).
Implements NLMISC::IStreamable. Reimplemented in NL3D::CPSAttribMakerBinOp. Definition at line 135 of file ps_attrib_maker.h. |
|
Enable, disable the clamping of input values. The default does nothing (clamping unsupported)
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 258 of file ps_attrib_maker.h. |
|
set a new input type (if supported). The default does nothing
Reimplemented in NL3D::CPSAttribMakerT. Definition at line 238 of file ps_attrib_maker.h. |
|
Set the number of cycles that must be done during the life of a particle, or the number of cycle per second for a particle that has no life limit. It is used to multiply the input used by this attribute maker It must be >= 0 Definition at line 220 of file ps_attrib_maker.h. |
|
Definition at line 297 of file ps_attrib_maker.h. Referenced by NL3D::CPSAttribMaker< sint32 >::CPSAttribMaker, NL3D::CPSAttribMakerBinOp::CPSAttribMakerBinOp, NL3D::CPSAttribMakerMemory< sint32 >::CPSAttribMakerMemory, and NL3D::CPSAttribMaker< sint32 >::hasMemory. |
|