cuda.bindings._v2.driver.TexRefFlags#

class cuda.bindings._v2.driver.TexRefFlags(value: int)#

Flags for tex_ref_set_flags (CU_TRSF_*).

READ_AS_INTEGER: 1

Read the texture as integers rather than promoting the values to floats in the range [0,1]. Flag for cuTexRefSetFlags() and cuTexObjectCreate()

NORMALIZED_COORDINATES: 2

Use normalized texture coordinates in the range [0,1) instead of [0,dim). Flag for cuTexRefSetFlags() and cuTexObjectCreate()

SRGB: 16

Perform sRGB->linear conversion during texture read. Flag for cuTexRefSetFlags() and cuTexObjectCreate()

DISABLE_TRILINEAR_OPTIMIZATION: 32

Disable any trilinear filtering optimizations. Flag for cuTexRefSetFlags() and cuTexObjectCreate()

SEAMLESS_CUBEMAP: 64

Enable seamless cube map filtering. Flag for cuTexObjectCreate()