Blender V5.3
packed_float4 Struct Reference

#include <types_float4.h>

Public Member Functions

 packed_float4 ()=default
ccl_device_inline_method packed_float4 (const float4 a)
ccl_device_inline_method operator float4 () const
ccl_device_inline_method packed_float4 & operator= (const float4 &a)

Public Attributes

float x
float y
float z
float w

Detailed Description

Definition at line 142 of file types_float4.h.

Constructor & Destructor Documentation

◆ packed_float4() [1/2]

packed_float4::packed_float4 ( )
default

Referenced by operator=().

◆ packed_float4() [2/2]

ccl_device_inline_method packed_float4::packed_float4 ( const float4 a)
inline

Definition at line 145 of file types_float4.h.

References ccl_device_inline_method, w, x, y, and z.

Member Function Documentation

◆ operator float4()

ccl_device_inline_method packed_float4::operator float4 ( ) const
inline

Definition at line 147 of file types_float4.h.

References ccl_device_inline_method, make_float4(), w, x, y, and z.

◆ operator=()

ccl_device_inline_method packed_float4 & packed_float4::operator= ( const float4 & a)
inline

Definition at line 152 of file types_float4.h.

References ccl_device_inline_method, packed_float4(), float4::w, w, float4::x, x, float4::y, y, float4::z, and z.

Member Data Documentation

◆ w

Definition at line 161 of file types_float4.h.

Referenced by operator float4(), operator=(), and packed_float4().

◆ x

Definition at line 161 of file types_float4.h.

Referenced by operator float4(), operator=(), and packed_float4().

◆ y

Definition at line 161 of file types_float4.h.

Referenced by operator float4(), operator=(), and packed_float4().

◆ z

Definition at line 161 of file types_float4.h.

Referenced by operator float4(), operator=(), and packed_float4().


The documentation for this struct was generated from the following file: