core/math/linalg/hlsl

math_linalg_hlsl

Types

87

float1x1

float1x1 :: matrix[1, 1]floatSource

Odin matrices are stored internally as Column-Major, which matches the internal layout of HLSL by default

Constants

14

PI

PI :: 3.14159265358979323846264338327950288Source

Procedures

1,118

Procedure Groups

70

asdouble

asdouble :: proc{asdouble_half, asdouble_float, asdouble_double, asdouble_int, asdouble_uint, asdouble_half1x1, asdouble_half2x2, asdouble_half3x3, asdouble_half4x4, asdouble_half1x2, asdouble_half1x3, asdouble_half1x4, asdouble_half2x1, asdouble_half2x3, asdouble_half2x4, asdouble_half3x1, asdouble_half3x2, asdouble_half3x4, asdouble_half4x1, asdouble_half4x2, asdouble_half4x3, asdouble_half2, asdouble_half3, asdouble_half4, asdouble_float1x1, asdouble_float2x2, asdouble_float3x3, asdouble_float4x4, asdouble_float1x2, asdouble_float1x3, asdouble_float1x4, asdouble_float2x1, asdouble_float2x3, asdouble_float2x4, asdouble_float3x1, asdouble_float3x2, asdouble_float3x4, asdouble_float4x1, asdouble_float4x2, asdouble_float4x3, asdouble_float2, asdouble_float3, asdouble_float4, asdouble_int2, asdouble_int3, asdouble_int4, asdouble_uint2, asdouble_uint3, asdouble_uint4, asdouble_bool2, asdouble_bool3, asdouble_bool4, asdouble_double1x1, asdouble_double2x2, asdouble_double3x3, asdouble_double4x4, asdouble_double1x2, asdouble_double1x3, asdouble_double1x4, asdouble_double2x1, asdouble_double2x3, asdouble_double2x4, asdouble_double3x1, asdouble_double3x2, asdouble_double3x4, asdouble_double4x1, asdouble_double4x2, asdouble_double4x3, asdouble_double2, asdouble_double3, asdouble_double4}Source

asfloat

asfloat :: proc{asfloat_half, asfloat_float, asfloat_double, asfloat_int, asfloat_uint, asfloat_half1x1, asfloat_half2x2, asfloat_half3x3, asfloat_half4x4, asfloat_half1x2, asfloat_half1x3, asfloat_half1x4, asfloat_half2x1, asfloat_half2x3, asfloat_half2x4, asfloat_half3x1, asfloat_half3x2, asfloat_half3x4, asfloat_half4x1, asfloat_half4x2, asfloat_half4x3, asfloat_half2, asfloat_half3, asfloat_half4, asfloat_float1x1, asfloat_float2x2, asfloat_float3x3, asfloat_float4x4, asfloat_float1x2, asfloat_float1x3, asfloat_float1x4, asfloat_float2x1, asfloat_float2x3, asfloat_float2x4, asfloat_float3x1, asfloat_float3x2, asfloat_float3x4, asfloat_float4x1, asfloat_float4x2, asfloat_float4x3, asfloat_float2, asfloat_float3, asfloat_float4, asfloat_int2, asfloat_int3, asfloat_int4, asfloat_uint2, asfloat_uint3, asfloat_uint4, asfloat_bool2, asfloat_bool3, asfloat_bool4, asfloat_double1x1, asfloat_double2x2, asfloat_double3x3, asfloat_double4x4, asfloat_double1x2, asfloat_double1x3, asfloat_double1x4, asfloat_double2x1, asfloat_double2x3, asfloat_double2x4, asfloat_double3x1, asfloat_double3x2, asfloat_double3x4, asfloat_double4x1, asfloat_double4x2, asfloat_double4x3, asfloat_double2, asfloat_double3, asfloat_double4}Source

ashalf

ashalf :: proc{ashalf_half, ashalf_float, ashalf_double, ashalf_int, ashalf_uint, ashalf_half1x1, ashalf_half2x2, ashalf_half3x3, ashalf_half4x4, ashalf_half1x2, ashalf_half1x3, ashalf_half1x4, ashalf_half2x1, ashalf_half2x3, ashalf_half2x4, ashalf_half3x1, ashalf_half3x2, ashalf_half3x4, ashalf_half4x1, ashalf_half4x2, ashalf_half4x3, ashalf_half2, ashalf_half3, ashalf_half4, ashalf_float1x1, ashalf_float2x2, ashalf_float3x3, ashalf_float4x4, ashalf_float1x2, ashalf_float1x3, ashalf_float1x4, ashalf_float2x1, ashalf_float2x3, ashalf_float2x4, ashalf_float3x1, ashalf_float3x2, ashalf_float3x4, ashalf_float4x1, ashalf_float4x2, ashalf_float4x3, ashalf_float2, ashalf_float3, ashalf_float4, ashalf_int2, ashalf_int3, ashalf_int4, ashalf_uint2, ashalf_uint3, ashalf_uint4, ashalf_bool2, ashalf_bool3, ashalf_bool4, ashalf_double1x1, ashalf_double2x2, ashalf_double3x3, ashalf_double4x4, ashalf_double1x2, ashalf_double1x3, ashalf_double1x4, ashalf_double2x1, ashalf_double2x3, ashalf_double2x4, ashalf_double3x1, ashalf_double3x2, ashalf_double3x4, ashalf_double4x1, ashalf_double4x2, ashalf_double4x3, ashalf_double2, ashalf_double3, ashalf_double4}Source

asint

asint :: proc{asint_half, asint_float, asint_double, asint_int, asint_uint, asint_half1x1, asint_half2x2, asint_half3x3, asint_half4x4, asint_half1x2, asint_half1x3, asint_half1x4, asint_half2x1, asint_half2x3, asint_half2x4, asint_half3x1, asint_half3x2, asint_half3x4, asint_half4x1, asint_half4x2, asint_half4x3, asint_half2, asint_half3, asint_half4, asint_float1x1, asint_float2x2, asint_float3x3, asint_float4x4, asint_float1x2, asint_float1x3, asint_float1x4, asint_float2x1, asint_float2x3, asint_float2x4, asint_float3x1, asint_float3x2, asint_float3x4, asint_float4x1, asint_float4x2, asint_float4x3, asint_float2, asint_float3, asint_float4, asint_int2, asint_int3, asint_int4, asint_uint2, asint_uint3, asint_uint4, asint_bool2, asint_bool3, asint_bool4, asint_double1x1, asint_double2x2, asint_double3x3, asint_double4x4, asint_double1x2, asint_double1x3, asint_double1x4, asint_double2x1, asint_double2x3, asint_double2x4, asint_double3x1, asint_double3x2, asint_double3x4, asint_double4x1, asint_double4x2, asint_double4x3, asint_double2, asint_double3, asint_double4}Source

greaterThanEqual

greaterThanEqual :: proc{greaterThanEqual_half, greaterThanEqual_float, greaterThanEqual_double, greaterThanEqual_int, greaterThanEqual_uint, greaterThanEqual_half2, greaterThanEqual_float2, greaterThanEqual_double2, greaterThanEqual_int2, greaterThanEqual_uint2, greaterThanEqual_half3, greaterThanEqual_float3, greaterThanEqual_double3, greaterThanEqual_int3, greaterThanEqual_uint3, greaterThanEqual_half4, greaterThanEqual_float4, greaterThanEqual_double4, greaterThanEqual_int4, greaterThanEqual_uint4}Source

Reference search

Find anything

Documentation preferences

Settings

System theme variants

Used only while Theme is set to System.