pipeline layout info
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
parent
8aed199e3c
commit
c4e9ba2ae4
|
@ -0,0 +1,19 @@
|
|||
---
|
||||
title: "GraphicsPipelineLayoutInfo"
|
||||
date: 2021-01-27T15:04:37-08:00
|
||||
weight: 3
|
||||
---
|
||||
|
||||
You finally get a bit of a break for now, because this one is easy.
|
||||
|
||||
`GraphicsPipelineLayoutInfo` just tells the graphics pipeline how many shaders you will be sampling in each shader stage.
|
||||
|
||||
```cs
|
||||
var myPipelineLayoutInfo = new GraphicsPipelineLayoutInfo
|
||||
{
|
||||
VertexSamplerBindingCount = 1,
|
||||
FragmentSamplerBindingCount = 3
|
||||
};
|
||||
```
|
||||
|
||||
With this example, we are telling our graphics pipeline that our vertex shader will be sampling one texture and our fragment shader will be sampling three textures.
|
Loading…
Reference in New Issue