Contents Menu Expand Light mode Dark mode Auto light/dark, in light mode Auto light/dark, in dark mode Skip to content
Slang Documentation
Slang Documentation
Back to top
View this page

struct __Shape2D¶

Conforms to: __ITextureShape1D2D3D

Description¶

When used as the Shape parameter of the _Texture type, specifies a 2D texture.

Fields¶

dimensions : int = 2¶

flavor : int = 2¶

planeDimensions : int = 2¶

On this page
  • struct __Shape2D
    • Description
    • Fields
      • dimensions : int = 2
      • flavor : int = 2
      • planeDimensions : int = 2