[][src]Module shader_types::padding

Correctly sized padding helpers.

Structs

Pad1Double

Padding the size of a single double. 8 bytes.

Pad1Float

Padding the size of a single float/uint/int. 4 bytes.

Pad2Double

Padding the size of two doubles. 16 bytes.

Pad2Float

Padding the size of two floats/uints/ints. 8 bytes.

Pad3Double

Padding the size of three doubles. 24 bytes.

Pad3Float

Padding the size of three floats/uints/ints. 12 bytes.

Pad4Double

Padding the size of four doubles. 32 bytes.

Pad4Float

Padding the size of four floats/uints/ints. 16 bytes.