RendererTextureTemplate2D#

class ansys.stk.core.graphics.RendererTextureTemplate2D#

Template object containing attributes required to create a 2D texture.

Overview#

internal_format

Get an internal format of the texture.

width

Get a width of the texture in texels.

height

Get a height of the texture in texels.

Import detail#

from ansys.stk.core.graphics import RendererTextureTemplate2D

Property detail#

property RendererTextureTemplate2D.internal_format: TextureFormat#

Get an internal format of the texture.

property RendererTextureTemplate2D.width: int#

Get a width of the texture in texels.

property RendererTextureTemplate2D.height: int#

Get a height of the texture in texels.