Template:Shader Semantics

From Multi Theft Auto: Wiki
Revision as of 17:24, 8 April 2023 by Tracer (talk | contribs) (Moved field to match the "section")
Jump to navigation Jump to search
int ZENABLE;
int FILLMODE;
int SHADEMODE;
int ZWRITEENABLE;
int ALPHATESTENABLE;
int LASTPIXEL;
int SRCBLEND;
int DESTBLEND;
int CULLMODE;
int ZFUNC;
int ALPHAREF;
int ALPHAFUNC;
int DITHERENABLE;
int ALPHABLENDENABLE;
int FOGENABLE;
int SPECULARENABLE;
float4 FOGCOLOR; // float4 or dword
int FOGTABLEMODE;
float FOGSTART; // float or int
float FOGEND; // float or int
float FOGDENSITY; // float or int
int RANGEFOGENABLE;
int STENCILENABLE;
int STENCILFAIL;
int STENCILZFAIL;
int STENCILPASS;
int STENCILFUNC;
int STENCILREF;
int STENCILMASK;
int STENCILWRITEMASK;
float4 TEXTUREFACTOR; // float4 or dword

int WRAP0;
int WRAP1;
int WRAP2;
int WRAP3;
int WRAP4;
int WRAP5;
int WRAP6;
int WRAP7;
int WRAP8;
int WRAP9;
int WRAP10;
int WRAP11;
int WRAP12;
int WRAP13;
int WRAP14;
int WRAP15;

