Showing content from https://docs.unity3d.com/Manual/sprite/../writing-shader-shader-input.html below:
Unity - Manual: Shader input
Duplicate HLSL in multiple programs
HLSL data types in Unity
Shader input
Resources for inputting and using data in shaderA program that runs on the GPU. More info
See in Glossary programs.
Page Description HLSL data types in Unity Understand how Unity handles some HLSL data types differently to provide better support on mobile platforms. Use 16-bit precision in shaders Use 16-bit precision in GPU calculations, so shaders use less memory, bandwidth, and power, and calculations are faster. Input vertex data into a shader Use a built-in data structure as input for vertex shadersA program that runs on each vertex of a 3D model when the model is being rendered. More info
See in Glossary, or input a custom vertex structure. Texture samplers Understand using separate textures and samplers, or inline sampler states. Additional resources
Duplicate HLSL in multiple programs
HLSL data types in Unity
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4