Contents

ZenithHelper

public static class ZenithHelper
Inheritance and metadata

Methods

Align<T>(T, T)

public static T Align<T>(T size, T alignment) where T : INumberBase<T>, IBitwiseOperators<T, T, T>

BlockLayout(PixelFormat, uint, uint)

public static (uint BlockWidth, uint BlockHeight, uint BlocksWide, uint BlocksHigh) BlockLayout(PixelFormat pixelFormat, uint width, uint height)

HasDepth(PixelFormat)

public static bool HasDepth(PixelFormat pixelFormat)

HasStencil(PixelFormat)

public static bool HasStencil(PixelFormat pixelFormat)

MipDimensions(uint, uint, uint, uint, out uint, out uint, out uint)

public static void MipDimensions(uint width, uint height, uint depth, uint mipLevel, out uint mipWidth, out uint mipHeight, out uint mipDepth)

MipLevels(uint, uint, uint)

public static uint MipLevels(uint width, uint height, uint depth)

RowStrideInBytes(PixelFormat, uint, uint)

public static uint RowStrideInBytes(PixelFormat pixelFormat, uint width, uint height)

SizeInBytes(ElementFormat)

public static uint SizeInBytes(ElementFormat elementFormat)

SizeInBytes(PixelFormat)

public static uint SizeInBytes(PixelFormat pixelFormat)

SizeInBytes(PixelFormat, uint, uint)

public static uint SizeInBytes(PixelFormat pixelFormat, uint width, uint height)

SliceStrideInBytes(PixelFormat, uint, uint)

public static uint SliceStrideInBytes(PixelFormat pixelFormat, uint width, uint height)

Find a member

Zenith.NET.ZenithHelper

Search documentation

Search tutorials, concepts, samples, and the API reference.