Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Defines a vertex shader and the input element description to define the input layout. The combination is used to allow a custom vertex effect to create a custom vertex shader and pass it a custom layout.
Syntax
typedef struct D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES {
  const BYTE                    *shaderBufferWithInputSignature;
  UINT32                        shaderBufferSize;
  const D2D1_INPUT_ELEMENT_DESC *inputElements;
  UINT32                        elementCount;
  UINT32                        stride;
} D2D1_CUSTOM_VERTEX_BUFFER_PROPERTIES;
Members
shaderBufferWithInputSignature
A pointer to the buffer.
shaderBufferSize
The size of the buffer.
inputElements
An array of input assembler stage data types.
elementCount
The number of input elements in the vertex shader.
stride
The vertex stride.
Remarks
The vertex shader will be loaded by the CreateVertexBuffer call that accepts the vertex buffer properties.
This structure does not need to be specified if one of the standard vertex shaders is used.
Requirements
| Requirement | Value | 
|---|---|
| Minimum supported client | Windows 8 and Platform Update for Windows 7 [desktop apps | UWP apps] | 
| Minimum supported server | Windows Server 2012 and Platform Update for Windows Server 2008 R2 [desktop apps | UWP apps] | 
| Header | d2d1effectauthor.h |