mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-04 14:11:02 +03:00
108 lines
4.3 KiB
ReStructuredText
108 lines
4.3 KiB
ReStructuredText
:github_url: hide
|
|
|
|
.. Generated automatically by doc/tools/make_rst.py in Godot's source tree.
|
|
.. DO NOT EDIT THIS FILE, but the RDVertexAttribute.xml source instead.
|
|
.. The source is found in doc/classes or modules/<name>/doc_classes.
|
|
|
|
.. _class_RDVertexAttribute:
|
|
|
|
RDVertexAttribute
|
|
=================
|
|
|
|
**Inherits:** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
|
|
|
|
|
|
|
|
Properties
|
|
----------
|
|
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
| :ref:`DataFormat<enum_RenderingDevice_DataFormat>` | :ref:`format<class_RDVertexAttribute_property_format>` | ``218`` |
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
| :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` | :ref:`frequency<class_RDVertexAttribute_property_frequency>` | ``0`` |
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
| :ref:`int<class_int>` | :ref:`location<class_RDVertexAttribute_property_location>` | ``0`` |
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
| :ref:`int<class_int>` | :ref:`offset<class_RDVertexAttribute_property_offset>` | ``0`` |
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
| :ref:`int<class_int>` | :ref:`stride<class_RDVertexAttribute_property_stride>` | ``0`` |
|
|
+--------------------------------------------------------------+--------------------------------------------------------------+---------+
|
|
|
|
Property Descriptions
|
|
---------------------
|
|
|
|
.. _class_RDVertexAttribute_property_format:
|
|
|
|
- :ref:`DataFormat<enum_RenderingDevice_DataFormat>` **format**
|
|
|
|
+-----------+-------------------+
|
|
| *Default* | ``218`` |
|
|
+-----------+-------------------+
|
|
| *Setter* | set_format(value) |
|
|
+-----------+-------------------+
|
|
| *Getter* | get_format() |
|
|
+-----------+-------------------+
|
|
|
|
----
|
|
|
|
.. _class_RDVertexAttribute_property_frequency:
|
|
|
|
- :ref:`VertexFrequency<enum_RenderingDevice_VertexFrequency>` **frequency**
|
|
|
|
+-----------+----------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+----------------------+
|
|
| *Setter* | set_frequency(value) |
|
|
+-----------+----------------------+
|
|
| *Getter* | get_frequency() |
|
|
+-----------+----------------------+
|
|
|
|
----
|
|
|
|
.. _class_RDVertexAttribute_property_location:
|
|
|
|
- :ref:`int<class_int>` **location**
|
|
|
|
+-----------+---------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+---------------------+
|
|
| *Setter* | set_location(value) |
|
|
+-----------+---------------------+
|
|
| *Getter* | get_location() |
|
|
+-----------+---------------------+
|
|
|
|
----
|
|
|
|
.. _class_RDVertexAttribute_property_offset:
|
|
|
|
- :ref:`int<class_int>` **offset**
|
|
|
|
+-----------+-------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+-------------------+
|
|
| *Setter* | set_offset(value) |
|
|
+-----------+-------------------+
|
|
| *Getter* | get_offset() |
|
|
+-----------+-------------------+
|
|
|
|
----
|
|
|
|
.. _class_RDVertexAttribute_property_stride:
|
|
|
|
- :ref:`int<class_int>` **stride**
|
|
|
|
+-----------+-------------------+
|
|
| *Default* | ``0`` |
|
|
+-----------+-------------------+
|
|
| *Setter* | set_stride(value) |
|
|
+-----------+-------------------+
|
|
| *Getter* | get_stride() |
|
|
+-----------+-------------------+
|
|
|
|
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
|
|
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
|
|
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
|
|
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
|
|
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
|
|
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
|