int3

Description

struct Tinman.Gpu.Types.int3

The built-in type int3.

Public / Constructors

int3

3 overloads


public constructor int31 → (2)

in : int32

The vector component x.

in : int2

The vector components y and z.

Creates a new vector value.


public constructor int32 → (2)

in : int2

The vector components x and y.

in : int32

The vector component z.

Creates a new vector value.


public constructor int33 → (3)

in : int32

The vector component x.

in : int32

The vector component y.

in : int32

The vector component z.

Creates a new vector value.

Public / Operators

operator /

2 overloads


public static operator /1 → (2)

in : int3

The first vector value.

in : int3

The second vector value.

returns → int3

The resulting vector value.

Applies the / operator to the components of the given vectors.


public static operator /2 → (2)

in : int3

The vector value.

in : int32

The scalar value.

returns → int3

The resulting vector value.

Applies the / operator to each component of the given vector.

operator -

3 overloads


public static operator -1 → (2)

in : int3

The first vector value.

in : int3

The second vector value.

returns → int3

The resulting vector value.

Applies the - operator to the components of the given vectors.


public static operator -2 → (2)

in : int3

The vector value.

in : int32

The scalar value.

returns → int3

The resulting vector value.

Applies the - operator to each component of the given vector.


public static operator -3 → (1)

in : int3

The vector value.

returns → int3

The resulting vector value.

Applies the - operator to each component of the given vector.

operator *

2 overloads


public static operator ++1* → (2)

in : int3

The first vector value.

in : int3

The second vector value.

returns → int3

The resulting vector value.

Applies the * operator to the components of the given vectors.


public static operator ++2* → (2)

in : int3

The vector value.

in : int32

The scalar value.

returns → int3

The resulting vector value.

Applies the * operator to each component of the given vector.

operator +

2 overloads


public static operator +1 → (2)

in : int3

The first vector value.

in : int3

The second vector value.

returns → int3

The resulting vector value.

Applies the + operator to the components of the given vectors.


public static operator +2 → (2)

in : int3

The vector value.

in : int32

The scalar value.

returns → int3

The resulting vector value.

Applies the + operator to each component of the given vector.

operator []


public operator [] → (get,set)

index : int32

The zero-based vector component index.

value : int32

The vector component value.

Returns the index in-th component of this vector.

Public / Attributes

b


public attribute b → (get,set)

value : int32

The vector component value.

Accesses the vector component z by its alternate name b.

bg


public attribute bg → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,y) tuple.

bgr


public attribute bgr → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,y,x) tuple.

br


public attribute br → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,x) tuple.

brg


public attribute brg → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,x,y) tuple.

g


public attribute g → (get,set)

value : int32

The vector component value.

Accesses the vector component y by its alternate name g.

gb


public attribute gb → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,z) tuple.

gbr


public attribute gbr → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,z,x) tuple.

gr


public attribute gr → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,x) tuple.

grb


public attribute grb → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,x,z) tuple.

r


public attribute r → (get,set)

value : int32

The vector component value.

Accesses the vector component x by its alternate name r.

rb


public attribute rb → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,z) tuple.

rbg


public attribute rbg → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,z,y) tuple.

rg


public attribute rg → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,y) tuple.

rgb


public attribute rgb → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,y,z) tuple.

x


public attribute x → (int32)

The vector component x.

xy


public attribute xy → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,y) tuple.

xyz


public attribute xyz → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,y,z) tuple.

xz


public attribute xz → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,z) tuple.

xzy


public attribute xzy → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (x,z,y) tuple.

y


public attribute y → (int32)

The vector component y.

yx


public attribute yx → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,x) tuple.

yxz


public attribute yxz → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,x,z) tuple.

yz


public attribute yz → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,z) tuple.

yzx


public attribute yzx → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (y,z,x) tuple.

z


public attribute z → (int32)

The vector component z.

zx


public attribute zx → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,x) tuple.

zxy


public attribute zxy → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,x,y) tuple.

zy


public attribute zy → (get,set)

value : int2

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,y) tuple.

zyx


public attribute zyx → (get,set)

value : int3

The swizzled vector component tuple.

Accesses the vector components as a swizzled (z,y,x) tuple.