소스 검색

docs: Fix Rendering Graphics documentation

nixflorp 1 개월 전
부모
커밋
671fb57daf
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      docs/sphinx/graphics.rst

+ 2 - 2
docs/sphinx/graphics.rst

@@ -265,8 +265,8 @@ would be used:
    uniform texture2d image;
 
    struct VertInOut {
-           float4 my_position : POSITION;
-           float2 my_texcoord : TEXCOORD0;
+           float4 pos : POSITION;
+           float2 uv : TEXCOORD0;
    };
 
    VertInOut MyVertexShaderFunc(VertInOut vert_in)