Table of Contents

Enum MonoGameSamplerDimension

Namespace
ShadowDusk.GLSL
Assembly
ShadowDusk.GLSL.dll

The dimensionality of a sampler the rewriter modelled, mapped 1:1 onto MonoGame's SamplerType enum byte (the value the .mgfx sampler record carries). Verified against MonoGame's Shader.cs reader and an mgfxc cube golden — see PHASE34-INVESTIGATION.md §3. Do NOT renumber.

public enum MonoGameSamplerDimension : byte

Fields

Texture2D = 0

sampler2D — MonoGame SamplerType.Sampler2D.

TextureCube = 1

samplerCube — MonoGame SamplerType.SamplerCube.

TextureVolume = 2

sampler3D — MonoGame SamplerType.SamplerVolume.