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 = 0sampler2D— MonoGameSamplerType.Sampler2D.TextureCube = 1samplerCube— MonoGameSamplerType.SamplerCube.TextureVolume = 2sampler3D— MonoGameSamplerType.SamplerVolume.