Lines Matching refs:element

28  * (equivalent to a float in a kernel)</li> <li>A four-element float vector
31 * integer (equivalent to a char in a kernel)</li> </ul> <p>A complex element is
33 * Elements. From Java code, a complex element contains a list of sub-elements
98 * @return element size in bytes
107 * @return element vector size
115 * DataType represents the basic type information for a basic element. The
200 * Return if a element is too complex for use as a data source for a Mesh or
222 * @return number of sub-elements in this element
233 * sub-element at index
234 * @param index index of the sub-element to return
235 * @return sub-element in this element at given index
242 throw new RSIllegalArgumentException("Illegal sub-element index");
249 * sub-element name at index
250 * @param index index of the sub-element
251 * @return sub-element in this element at given index
258 throw new RSIllegalArgumentException("Illegal sub-element index");
266 * sub-element at index
267 * @param index index of the sub-element
268 * @return array size of sub-element in this element at given index
275 throw new RSIllegalArgumentException("Illegal sub-element index");
281 * This function specifies the location of a sub-element within
282 * the element
283 * @param index index of the sub-element
284 * @return offset in bytes of sub-element in this element at given index
291 throw new RSIllegalArgumentException("Illegal sub-element index");
297 * @return element data type
304 * @return element data kind
313 * @param rs Context to which the element will belong.
327 * @param rs Context to which the element will belong.
341 * @param rs Context to which the element will belong.
769 * @param dt The DataType for the new element.
781 * Create a custom vector element of the specified DataType and vector size.
830 * @param dt The DataType for the new element.
941 * Add an array of elements to this element.
943 * @param element
947 public Builder add(Element element, String name, int arraySize) {
960 if (element.mVectorSize == 3) {
977 mElements[mCount] = element;
986 * Add a single element to this Element.
988 * @param element
991 public Builder add(Element element, String name) {
992 return add(element, name, 1);
996 * Create the element from this builder.