MCPcopy Create free account
hub / github.com/carbonengine/trinity / StaticSampler

Class StaticSampler

shadercompiler/python/shadercompiler/effectinfo.py:243–260  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

241
242
243class StaticSampler(object):
244 def __init__(self, stream):
245 self.register_index = stream.read_uint32()
246 self.register_space = stream.read_uint8()
247
248 self.is_comparison = stream.read_uint8() != 0
249 self.min_filter = stream.read_uint8()
250 self.max_filter = stream.read_uint8()
251 self.mip_filter = stream.read_uint8()
252 self.address_u = stream.read_uint8()
253 self.address_v = stream.read_uint8()
254 self.address_w = stream.read_uint8()
255 self.mip_lod_bias = stream.read_float()
256 self.max_anisotropy = stream.read_uint8()
257 self.comparison_func = stream.read_uint8()
258 self.border_color = stream.read_uint8()
259 self.min_lod = stream.read_float()
260 self.max_lod = stream.read_float()
261
262
263class LibraryInput(object):

Callers 2

__init__Method · 0.70
__init__Method · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected