 | Texture Constructor |
Creates a texture.
Namespace:
Ooogles
Assembly:
Ooogles (in Ooogles.dll) Version: 1.0.0.0 (1.0.0.0)
Syntaxpublic Texture(
TextureType type = TextureType.TwoD
)
Public Sub New (
Optional type As TextureType = TextureType.TwoD
)
public:
Texture(
TextureType type = TextureType::TwoD
)
new :
?type : TextureType
(* Defaults:
let _type = defaultArg type TextureType.TwoD
*)
-> Texture
Parameters
- type (Optional)
- Type: OooglesTextureType
(optional) type of texture to create. Defaults to a 2D texture.
RemarksOpenGL API: glGenTextures
See Also