Last updated

API / geotoolkit / webgl / Texture / Texture

Namespace: Texture

webgl.Texture.Texture

Table of contents

Type Aliases

Contents

Type Aliases

Attributes

Ƭ Attributes: Object

The attributes

Type declaration

NameTypeDescription
flipybooleanwhether to flip the texture along the vertical axis
formatnumber | GLenumdefine the format of texel data
idnumbertexture id
imageHTMLImageElement | HTMLCanvasElement | ArrayBufferViewpixel source for texture
magfilternumber | GLenumdefine how the texture is sampled when a texel covers more than a pixel
minfilternumber | GLenumdefine how the texture is sampled when a texel covers less than a pixel
namestringtexture name
typenumber | GLenumdefine the data type of texel data
wrapsnumber | GLenumdefine how the texture is wrapped horizontally in UV mapping
wraptnumber | GLenumdefine how the texture is wrapped vertically in UV mapping

GLenum

Ƭ GLenum: number


Options

Ƭ Options: Object

The options for texture

Type declaration

NameTypeDescription
flipy?booleanwhether to flip the texture along the vertical axis
format?number | GLenumdefine the format of texel data
image?HTMLImageElement | HTMLCanvasElement | ArrayBufferViewpixel source for texture
magfilter?number | GLenumdefine how the texture is sampled when a texel covers more than a pixel
minfilter?number | GLenumdefine how the texture is sampled when a texel covers less than a pixel
name?stringtexture name
type?number | GLenumdefine the data type of texel data
wraps?number | GLenumdefine how the texture is wrapped horizontally in UV mapping
wrapt?number | GLenumdefine how the texture is wrapped vertically in UV mapping