GL.GetAttribLocation Method (OpenTK.Graphics.ES20)
文章推薦指數: 80 %
GetAttribLocation(UInt32, String). Important. This API is not CLS-compliant. C# 複製.
跳到主要內容
已不再支援此瀏覽器。
請升級至MicrosoftEdge,以利用最新功能、安全性更新和技術支援。
下載MicrosoftEdge
其他資訊
目錄
結束焦點模式
語言
閱讀英文
儲存
目錄
閱讀英文
儲存
編輯
Twitter
LinkedIn
Facebook
電子郵件
目錄
GL.GetAttribLocationMethod
Reference
Isthispagehelpful?
Yes
No
Anyadditionalfeedback?
FeedbackwillbesenttoMicrosoft:Bypressingthesubmitbutton,yourfeedbackwillbeusedtoimproveMicrosoftproductsandservices.Privacypolicy.
Submit
Thankyou.
Definition
Namespace:
OpenTK.Graphics.ES20
Assembly:OpenTK-1.0.dll
Important
Someinformationrelatestoprereleaseproductthatmaybesubstantiallymodifiedbeforeit’sreleased.Microsoftmakesnowarranties,expressorimplied,withrespecttotheinformationprovidedhere.
Inthisarticle
Overloads
GetAttribLocation(Int32,String)
GetAttribLocation(UInt32,String)
GetAttribLocation(Int32,String)
[OpenTK.AutoGenerated(Category="2.0",EntryPoint="glGetAttribLocation",Version="2.0")]
publicstaticintGetAttribLocation(intprogram,stringname);
staticmemberGetAttribLocation:int*string->int
Parameters
program
Int32
name
String
Returns
Int32
Attributes
AutoGeneratedAttribute
Appliesto
GetAttribLocation(UInt32,String)
Important
ThisAPIisnotCLS-compliant.
[OpenTK.AutoGenerated(Category="2.0",EntryPoint="glGetAttribLocation",Version="2.0")]
[System.CLSCompliant(false)]
publicstaticintGetAttribLocation(uintprogram,stringname);
staticmemberGetAttribLocation:uint32*string->int
Parameters
program
UInt32
name
String
Returns
Int32
Attributes
AutoGeneratedAttribute
CLSCompliantAttribute
Appliesto
本文內容
延伸文章資訊
- 1WebGLRenderingContext.getAttribLocation() - Web APIs
The WebGLRenderingContext.getAttribLocation() method of the WebGL API returns the location of an ...
- 2WebGLRenderingContext.getAttribLocation() - Web API 接口 ...
WebGLRenderingContext.getAttribLocation() 方法返回了给定WebGLProgram对象中某属性的下标指向位置。
- 3WebGLRenderingContext.getAttribLocation() - Web APIs | MDN
The WebGLRenderingContext.getAttribLocation() method of the WebGL API returns the location of an ...
- 4GL.GetAttribLocation Method (OpenTK.Graphics.ES20)
GetAttribLocation(UInt32, String). Important. This API is not CLS-compliant. C# 複製.
- 5[Day5] WebGL 修羅道(2) - 資料傳遞 - iT 邦幫忙
getAttribLocation 方法,可以拿到shader 中的變數。 而傳入值的話,則是使用 gl. ... getAttribLocation(program, "position");...