• Slang Standard Library Reference
    • Interfaces
    • Types
      • Buffer types
      • Math types
      • Miscelaneous types
        • DefaultDataLayout
        • MemoryOrder
        • NativeString
        • ScalarDataLayout
        • SideEffectBehavior
        • Std140DataLayout
        • Std430DataLayout
        • __Shape1D
        • __Shape2D
        • __Shape3D
        • __ShapeBuffer
        • __ShapeCube
          • dimensions
          • flavor
          • planeDimensions
        • string
      • Ray-tracing
      • Sampler types
      • Scalar types
      • Stage IO types
      • Texture types
      • Array
      • Atomic
      • ConstantBuffer
      • DifferentialPair
      • DifferentialPtrPair
      • Optional
      • ParameterBlock
      • Ptr
      • String
      • Tuple
      • _AttributeTargets
    • Attributes
    • Global Declarations

struct __ShapeCube

Conforms to: __ITextureShape

Description

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

Fields

dimensions : int = 3

flavor : int = 4

planeDimensions : int = 2