int CLIPPING;
int LIGHTING;
float4 AMBIENT; // float4 or dword
int FOGVERTEXMODE;
int COLORVERTEX;
int LOCALVIEWER;
int NORMALIZENORMALS;
int DIFFUSEMATERIALSOURCE;
int SPECULARMATERIALSOURCE;
int AMBIENTMATERIALSOURCE;
int EMISSIVEMATERIALSOURCE;
int VERTEXBLEND;
int CLIPPLANEENABLE;
float POINTSIZE; // float or int
float POINTSIZE_MIN; // float or int
int POINTSPRITEENABLE;
int POINTSCALEENABLE;
float POINTSCALE_A; // float or int
float POINTSCALE_B; // float or int
float POINTSCALE_C; // float or int
int MULTISAMPLEANTIALIAS;
int MULTISAMPLEMASK;
int PATCHEDGESTYLE;
int DEBUGMONITORTOKEN;
float POINTSIZE_MAX; // float or int
int INDEXEDVERTEXBLENDENABLE;
int COLORWRITEENABLE;
float TWEENFACTOR; // float or int
int BLENDOP;
int POSITIONDEGREE;
int NORMALDEGREE;
int SCISSORTESTENABLE;
int SLOPESCALEDEPTHBIAS;
int ANTIALIASEDLINEENABLE;
int MINTESSELLATIONLEVEL;
int MAXTESSELLATIONLEVEL;
int ADAPTIVETESS_X;
int ADAPTIVETESS_Y;
int ADAPTIVETESS_Z;
int ADAPTIVETESS_W;
int ENABLEADAPTIVETESSELLATION;
int TWOSIDEDSTENCILMODE;
int CCW_STENCILFAIL;
int CCW_STENCILZFAIL;
int CCW_STENCILPASS;
int CCW_STENCILFUNC;
int COLORWRITEENABLE1;
int COLORWRITEENABLE2;
int COLORWRITEENABLE3;
float4 BLENDFACTOR; // float4 or dword
int SRGBWRITEENABLE;
int DEPTHBIAS;
int SEPARATEALPHABLENDENABLE;
int SRCBLENDALPHA;
int DESTBLENDALPHA;
int BLENDOPALPHA;
int COLOROP;
int COLORARG1;
int COLORARG2;
int ALPHAOP;
int ALPHAARG1;
int ALPHAARG2;
int BUMPENVMAT00;
int BUMPENVMAT01;
int BUMPENVMAT10;
int BUMPENVMAT11;
int TEXCOORDINDEX;
int BUMPENVLSCALE;
int BUMPENVLOFFSET;
int TEXTURETRANSFORMFLAGS;
int COLORARG0;
int ALPHAARG0;
int RESULTARG;
int CONSTANT;
int ADDRESSU;
int ADDRESSV;
int ADDRESSW;
float4 BORDERCOLOR; // float4 or dword
int MAGFILTER;
int MINFILTER;
int MIPFILTER;
int MIPMAPLODBIAS;
int MAXMIPLEVEL;
int MAXANISOTROPY;
int SRGBTEXTURE;
int ELEMENTINDEX;
int DMAPOFFSET;
float4 Diffuse;
float4 Ambient;
float4 Specular;
float4 Emissive;
float Power;
float4x4 VIEW;
float4x4 PROJECTION;
float4x4 TEXTURE0;
float4x4 TEXTURE1;
float4x4 TEXTURE2;
float4x4 TEXTURE3;
float4x4 TEXTURE4;
float4x4 TEXTURE5;
float4x4 TEXTURE6;
float4x4 TEXTURE7;
float4x4 WORLD;
float4x4 WORLD1;
float4x4 WORLD2;
float4x4 WORLD3;
int Type;
float4 Diffuse;
float4 Specular;
float4 Ambient;
float3 Position;
float3 Direction;
float Range;
float Falloff;
float Attenuation0;
float Attenuation1;
float Attenuation2;
float Theta;
float Phi;
int Enable;
texture Texture;
int DeviceType;
int AdapterOrdinal;
int Caps;
int Caps2;
int Caps3;
int PresentationIntervals;
int CursorCaps;
int DevCaps;
int PrimitiveMiscCaps;
int RasterCaps;
int ZCmpCaps;
int SrcBlendCaps;
int DestBlendCaps;
int AlphaCmpCaps;
int ShadeCaps;
int TextureCaps;
int TextureFilterCaps;
int CubeTextureFilterCaps;
int VolumeTextureFilterCaps;
int TextureAddressCaps;
int VolumeTextureAddressCaps;
int LineCaps;
int MaxTextureWidth;
int MaxTextureHeight;
int MaxVolumeExtent;
int MaxTextureRepeat;
int MaxTextureAspectRatio;
int MaxAnisotropy;
float MaxVertexW;
float GuardBandLeft;
float GuardBandTop;
float GuardBandRight;
float GuardBandBottom;
float ExtentsAdjust;
int StencilCaps;
int FVFCaps;
int TextureOpCaps;
int MaxTextureBlendStages;
int MaxSimultaneousTextures;
int VertexProcessingCaps;
int MaxActiveLights;
int MaxUserClipPlanes;
int MaxVertexBlendMatrices;
int MaxVertexBlendMatrixIndex;
float MaxPointSize;
int MaxPrimitiveCount;
int MaxVertexIndex;
int MaxStreams;
int MaxStreamStride;
int VertexShaderVersion;
int MaxVertexShaderConst;
int PixelShaderVersion;
float PixelShader1xMaxValue;
int DevCaps2;
float MaxNpatchTessellationLevel;
int Reserved5;
int MasterAdapterOrdinal;
int AdapterOrdinalInGroup;
int NumberOfAdaptersInGroup;
int DeclTypes;
int NumSimultaneousRTs;
int StretchRectFilterCaps;
int VS20Caps.Caps;
int VS20Caps.DynamicFlowControlDepth;
int VS20Caps.NumTemps;
int VS20Caps.StaticFlowControlDepth;
int PS20Caps.Caps;
int PS20Caps.DynamicFlowControlDepth;
int PS20Caps.NumTemps;
int PS20Caps.StaticFlowControlDepth;
int PS20Caps.NumInstructionSlots;
int VertexTextureFilterCaps;
int MaxVShaderInstructionsExecuted;
int MaxPShaderInstructionsExecuted;
int MaxVertexShader30InstructionSlots;
int MaxPixelShader30InstructionSlots;
int Position;
int PositionT;
int Normal;
int Color0;
int Color1;
int TexCoord0;
int TexCoord1;