DX9 HLSL Semantics

Source: Internet
Author: User
Standard Semantics Type Description
Ambient Float4 Ambient color.
Attenuation Float3 or float4 Attenuation value, whose value can be one of the following:

  • DistanceUses 4 components.
  • SpotUses 3 components.
  • BoxxUses 3 components.
  • BoxyUses 3 components.
Boundingboxmax Float3 Bounding box maximumX,Y,Z.
Boundingboxmin Float3 Bounding box minimumX,Y,Z.
Boundingboxsize Float3 Bounding box sizeX,Y,Z.
Boundingcenter Vector Bounding box center.
Boundingspheresize Float1 Median bounding sphere radius.
Boundingspheremin Float1 Minimum bounding sphere radius.
Boundingspheremax Float1 Maximum bounding sphere radius.
Diffuse Float4 Diffuse color.
Elapsedtime Float1 Elapsed time. Useful whenLasttimeMay not be accurate due to looping simulations.
Emissive Float4 Emissive color.
Environmentnormal Texture Environment normal map.
Height 1 component numeric or a texture Height value in a bump map.
Joint Float4 Object Space to frame-Joint Space
Jointworld Float4x4 Joint World matrix.
Jointworldinverse Float4x4 Joint inverse world matrix.
Jointworldinversetranspose Float4x4 Joint transposed, inverse world matrix.
Jointworldview Float4x4 Joint world-view matrix.
Jointworldviewinverse Float4x4 Joint inverse world-view matrix.
Jointworldviewinversetranspose Float4x4 Joint transposed, inverse world-view matrix.
Jointworldviewprojection Float4x4 Joint world-view-projection matrix.
Jointworldviewprojectioninverse Float4x4 Joint inverse world-view-projection matrix.
Jointworldviewprojectioninversetranspose Float4x4 Joint transposed, inverse world-view-projection matrix.
Lasttime Float1 Last simulation time.
Normal 3 or 4 component numeric or texture Surface Normal Vector.
Opacity Float1, float2, float3, float4, or texture Object opacity. can be a single value or a per-component value.
Position Float4 Xyzw position.
Projection Float4x4 Projection Matrix.
Projectioninverse Float4x4 Inverse Projection Matrix.
Projectioninversetranspose Float4x4 Transposed, Inverse Projection Matrix.
Random Numeric Random numbers.
Refraction Float1, float2, float3, float4, or texture Refraction value for an environment map. can be a single value or a per-component value.
Rendercolortarget Texture Rendertarget surface.
Renderdepthstenciltarget Texture Depth/stencel surface.
Rendertargetclipping 4 components Clipping parameters which include: near distance, far distance, width angle (radians), and height angle (radians ).
Rendertargetdimensions 2 component Rendertarget width and height in pixels.
Specular Float4 Specular color.
Specularpower Float1 to float4 Specular power exponent. can be a single value or a per-component value.
Standardsglobal Float1 Standard Annotation Version Number. default value is 0.80. This may appear only once in a script.
Texturematrix Float4x4 Texture coordinate transform matrix.
Time Float Simulation time.
Unitsscale Float Model Scale value.
View Float4x4 View matrix.
Viewinverse Float4x4 Inverse view matrix.
Viewinversetranspose Float4x4 Transposed, inverse view matrix.
Viewprojection Float4x4 View-projection matrix.
Viewprojectioninverse Float4x4 Inverse view-projection matrix.
Viewprojectioninversetranspose Float4x4 Transposed, inverse view-projection matrix.
World Float4x4 World matrix.
Worldinverse Float4x4 Inverse world matrix.
Worldinversetranspose Float4x4 Transposed, inverse world matrix.
Worldview Float4x4 Transposed, inverse world-view matrix.
Worldviewinverse Float4x4 Inverse world-view matrix.
Worldviewinversetranspose Float4x4 Transposed, inverse world-view matrix.
Worldviewprojection Float4x4 World-view-projection matrix.
Worldviewprojectioninverse Float4x4 Inverse world-view-projection matrix.
Worldviewprojectioninversetranspose Float4x4 Transposed, inverse world-view-projection matrix.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.