VectorPacket Interface

From The Foundry MODO SDK wiki
Jump to: navigation, search

Vector packets are the building blocks of sample vectors. Sample vectors are used to pass all the shading information from the render engine to the shader pipe, all the way down to frame buffers. Common sample vectors include things like sample position, normals, material attributes, shading components, etc. Shaders have the ability to get and set vector packets to get and set attribute values and compute new effects.

Vector packets are often used by custom materials CustomMaterial Interface as a way to extend the material attributes, along with a PacketEffect Interface to define the shader effects on those materials.

Related Objects

Used By