RendererTextureTemplate2D ========================= .. py:class:: ansys.stk.core.graphics.RendererTextureTemplate2D Template object containing attributes required to create a 2D texture. .. py:currentmodule:: RendererTextureTemplate2D Overview -------- .. tab-set:: .. tab-item:: Properties .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~ansys.stk.core.graphics.RendererTextureTemplate2D.internal_format` - Get an internal format of the texture. * - :py:attr:`~ansys.stk.core.graphics.RendererTextureTemplate2D.width` - Get a width of the texture in texels. * - :py:attr:`~ansys.stk.core.graphics.RendererTextureTemplate2D.height` - Get a height of the texture in texels. Import detail ------------- .. code-block:: python from ansys.stk.core.graphics import RendererTextureTemplate2D Property detail --------------- .. py:property:: internal_format :canonical: ansys.stk.core.graphics.RendererTextureTemplate2D.internal_format :type: TextureFormat Get an internal format of the texture. .. py:property:: width :canonical: ansys.stk.core.graphics.RendererTextureTemplate2D.width :type: int Get a width of the texture in texels. .. py:property:: height :canonical: ansys.stk.core.graphics.RendererTextureTemplate2D.height :type: int Get a height of the texture in texels.